mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-24 14:53:42 +00:00
Renamed SIZE() to GetSize() because of name collision on Win32
This commit is contained in:
parent
c7f5aab625
commit
4569a747f8
48 changed files with 447 additions and 447 deletions
|
@ -77,7 +77,7 @@ static void fsm_recode(RTLIL::Cell *cell, RTLIL::Module *module, FILE *fm_set_fs
|
|||
if (!default_encoding.empty())
|
||||
encoding = default_encoding;
|
||||
else
|
||||
encoding = SIZE(fsm_data.state_table) < 32 ? "one-hot" : "binary";
|
||||
encoding = GetSize(fsm_data.state_table) < 32 ? "one-hot" : "binary";
|
||||
log(" mapping auto encoding to `%s` for this FSM.\n", encoding.c_str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue