3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Ensure fid() calls make_id() for consistency; tests/simple/dff_init.v fails

Mark dff_init.v as expected to fail since it uses "initial value".
This commit is contained in:
Jim Lawson 2019-03-04 13:23:58 -08:00
parent 107d884804
commit d6c4dfb902
2 changed files with 2 additions and 2 deletions

View file

@ -165,8 +165,7 @@ struct FirrtlWorker
std::string fid(RTLIL::IdString internal_id)
{
const char *str = internal_id.c_str();
return *str == '\\' ? str + 1 : str;
return make_id(internal_id);
}
std::string cellname(RTLIL::Cell *cell)