diff --git a/VERSION b/VERSION index b4eb26e..2f84fce 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.250 +1.5.251 diff --git a/base/verilog.c b/base/verilog.c index 7aab85e..97ed022 100644 --- a/base/verilog.c +++ b/base/verilog.c @@ -381,6 +381,12 @@ int GetBusTok(struct bus *wb) // Is name in the parameter list? kl = (struct property *)HashLookup(nexttok, &verilogparams); + + if (kl == NULL) { + // Is name in the definitions list? + kl = (struct property *)HashLookup(nexttok, &verilogdefs); + } + if (kl == NULL) { Printf("Array value %s is not a number or a parameter.\n", nexttok);