ice40: fix ICESTORM_LC process sensitivity
authorEddie Hung <eddie@fpgeh.com>
Tue, 12 May 2020 22:40:48 +0000 (15:40 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 12 May 2020 22:40:48 +0000 (15:40 -0700)
techlibs/ice40/cells_sim.v

index 6a0e3031e9c051dd7e39d9ce9f93ad59ca508c6d..5d107989d7f31587d473c4f7888e571efc0d639a 100644 (file)
@@ -1908,7 +1908,7 @@ module ICESTORM_LC (
                        o_reg <= SR_pd ? SET_NORESET : lut_o;
 
        reg o_reg_async = 1'b0;
-       always @(posedge polarized_clk, posedge SR)
+       always @(posedge polarized_clk, posedge SR_pd)
                if (SR_pd)
                        o_reg_async <= SET_NORESET;
                else if (CEN_pu)