Added support for fsm_encoding="user"
This commit is contained in:
parent
0c8e973d32
commit
b63cace90f
1 changed files with 3 additions and 3 deletions
|
@ -57,13 +57,13 @@ static void fsm_recode(RTLIL::Cell *cell, RTLIL::Module *module, FILE *fm_set_fs
|
|||
|
||||
log("Recoding FSM `%s' from module `%s' using `%s' encoding:\n", cell->name.c_str(), module->name.c_str(), encoding.c_str());
|
||||
|
||||
if (encoding != "none" && encoding != "one-hot" && encoding != "binary" && encoding != "auto") {
|
||||
if (encoding != "none" && encoding != "user" && encoding != "one-hot" && encoding != "binary" && encoding != "auto") {
|
||||
log(" unknown encoding `%s': using auto instead.\n", encoding.c_str());
|
||||
encoding = "auto";
|
||||
}
|
||||
|
||||
if (encoding == "none") {
|
||||
log(" nothing to do for encoding `none'.\n");
|
||||
if (encoding == "none" || encoding == "user") {
|
||||
log(" nothing to do for encoding `%s'.\n", encoding.c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue