3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Added WORDS parameter to $meminit

This commit is contained in:
Clifford Wolf 2015-07-31 10:40:09 +02:00
parent 3860c9a9f2
commit 8d6d5c30d9
6 changed files with 95 additions and 16 deletions

View file

@ -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;
}