From: Sebastien Bourdeauducq Date: Sun, 24 Feb 2013 12:08:01 +0000 (+0100) Subject: fhdl/specials/Instance: _printintbool -> verilog_printexpr X-Git-Tag: 24jan2021_ls180~2099^2~685 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55ab01f928a6d531d5576853e808563fd5ed0582;p=litex.git fhdl/specials/Instance: _printintbool -> verilog_printexpr --- diff --git a/migen/fhdl/specials.py b/migen/fhdl/specials.py index 981b2bd4..9d443aba 100644 --- a/migen/fhdl/specials.py +++ b/migen/fhdl/specials.py @@ -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):