mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-08 12:11:24 +00:00
Added "yosys -D" feature
This commit is contained in:
parent
1565d1af69
commit
0bc95f1e04
113 changed files with 172 additions and 145 deletions
|
@ -198,7 +198,7 @@ struct EquivInductPass : public Pass {
|
|||
bool model_undef = false;
|
||||
int max_seq = 4;
|
||||
|
||||
log_header("Executing EQUIV_INDUCT pass.\n");
|
||||
log_header(design, "Executing EQUIV_INDUCT pass.\n");
|
||||
|
||||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++) {
|
||||
|
|
|
@ -464,7 +464,7 @@ struct EquivMakePass : public Pass {
|
|||
worker.read_blacklists();
|
||||
worker.read_encfiles();
|
||||
|
||||
log_header("Executing EQUIV_MAKE pass (creating equiv checking module).\n");
|
||||
log_header(design, "Executing EQUIV_MAKE pass (creating equiv checking module).\n");
|
||||
|
||||
worker.equiv_mod = design->addModule(RTLIL::escape_id(args[argidx+2]));
|
||||
worker.run();
|
||||
|
|
|
@ -218,7 +218,7 @@ struct EquivMarkPass : public Pass {
|
|||
}
|
||||
virtual void execute(std::vector<std::string> args, Design *design)
|
||||
{
|
||||
log_header("Executing EQUIV_MARK pass.\n");
|
||||
log_header(design, "Executing EQUIV_MARK pass.\n");
|
||||
|
||||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++) {
|
||||
|
|
|
@ -333,7 +333,7 @@ struct EquivMiterPass : public Pass {
|
|||
found_two_modules:
|
||||
log_cmd_error("Exactly one module must be selected for 'equiv_miter'!\n");
|
||||
|
||||
log_header("Executing EQUIV_MITER pass.\n");
|
||||
log_header(design, "Executing EQUIV_MITER pass.\n");
|
||||
|
||||
worker.miter_module = design->addModule(worker.miter_name);
|
||||
worker.run();
|
||||
|
|
|
@ -189,7 +189,7 @@ struct EquivPurgePass : public Pass {
|
|||
}
|
||||
virtual void execute(std::vector<std::string> args, Design *design)
|
||||
{
|
||||
log_header("Executing EQUIV_PURGE pass.\n");
|
||||
log_header(design, "Executing EQUIV_PURGE pass.\n");
|
||||
|
||||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++) {
|
||||
|
|
|
@ -46,7 +46,7 @@ struct EquivRemovePass : public Pass {
|
|||
bool mode_gate = false;
|
||||
int remove_count = 0;
|
||||
|
||||
log_header("Executing EQUIV_REMOVE pass.\n");
|
||||
log_header(design, "Executing EQUIV_REMOVE pass.\n");
|
||||
|
||||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++) {
|
||||
|
|
|
@ -277,7 +277,7 @@ struct EquivSimplePass : public Pass {
|
|||
int success_counter = 0;
|
||||
int max_seq = 1;
|
||||
|
||||
log_header("Executing EQUIV_SIMPLE pass.\n");
|
||||
log_header(design, "Executing EQUIV_SIMPLE pass.\n");
|
||||
|
||||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++) {
|
||||
|
|
|
@ -41,7 +41,7 @@ struct EquivStatusPass : public Pass {
|
|||
bool assert_mode = false;
|
||||
int unproven_count = 0;
|
||||
|
||||
log_header("Executing EQUIV_STATUS pass.\n");
|
||||
log_header(design, "Executing EQUIV_STATUS pass.\n");
|
||||
|
||||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++) {
|
||||
|
|
|
@ -321,7 +321,7 @@ struct EquivStructPass : public Pass {
|
|||
bool mode_fwd = false;
|
||||
int max_iter = -1;
|
||||
|
||||
log_header("Executing EQUIV_STRUCT pass.\n");
|
||||
log_header(design, "Executing EQUIV_STRUCT pass.\n");
|
||||
|
||||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue