From b4dc6b8845de01a982879ff7f315b958edaa32fd Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 3 Oct 2018 13:40:21 +0200 Subject: Add info message for promoted global nets Signed-off-by: Clifford Wolf --- ice40/pack.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ice40/pack.cc') diff --git a/ice40/pack.cc b/ice40/pack.cc index 3c9112a0..edd12f92 100644 --- a/ice40/pack.cc +++ b/ice40/pack.cc @@ -462,6 +462,8 @@ static bool is_logic_port(BaseCtx *ctx, const PortRef &port) static void insert_global(Context *ctx, NetInfo *net, bool is_reset, bool is_cen, bool is_logic) { + log_info("promoting %s%s%s%s\n", net->name.c_str(ctx), is_reset ? " [reset]" : "", is_cen ? " [cen]" : "", is_logic ? " [logic]" : ""); + std::string glb_name = net->name.str(ctx) + std::string("_$glb_") + (is_reset ? "sr" : (is_cen ? "ce" : "clk")); std::unique_ptr gb = create_ice_cell(ctx, ctx->id("SB_GB"), "$gbuf_" + glb_name); gb->ports[ctx->id("USER_SIGNAL_TO_GLOBAL_BUFFER")].net = net; -- cgit v1.2.3