From c3c2983d12ce3b1ed6d7e025eb6b5141f3ed9b40 Mon Sep 17 00:00:00 2001 From: Andrew Zonenberg Date: Sun, 11 Dec 2016 10:04:00 +0800 Subject: [PATCH] Added GP_PWRDET block, BANDWIDTH_KHZ parameter to GP_ABUF --- techlibs/greenpak4/cells_sim.v | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/techlibs/greenpak4/cells_sim.v b/techlibs/greenpak4/cells_sim.v index ca3e6cdbf..1b899e8e8 100644 --- a/techlibs/greenpak4/cells_sim.v +++ b/techlibs/greenpak4/cells_sim.v @@ -18,7 +18,11 @@ endmodule module GP_ABUF(input wire IN, output wire OUT); assign OUT = IN; - + + //must be 1, 5, 20, 50 + //values >1 only available with Vdd > 2.7V + parameter BANDWIDTH_KHZ = 1; + //cannot simulate mixed signal IP endmodule @@ -412,6 +416,10 @@ module GP_PGEN(input wire nRST, input wire CLK, output reg OUT); endmodule +module GP_PWRDET(output reg VDD_LOW); + initial VDD_LOW = 0; +endmodule + module GP_POR(output reg RST_DONE); parameter POR_TIME = 500; -- 2.30.2