mirror of
https://github.com/YosysHQ/yosys
synced 2026-02-22 08:17:38 +00:00
avoid merging formal properties
This commit is contained in:
parent
49feaa1146
commit
45d654e2d7
4 changed files with 26 additions and 1 deletions
|
|
@ -844,6 +844,7 @@ struct AST_INTERNAL::ProcessGenerator
|
|||
|
||||
RTLIL::Cell *cell = current_module->addCell(cellname, ID($check));
|
||||
set_src_attr(cell, ast);
|
||||
cell->set_bool_attribute(ID(keep));
|
||||
for (auto &attr : ast->attributes) {
|
||||
if (attr.second->type != AST_CONSTANT)
|
||||
log_file_error(*ast->location.begin.filename, ast->location.begin.line, "Attribute `%s' with non-constant value!\n", attr.first);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue