diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-09-01 13:30:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-01 13:30:57 +0200 |
commit | 4a7bc8c7723371d650ce6fc8c897438e0c34da07 (patch) | |
tree | 4bce5efc77d909c92fb58ebe4626cda84afce3da | |
parent | 68fe1eba6ca0c4082543f9fe0b0e2ff629dbc717 (diff) | |
parent | fa5065e9b5ed58d774bfe4fc23de681314b50270 (diff) | |
download | yosys-4a7bc8c7723371d650ce6fc8c897438e0c34da07.tar.gz yosys-4a7bc8c7723371d650ce6fc8c897438e0c34da07.tar.bz2 yosys-4a7bc8c7723371d650ce6fc8c897438e0c34da07.zip |
Merge pull request #1347 from mmicko/fix_select_error_msg
Fix select command error msg, fixes issue #1081
-rw-r--r-- | passes/cmds/select.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/cmds/select.cc b/passes/cmds/select.cc index 59d10a1b8..0f1f05ccb 100644 --- a/passes/cmds/select.cc +++ b/passes/cmds/select.cc @@ -664,7 +664,7 @@ static void select_stmt(RTLIL::Design *design, std::string arg) } else if (arg == "%D") { if (work_stack.size() < 2) - log_cmd_error("Must have at least two elements on the stack for operator %%d.\n"); + log_cmd_error("Must have at least two elements on the stack for operator %%D.\n"); select_op_diff(design, work_stack[work_stack.size()-1], work_stack[work_stack.size()-2]); work_stack[work_stack.size()-2] = work_stack[work_stack.size()-1]; work_stack.pop_back(); @@ -693,7 +693,7 @@ static void select_stmt(RTLIL::Design *design, std::string arg) } else if (arg == "%C") { if (work_stack.size() < 1) - log_cmd_error("Must have at least one element on the stack for operator %%M.\n"); + log_cmd_error("Must have at least one element on the stack for operator %%C.\n"); select_op_module_to_cells(design, work_stack[work_stack.size()-1]); } else if (arg == "%c") { |