sf2/cells_sim.v: add IOSTD parameter to I/O cells

This parameter is set by LiberoSoc IPs, so it is needed to avoid
errors when using those IPs.
This commit is contained in:
Tristan Gingold 2021-11-25 09:22:24 +01:00
parent 4543751a77
commit 1c0119aa90
1 changed files with 11 additions and 0 deletions

View File

@ -333,6 +333,7 @@ module BIBUF (
inout PAD, inout PAD,
output Y output Y
); );
parameter IOSTD = "";
assign PAD = E ? D : 1'bz; assign PAD = E ? D : 1'bz;
assign Y = PAD; assign Y = PAD;
endmodule endmodule
@ -347,6 +348,7 @@ module BIBUF_DIFF (
inout PADN, inout PADN,
output Y output Y
); );
parameter IOSTD = "";
endmodule endmodule
module CLKBIBUF ( module CLKBIBUF (
@ -357,6 +359,7 @@ module CLKBIBUF (
(* clkbuf_driver *) (* clkbuf_driver *)
output Y output Y
); );
parameter IOSTD = "";
assign PAD = E ? D : 1'bz; assign PAD = E ? D : 1'bz;
assign Y = PAD; assign Y = PAD;
endmodule endmodule
@ -367,6 +370,7 @@ module CLKBUF (
(* clkbuf_driver *) (* clkbuf_driver *)
output Y output Y
); );
parameter IOSTD = "";
assign Y = PAD; assign Y = PAD;
endmodule endmodule
@ -379,6 +383,7 @@ module CLKBUF_DIFF (
(* clkbuf_driver *) (* clkbuf_driver *)
output Y output Y
); );
parameter IOSTD = "";
endmodule endmodule
module INBUF ( module INBUF (
@ -386,6 +391,7 @@ module INBUF (
input PAD, input PAD,
output Y output Y
); );
parameter IOSTD = "";
assign Y = PAD; assign Y = PAD;
endmodule endmodule
@ -397,6 +403,7 @@ module INBUF_DIFF (
input PADN, input PADN,
output Y output Y
); );
parameter IOSTD = "";
endmodule endmodule
module OUTBUF ( module OUTBUF (
@ -404,6 +411,7 @@ module OUTBUF (
(* iopad_external_pin *) (* iopad_external_pin *)
output PAD output PAD
); );
parameter IOSTD = "";
assign PAD = D; assign PAD = D;
endmodule endmodule
@ -415,6 +423,7 @@ module OUTBUF_DIFF (
(* iopad_external_pin *) (* iopad_external_pin *)
output PADN output PADN
); );
parameter IOSTD = "";
endmodule endmodule
module TRIBUFF ( module TRIBUFF (
@ -423,6 +432,7 @@ module TRIBUFF (
(* iopad_external_pin *) (* iopad_external_pin *)
output PAD output PAD
); );
parameter IOSTD = "";
assign PAD = E ? D : 1'bz; assign PAD = E ? D : 1'bz;
endmodule endmodule
@ -435,6 +445,7 @@ module TRIBUFF_DIFF (
(* iopad_external_pin *) (* iopad_external_pin *)
output PADN output PADN
); );
parameter IOSTD = "";
endmodule endmodule
// module DDR_IN // module DDR_IN