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
|
||||
output Y // Data input
|
||||
);
|
||||
// Assume a 4x buf is enough to drive the global routing
|
||||
sky130_fd_sc_hd__buf_4 in_buf (
|
||||
.A (A),
|
||||
.X (Y) );
|
||||
assign Y = A;
|
||||
endmodule
|
||||
|
||||
//-----------------------------------------------------
|
||||
|
@ -37,10 +34,7 @@ module GPOUT (
|
|||
inout Y, // External PAD signal
|
||||
input A // Data output
|
||||
);
|
||||
// Assume a 4x buf is enough to drive the block outside FPGA
|
||||
sky130_fd_sc_hd__buf_4 in_buf (
|
||||
.A (A),
|
||||
.X (Y) );
|
||||
assign Y = A;
|
||||
endmodule
|
||||
|
||||
//-----------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue