From 68b76991a96464b28ae0476a44a6857bb7b98f9f Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 11 Jan 2024 10:44:45 +0100 Subject: [PATCH] fix for iverilog --- techlibs/nanoxplore/cells_sim.v | 40 +++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/techlibs/nanoxplore/cells_sim.v b/techlibs/nanoxplore/cells_sim.v index 3460f680fb7..ec29a06a36a 100644 --- a/techlibs/nanoxplore/cells_sim.v +++ b/techlibs/nanoxplore/cells_sim.v @@ -65,15 +65,37 @@ specify (B3 => CO) = (106, 166); (B4 => CO) = ( 89, 149); (CI => CO) = ( 40, 113); - (A1 *> {S4, S3, S2, S1}) = (314, 325); - (A2 *> {S4, S3, S2}) = (236, 248); - (A3 *> {S4, S3}) = (226, 238); - (A4 => S4) = (166, 179); - (B1 *> {S4, S3, S2, S1}) = (262, 274); - (B2 *> {S4, S3, S2}) = (184, 195); - (B3 *> {S4, S3}) = (156, 166); - (B4 => S4) = (105, 117); - (CI *> {S4, S3, S2, S1}) = (268, 291); + //(A1 *> {S4, S3, S2, S1}) = (314, 325); + (A1 *> S4) = (314, 325); + (A1 *> S3) = (314, 325); + (A1 *> S2) = (314, 325); + (A1 *> S1) = (314, 325); + //(A2 *> {S4, S3, S2}) = (236, 248); + (A2 *> S4) = (236, 248); + (A2 *> S3) = (236, 248); + (A2 *> S2) = (236, 248); + //(A3 *> {S4, S3}) = (226, 238); + (A3 *> S4) = (226, 238); + (A3 *> S3) = (226, 238); + (A4 *> S4) = (166, 179); + //(B1 *> {S4, S3, S2, S1}) = (262, 274); + (B1 *> S4) = (262, 274); + (B1 *> S3) = (262, 274); + (B1 *> S2) = (262, 274); + (B1 *> S1) = (262, 274); + //(B2 *> {S4, S3, S2}) = (184, 195); + (B2 *> S4) = (184, 195); + (B2 *> S3) = (184, 195); + (B2 *> S2) = (184, 195); + //(B3 *> {S4, S3}) = (156, 166); + (B3 *> S4) = (156, 166); + (B3 *> S3) = (156, 166); + (B4 *> S4) = (105, 117); + //(CI *> {S4, S3, S2, S1}) = (268, 291); + (CI *> S4) = (268, 291); + (CI *> S3) = (268, 291); + (CI *> S2) = (268, 291); + (CI *> S1) = (268, 291); endspecify assign {CO, S4, S3, S2, S1} = {A4, A3, A2, A1} + {B4, B3, B2, B1} + CI;