Merge pull request #108 from cseed/master

Added LO to ICESTORM_LC for LUT cascade route.
This commit is contained in:
Clifford Wolf 2015-12-07 03:32:20 +01:00
commit 4d0a6dac7b
1 changed files with 3 additions and 1 deletions

View File

@ -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;