From 7bf623a0c75453bedd4922321226f67c087e2d46 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 24 Jul 2024 13:34:41 +0200 Subject: [PATCH] Fix simulation model warnings --- techlibs/nanoxplore/cells_sim_u.v | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/techlibs/nanoxplore/cells_sim_u.v b/techlibs/nanoxplore/cells_sim_u.v index af46b24b0..0456a4691 100644 --- a/techlibs/nanoxplore/cells_sim_u.v +++ b/techlibs/nanoxplore/cells_sim_u.v @@ -181,19 +181,19 @@ module NX_RFB_U(WCK, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14 I9, I8, I7, I6, I5, I4, I3, I2, I1 }; generate if (mode==0) begin - assign O[17:0] = mem[{ RA5, RA4, RA3, RA2, RA1 }]; + assign O = mem[{ RA5, RA4, RA3, RA2, RA1 }]; end else if (mode==1) begin - assign O[17:0] = mem[{ WA5, WA4, WA3, WA2, WA1 }]; + assign O = mem[{ WA5, WA4, WA3, WA2, WA1 }]; end else if (mode==2) begin - assign O[17:0] = mem[{ RA6, RA5, RA4, RA3, RA2, RA1 }]; + assign O = mem[{ RA6, RA5, RA4, RA3, RA2, RA1 }]; end else if (mode==3) begin - assign O[35:0] = mem[{ RA5, RA4, RA3, RA2, RA1 }]; + assign O = mem[{ RA5, RA4, RA3, RA2, RA1 }]; end else if (mode==4) begin - assign O[35:0] = { mem[{ RA10, RA9, RA8, RA7, RA6 }], mem[{ RA5, RA4, RA3, RA2, RA1 }] }; + assign O = { mem[{ RA10, RA9, RA8, RA7, RA6 }], mem[{ RA5, RA4, RA3, RA2, RA1 }] }; end else $error("Unknown NX_RFB_U mode");