diff --git a/techlibs/greenpak4/cells_sim.v b/techlibs/greenpak4/cells_sim.v index 554e2e13f..706e955b6 100644 --- a/techlibs/greenpak4/cells_sim.v +++ b/techlibs/greenpak4/cells_sim.v @@ -235,7 +235,7 @@ module GP_SHREG(input nRST, input CLK, input IN, output OUTA, output OUTB); reg[15:0] shreg = 0; - always @(posedge clk, negedge RSTN) begin + always @(posedge clk, negedge nRST) begin if(!nRST) shreg = 0; @@ -263,6 +263,12 @@ module GP_VDD(output OUT); assign OUT = 1; endmodule +module GP_VREF(input VIN, output reg VOUT); + parameter VIN_DIV = 1; + parameter VREF = 0; + //cannot simulate mixed signal IP +endmodule + module GP_VSS(output OUT); assign OUT = 0; endmodule