Skip to content

Commit

Permalink
Merge pull request #4764 from YosysHQ/micko/verific_vhdl_assert
Browse files Browse the repository at this point in the history
verific : VHDL assert DFF initial value set on Verific library patch
  • Loading branch information
mmicko authored Nov 25, 2024
2 parents 4b3c03d + d6bd521 commit 9512ec4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions frontends/verific/verific.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2126,12 +2126,6 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::ma
log(" assert condition %s.\n", log_signal(cond));

Cell *cell = module->addAssert(new_verific_id(inst), cond, State::S1);
// Initialize FF feeding condition to 1, in case it is not
// used by rest of design logic, to prevent failing on
// initial uninitialized state
if (cond.is_wire() && !cond.wire->name.isPublic())
cond.wire->attributes[ID::init] = Const(1,1);

import_attributes(cell->attributes, inst);
continue;
}
Expand Down

0 comments on commit 9512ec4

Please sign in to comment.