diff options
author | Cotton Seed <cotton@alum.mit.edu> | 2015-12-06 17:24:48 -0500 |
---|---|---|
committer | Cotton Seed <cotton@alum.mit.edu> | 2015-12-06 17:24:48 -0500 |
commit | 9f5b6e4cbc4da0b3ae6429b03097532de3bf4c60 (patch) | |
tree | ea7135b876fbed4e692c66d325b9d9bb74e5c230 /techlibs | |
parent | 8eebb67049e4cf5670bb98a5cb84e543cc9948e3 (diff) | |
download | yosys-9f5b6e4cbc4da0b3ae6429b03097532de3bf4c60.tar.gz yosys-9f5b6e4cbc4da0b3ae6429b03097532de3bf4c60.tar.bz2 yosys-9f5b6e4cbc4da0b3ae6429b03097532de3bf4c60.zip |
Added LO to ICESTORM_LC for LUT cascade route.
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/ice40/cells_sim.v | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/techlibs/ice40/cells_sim.v b/techlibs/ice40/cells_sim.v index 17b6be9ce..f94040245 100644 --- a/techlibs/ice40/cells_sim.v +++ b/techlibs/ice40/cells_sim.v @@ -661,7 +661,7 @@ endmodule module ICESTORM_LC ( input I0, I1, I2, I3, CIN, CLK, CEN, SR, - output O, COUT + output LO, O, COUT ); parameter [15:0] LUT_INIT = 0; @@ -678,6 +678,8 @@ module ICESTORM_LC ( wire [1:0] lut_s1 = I1 ? lut_s2[ 3:2] : lut_s2[1:0]; wire lut_o = I0 ? lut_s1[ 1] : lut_s1[ 0]; + assign LO = lut_o; + wire polarized_clk; assign polarized_clk = CLK ^ NEG_CLK; |