mirror of https://github.com/YosysHQ/yosys.git
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;
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue