mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-07 07:45:47 +00:00
Get autoidx reset working
This commit is contained in:
parent
d63c793e72
commit
5e606722e3
1 changed files with 10 additions and 0 deletions
|
@ -3173,6 +3173,11 @@ struct VerificPass : public Pass {
|
|||
log("VHDL default library path.\n");
|
||||
log("\n");
|
||||
log("\n");
|
||||
log(" import -reset_autoidx\n");
|
||||
log("\n");
|
||||
log("Reset auto-index.\n");
|
||||
log("\n");
|
||||
log("\n");
|
||||
#endif
|
||||
log(" import -set-error <msg_id>..\n");
|
||||
log(" import -set-warning <msg_id>..\n");
|
||||
|
@ -3683,6 +3688,11 @@ struct VerificPass : public Pass {
|
|||
goto check_error;
|
||||
}
|
||||
|
||||
if (GetSize(args) > argidx && args[argidx] == "-reset_autoidx") {
|
||||
autoidx = 1;
|
||||
goto check_error;
|
||||
}
|
||||
|
||||
if (GetSize(args) > argidx && (args[argidx] == "-f" || args[argidx] == "-F" || args[argidx] == "-FF"))
|
||||
{
|
||||
unsigned verilog_mode = veri_file::SYSTEM_VERILOG;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue