Skip to content

Commit 55ab01f

Browse files
author
Sebastien Bourdeauducq
committedFeb 24, 2013
fhdl/specials/Instance: _printintbool -> verilog_printexpr
1 parent c2d54f4 commit 55ab01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎migen/fhdl/specials.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def emit_verilog(instance, ns, clock_domains):
127127
firstp = False
128128
r += "\t." + p.name + "("
129129
if isinstance(p.value, (int, bool)):
130-
r += _printintbool(p.value)[0]
130+
r += verilog_printexpr(ns, p.value)[0]
131131
elif isinstance(p.value, float):
132132
r += str(p.value)
133133
elif isinstance(p.value, str):

0 commit comments

Comments
 (0)
Please sign in to comment.