Initial commit

This commit is contained in:
muellerlu
2026-05-29 10:19:13 +02:00
commit fedfd92270
726 changed files with 542654 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
module IOBUF (
input I, T,
inout IO,
output O
);
PADBID U1 ( .I(I), .OEN(T), .PAD(IO), .C(O) );
endmodule
+10
View File
@@ -0,0 +1,10 @@
module OBUFT (
input I, T,
output O
);
PAD U1 ( .IN_PORT(I), .SELECT(T), .INOUT_PORT(O), .OUT_PORT() );
endmodule
+60
View File
@@ -0,0 +1,60 @@
module IDDR2 #(
parameter DDR_ALIGNMENT = "NONE",
parameter INIT_Q0 = 1'b0,
parameter INIT_Q1 = 1'b0,
parameter SRTYPE = "SYNC"
)
(Q0, Q1, C0, C1, CE, D, R, S);
output reg Q0;
output reg Q1;
input C0;
input C1;
input CE;
input D;
input R;
input S;
always @(posedge C0 or posedge R ) begin
if (R)
Q0 <= 1'b0;
else
if (CE)
Q0 <= D;
end
always @(posedge C1 or posedge R ) begin
if (R)
Q1 <= 1'b0;
else
if (CE)
Q1 <= D;
end
endmodule // IDDR2
module ODDR2 #(
parameter DDR_ALIGNMENT = "NONE",
parameter INIT = 1'b0,
parameter SRTYPE = "SYNC"
)(Q, C0, C1, CE, D0, D1, R, S);
output Q;
input C0;
input C1;
input CE;
input D0;
input D1;
input R;
input S;
wire data_0, data_1;
assign data_0 = ( C0 && CE ) ? D0 : 1'b0;
assign data_1 = ( C1 && CE ) ? D1 : 1'b0;
assign Q = data_0 || data_1;
endmodule // ODDR2
+23
View File
@@ -0,0 +1,23 @@
module IOBUF (
input I, T,
inout IO,
output O
);
PADBID U1 ( .I(I), .OEN(T), .PAD(IO), .C(O) );
endmodule
module OBUFT (
input I, T,
output O
);
PADBID U1 ( .I(I), .OEN(T), .PAD(IO), .C() );
endmodule