aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-07-31 10:40:09 +0200
committerClifford Wolf <clifford@clifford.at>2015-07-31 10:40:09 +0200
commit8d6d5c30d9f39ce5b15d1bd3f3a528b38f2f9f9c (patch)
tree8bfd4d9dba657a0c461220838fbf919f45d236b3 /kernel/rtlil.cc
parent3860c9a9f23104bd54e0000b74624e45c77a8ab3 (diff)
downloadyosys-8d6d5c30d9f39ce5b15d1bd3f3a528b38f2f9f9c.tar.gz
yosys-8d6d5c30d9f39ce5b15d1bd3f3a528b38f2f9f9c.tar.bz2
yosys-8d6d5c30d9f39ce5b15d1bd3f3a528b38f2f9f9c.zip
Added WORDS parameter to $meminit
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r--kernel/rtlil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc
index c497ee102..abdd1ff8a 100644
--- a/kernel/rtlil.cc
+++ b/kernel/rtlil.cc
@@ -970,7 +970,7 @@ namespace {
param("\\MEMID");
param("\\PRIORITY");
port("\\ADDR", param("\\ABITS"));
- port("\\DATA", param("\\WIDTH"));
+ port("\\DATA", param("\\WIDTH") * param("\\WORDS"));
check_expected();
return;
}