Skip to content

Commit

Permalink
fix for iverilog
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Feb 7, 2024
1 parent 35858b9 commit 68b7699
Showing 1 changed file with 31 additions and 9 deletions.
40 changes: 31 additions & 9 deletions techlibs/nanoxplore/cells_sim.v
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68b7699

Please sign in to comment.