mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Added $meminit support to "memory" command
This commit is contained in:
@@ -905,6 +905,11 @@ void handle_cell(Cell *cell, const rules_t &rules)
|
||||
{
|
||||
log("Processing %s.%s:\n", log_id(cell->module), log_id(cell));
|
||||
|
||||
if (!SigSpec(cell->getParam("\\INIT")).is_fully_undef()) {
|
||||
log(" initialized memories are not supported yet.");
|
||||
return;
|
||||
}
|
||||
|
||||
dict<string, int> match_properties;
|
||||
match_properties["words"] = cell->getParam("\\SIZE").as_int();
|
||||
match_properties["abits"] = cell->getParam("\\ABITS").as_int();
|
||||
|
||||
Reference in New Issue
Block a user