diff options
-rw-r--r-- | techlibs/greenpak4/cells_sim.v | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/techlibs/greenpak4/cells_sim.v b/techlibs/greenpak4/cells_sim.v index e6b5db750..586b7a9b8 100644 --- a/techlibs/greenpak4/cells_sim.v +++ b/techlibs/greenpak4/cells_sim.v @@ -13,7 +13,7 @@ module GP_4LUT(input IN0, IN1, IN2, IN3, output OUT); assign OUT = INIT[{IN3, IN2, IN1, IN0}]; endmodule -module GP_ACMP(input wire PWREN, input wire VIN, input wire VREF, output reg VOUT = 0); +module GP_ACMP(input wire PWREN, input wire VIN, input wire VREF, output reg OUT); parameter BANDWIDTH = "HIGH"; parameter VIN_BUF_EN = 0; @@ -21,6 +21,8 @@ module GP_ACMP(input wire PWREN, input wire VIN, input wire VREF, output reg VOU parameter VIN_ISRC_EN = 0; parameter HYSTERESIS = 0; + initial OUT = 0; + //cannot simulate mixed signal IP endmodule |