From 55ab01f928a6d531d5576853e808563fd5ed0582 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 24 Feb 2013 13:08:01 +0100 Subject: [PATCH] fhdl/specials/Instance: _printintbool -> verilog_printexpr --- migen/fhdl/specials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.30.2