Skip to content

Commit

Permalink
fhdl/specials/Instance: _printintbool -> verilog_printexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Feb 24, 2013
1 parent c2d54f4 commit 55ab01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/fhdl/specials.py
Expand Up @@ -127,7 +127,7 @@ def emit_verilog(instance, ns, clock_domains):
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):
Expand Down

0 comments on commit 55ab01f

Please sign in to comment.