From 708a7d06211ed08ded794b20a6fc9e0b7d01e0e3 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 12 Mar 2016 12:02:22 +0000 Subject: [PATCH] Move some redundant initialisation of bitmasks in synthesis. These are made obsolete by an earlier bugfix. --- synth2.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/synth2.cc b/synth2.cc index 91086870c..b42fc440d 100644 --- a/synth2.cc +++ b/synth2.cc @@ -942,10 +942,6 @@ bool NetCase::synth_async(Design*des, NetScope*scope, ena_mux[mdx] = new NetMux(scope, scope->local_symbol(), 1, mux_size, sel_need); - // Initialise the bitmasks appropriately for calculating - // the intersection of the individual clause bitmasks. - bitmasks[mdx] = mask_t (mux_width[mdx], true); - // Assume a full case to start with. We'll check this as // we synthesise each clause. full_case[mdx] = true; @@ -1311,7 +1307,6 @@ bool NetCondit::synth_async(Design*des, NetScope*scope, continue; } - bitmasks[idx] = mask_t (nex_map[idx].wid, true); merge_parallel_masks(bitmasks[idx], a_masks[idx]); merge_parallel_masks(bitmasks[idx], b_masks[idx]);