mirror of https://github.com/lnis-uofu/SOFA.git
[HDL] Digital I/O of embedded FPGA is now lib independent
This commit is contained in:
parent
be33082faf
commit
80655c5869
|
@ -24,10 +24,7 @@ module GPIN (
|
||||||
inout A, // External PAD signal
|
inout A, // External PAD signal
|
||||||
output Y // Data input
|
output Y // Data input
|
||||||
);
|
);
|
||||||
// Assume a 4x buf is enough to drive the global routing
|
assign Y = A;
|
||||||
sky130_fd_sc_hd__buf_4 in_buf (
|
|
||||||
.A (A),
|
|
||||||
.X (Y) );
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
//-----------------------------------------------------
|
//-----------------------------------------------------
|
||||||
|
@ -37,10 +34,7 @@ module GPOUT (
|
||||||
inout Y, // External PAD signal
|
inout Y, // External PAD signal
|
||||||
input A // Data output
|
input A // Data output
|
||||||
);
|
);
|
||||||
// Assume a 4x buf is enough to drive the block outside FPGA
|
assign Y = A;
|
||||||
sky130_fd_sc_hd__buf_4 in_buf (
|
|
||||||
.A (A),
|
|
||||||
.X (Y) );
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
//-----------------------------------------------------
|
//-----------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue