gowin: Add support for true differential output

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit 2022-02-23 16:11:47 +10:00 committed by Marcelina Kościelnicka
parent a41c1df76f
commit 9b3cd4f0d8
1 changed files with 11 additions and 0 deletions

View File

@ -570,12 +570,14 @@ module OBUF(output O, input I);
assign O = I;
endmodule
(* abc9_box *)
module TBUF (O, I, OEN);
input I, OEN;
output O;
assign O = OEN ? 1'bz : I;
endmodule
(* abc9_box *)
module IOBUF (O, IO, I, OEN);
input I,OEN;
output O;
@ -584,6 +586,15 @@ module IOBUF (O, IO, I, OEN);
assign I = IO;
endmodule
(* abc9_box *)
module TLVDS_OBUF (I, O, OB);
input I;
output O;
output OB;
assign O = I;
assign OB = ~I;
endmodule
module GSR (input GSRI);
wire GSRO = GSRI;
endmodule