Skip to content

Commit 4d0a6da

Browse files
committed
Merge pull request YosysHQ#108 from cseed/master
Added LO to ICESTORM_LC for LUT cascade route.
2 parents 1ea6db3 + 9f5b6e4 commit 4d0a6da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

techlibs/ice40/cells_sim.v

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ endmodule
661661

662662
module ICESTORM_LC (
663663
input I0, I1, I2, I3, CIN, CLK, CEN, SR,
664-
output O, COUT
664+
output LO, O, COUT
665665
);
666666
parameter [15:0] LUT_INIT = 0;
667667

@@ -678,6 +678,8 @@ module ICESTORM_LC (
678678
wire [1:0] lut_s1 = I1 ? lut_s2[ 3:2] : lut_s2[1:0];
679679
wire lut_o = I0 ? lut_s1[ 1] : lut_s1[ 0];
680680

681+
assign LO = lut_o;
682+
681683
wire polarized_clk;
682684
assign polarized_clk = CLK ^ NEG_CLK;
683685

0 commit comments

Comments
 (0)