projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef17ee
)
Fixed a type in $mem model in simlib.v
author
Clifford Wolf
<clifford@clifford.at>
Sat, 18 Jan 2014 17:54:50 +0000
(18:54 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 18 Jan 2014 17:54:50 +0000
(18:54 +0100)
techlibs/common/simlib.v
patch
|
blob
|
history
diff --git
a/techlibs/common/simlib.v
b/techlibs/common/simlib.v
index f3d652f0e06d7fbc54134e8109dff70916380802..321119e37ed1380f825a866a17b006f03b61dcf4 100644
(file)
--- a/
techlibs/common/simlib.v
+++ b/
techlibs/common/simlib.v
@@
-1036,7
+1036,7
@@
generate
end
end
end else
- if (
RD
_CLK_POLARITY[i] == 1) begin:rd_posclk
+ if (
WR
_CLK_POLARITY[i] == 1) begin:rd_posclk
always @(posedge WR_CLK[i])
if (WR_EN[i]) begin
data[ WR_ADDR[ (i+1)*ABITS-1 : i*ABITS ] - OFFSET ] <= WR_DATA[ (i+1)*WIDTH-1 : i*WIDTH ];