4 This file contains analog / mixed signal cells, or other things that are not possible to fully model
7 It also contains some stuff like oscillators that use non-synthesizeable constructs such as delays.
8 TODO: do we want a third file for those cells?
11 module GP_ABUF(input wire IN, output wire OUT);
15 //must be 1, 5, 20, 50
16 //values >1 only available with Vdd > 2.7V
17 parameter BANDWIDTH_KHZ = 1;
21 module GP_ACMP(input wire PWREN, input wire VIN, input wire VREF, output reg OUT);
23 parameter BANDWIDTH = "HIGH";
24 parameter VIN_ATTEN = 1;
25 parameter VIN_ISRC_EN = 0;
26 parameter HYSTERESIS = 0;
32 module GP_BANDGAP(output reg OK);
33 parameter AUTO_PWRDN = 1;
34 parameter CHOPPER_EN = 1;
35 parameter OUT_DELAY = 100;
39 module GP_DAC(input[7:0] DIN, input wire VREF, output reg VOUT);
43 //analog hard IP is not supported for simulation
47 module GP_LFOSC(input PWRDN, output reg CLKOUT);
49 parameter PWRDN_EN = 0;
50 parameter AUTO_PWRDN = 0;
51 parameter OUT_DIV = 1;
55 //auto powerdown not implemented for simulation
56 //output dividers not implemented for simulation
62 //half period of 1730 Hz
70 module GP_PGA(input wire VIN_P, input wire VIN_N, input wire VIN_SEL, output reg VOUT);
73 parameter INPUT_MODE = "SINGLE";
77 //cannot simulate mixed signal IP
81 module GP_PWRDET(output reg VDD_LOW);
85 module GP_VREF(input VIN, output reg VOUT);
86 parameter VIN_DIV = 1;
88 //cannot simulate mixed signal IP
91 module GP_POR(output reg RST_DONE);
92 parameter POR_TIME = 500;
99 else if(POR_TIME == 500)
102 $display("ERROR: bad POR_TIME for GP_POR cell");