projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27c150b
)
Wrap arrival functions inside `YOSYS too
author
Eddie Hung
<eddie@fpgeh.com>
Mon, 6 Jan 2020 19:55:56 +0000
(11:55 -0800)
committer
Eddie Hung
<eddie@fpgeh.com>
Mon, 6 Jan 2020 19:55:56 +0000
(11:55 -0800)
techlibs/xilinx/cells_sim.v
patch
|
blob
|
history
diff --git
a/techlibs/xilinx/cells_sim.v
b/techlibs/xilinx/cells_sim.v
index 5e4529fd64956966d074ce1f485c243e041f0000..1cd4d2f30bfd6a61fae1d5b3bfea8050c77805f1 100644
(file)
--- a/
techlibs/xilinx/cells_sim.v
+++ b/
techlibs/xilinx/cells_sim.v
@@
-2241,6
+2241,7
@@
module DSP48E1 (
parameter [4:0] IS_INMODE_INVERTED = 5'b0;
parameter [6:0] IS_OPMODE_INVERTED = 7'b0;
+`ifdef YOSYS
function integer \DSP48E1.P_arrival ;
begin
\DSP48E1.P_arrival = 0;
@@
-2309,6
+2310,7
@@
module DSP48E1 (
// $error("Invalid DSP48E1 configuration");
end
endfunction
+`endif
initial begin
`ifndef YOSYS