mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
gowin: Add support for true differential output
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
parent
a41c1df76f
commit
9b3cd4f0d8
|
@ -570,12 +570,14 @@ module OBUF(output O, input I);
|
||||||
assign O = I;
|
assign O = I;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
(* abc9_box *)
|
||||||
module TBUF (O, I, OEN);
|
module TBUF (O, I, OEN);
|
||||||
input I, OEN;
|
input I, OEN;
|
||||||
output O;
|
output O;
|
||||||
assign O = OEN ? 1'bz : I;
|
assign O = OEN ? 1'bz : I;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
(* abc9_box *)
|
||||||
module IOBUF (O, IO, I, OEN);
|
module IOBUF (O, IO, I, OEN);
|
||||||
input I,OEN;
|
input I,OEN;
|
||||||
output O;
|
output O;
|
||||||
|
@ -584,6 +586,15 @@ module IOBUF (O, IO, I, OEN);
|
||||||
assign I = IO;
|
assign I = IO;
|
||||||
endmodule
|
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);
|
module GSR (input GSRI);
|
||||||
wire GSRO = GSRI;
|
wire GSRO = GSRI;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
Loading…
Reference in a new issue