end
endmodule
+module GP_IBUF(input IN, output OUT);
+ assign OUT = IN;
+endmodule
+
+module GP_IOBUF(input IN, input DIR, output OUT, inout IO);
+ assign IN = IO;
+ assign DIR = OE ? OUT : 1'bz;
+endmodule
+
module GP_INV(input IN, output OUT);
assign OUT = ~IN;
endmodule
endmodule
+module GP_OBUF(input IN, output OUT);
+ assign OUT = IN;
+endmodule
+
+module GP_OBUFT(input IN, input OE, output OUT);
+ assign OUT = OE ? IN : 1'bz;
+endmodule
+
module GP_PGA(input wire VIN_P, input wire VIN_N, input wire VIN_SEL, output reg VOUT);
parameter GAIN = 1;