aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tristan.gingold@cern.ch>2021-11-25 09:22:24 +0100
committerTristan Gingold <tristan.gingold@cern.ch>2022-08-31 08:40:43 +0200
commit1c0119aa909025458c5f2637e172fe91d534a237 (patch)
treeba3d17c5b5dd006e9cb2f29d24708af2750a49a5
parent4543751a773c770e444ab3c6acc586f6a9b4a510 (diff)
downloadyosys-1c0119aa909025458c5f2637e172fe91d534a237.tar.gz
yosys-1c0119aa909025458c5f2637e172fe91d534a237.tar.bz2
yosys-1c0119aa909025458c5f2637e172fe91d534a237.zip
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.
-rw-r--r--techlibs/sf2/cells_sim.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/techlibs/sf2/cells_sim.v b/techlibs/sf2/cells_sim.v
index 4b57bad7b..6fc6ba391 100644
--- a/techlibs/sf2/cells_sim.v
+++ b/techlibs/sf2/cells_sim.v
@@ -333,6 +333,7 @@ module BIBUF (
inout PAD,
output Y
);
+ parameter IOSTD = "";
assign PAD = E ? D : 1'bz;
assign Y = PAD;
endmodule
@@ -347,6 +348,7 @@ module BIBUF_DIFF (
inout PADN,
output Y
);
+ parameter IOSTD = "";
endmodule
module CLKBIBUF (
@@ -357,6 +359,7 @@ module CLKBIBUF (
(* clkbuf_driver *)
output Y
);
+ parameter IOSTD = "";
assign PAD = E ? D : 1'bz;
assign Y = PAD;
endmodule
@@ -367,6 +370,7 @@ module CLKBUF (
(* clkbuf_driver *)
output Y
);
+ parameter IOSTD = "";
assign Y = PAD;
endmodule
@@ -379,6 +383,7 @@ module CLKBUF_DIFF (
(* clkbuf_driver *)
output Y
);
+ parameter IOSTD = "";
endmodule
module INBUF (
@@ -386,6 +391,7 @@ module INBUF (
input PAD,
output Y
);
+ parameter IOSTD = "";
assign Y = PAD;
endmodule
@@ -397,6 +403,7 @@ module INBUF_DIFF (
input PADN,
output Y
);
+ parameter IOSTD = "";
endmodule
module OUTBUF (
@@ -404,6 +411,7 @@ module OUTBUF (
(* iopad_external_pin *)
output PAD
);
+ parameter IOSTD = "";
assign PAD = D;
endmodule
@@ -415,6 +423,7 @@ module OUTBUF_DIFF (
(* iopad_external_pin *)
output PADN
);
+ parameter IOSTD = "";
endmodule
module TRIBUFF (
@@ -423,6 +432,7 @@ module TRIBUFF (
(* iopad_external_pin *)
output PAD
);
+ parameter IOSTD = "";
assign PAD = E ? D : 1'bz;
endmodule
@@ -435,6 +445,7 @@ module TRIBUFF_DIFF (
(* iopad_external_pin *)
output PADN
);
+ parameter IOSTD = "";
endmodule
// module DDR_IN