mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
fhdl/specials/Instance: _printintbool -> verilog_printexpr
This commit is contained in:
parent
c2d54f481f
commit
55ab01f928
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue