fhdl/specials/Instance: _printintbool -> verilog_printexpr
This commit is contained in:
parent
c2d54f481f
commit
55ab01f928
|
@ -127,7 +127,7 @@ class Instance(Special):
|
|||
firstp = False
|
||||
r += "\t." + p.name + "("
|
||||
if isinstance(p.value, (int, bool)):
|
||||
r += _printintbool(p.value)[0]
|
||||
r += verilog_printexpr(ns, p.value)[0]
|
||||
elif isinstance(p.value, float):
|
||||
r += str(p.value)
|
||||
elif isinstance(p.value, str):
|
||||
|
|
Loading…
Reference in New Issue