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:
parent
3860c9a9f2
commit
8d6d5c30d9
6 changed files with 95 additions and 16 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue