mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-15 07:15:28 +00:00
tracy: init, zones per pass execute method, pointer-colored
This commit is contained in:
parent
5579685673
commit
0fb3f3a78e
180 changed files with 567 additions and 4 deletions
|
@ -41,6 +41,9 @@ struct EquivAddPass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
bool try_mode = false;
|
||||
|
||||
if (design->selected_active_module.empty())
|
||||
|
|
|
@ -199,6 +199,9 @@ struct EquivInductPass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
int success_counter = 0;
|
||||
bool model_undef = false;
|
||||
int max_seq = 4;
|
||||
|
|
|
@ -457,6 +457,9 @@ struct EquivMakePass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, RTLIL::Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
EquivMakeWorker worker;
|
||||
worker.ct.setup(design);
|
||||
worker.inames = false;
|
||||
|
|
|
@ -218,6 +218,9 @@ struct EquivMarkPass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
log_header(design, "Executing EQUIV_MARK pass.\n");
|
||||
|
||||
size_t argidx;
|
||||
|
|
|
@ -284,6 +284,9 @@ struct EquivMiterPass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, RTLIL::Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
EquivMiterWorker worker;
|
||||
worker.ct.setup(design);
|
||||
worker.mode_trigger = false;
|
||||
|
|
|
@ -85,6 +85,9 @@ struct EquivOptPass:public ScriptPass
|
|||
|
||||
void execute(std::vector < std::string > args, RTLIL::Design * design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
string run_from, run_to;
|
||||
clear_flags();
|
||||
|
||||
|
|
|
@ -189,6 +189,9 @@ struct EquivPurgePass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
log_header(design, "Executing EQUIV_PURGE pass.\n");
|
||||
|
||||
size_t argidx;
|
||||
|
|
|
@ -42,6 +42,9 @@ struct EquivRemovePass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
bool mode_gold = false;
|
||||
bool mode_gate = false;
|
||||
int remove_count = 0;
|
||||
|
|
|
@ -304,6 +304,9 @@ struct EquivSimplePass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
bool verbose = false, short_cones = false, model_undef = false, nogroup = false;
|
||||
int success_counter = 0;
|
||||
int max_seq = 1;
|
||||
|
|
|
@ -38,6 +38,9 @@ struct EquivStatusPass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
bool assert_mode = false;
|
||||
int unproven_count = 0;
|
||||
|
||||
|
|
|
@ -316,6 +316,9 @@ struct EquivStructPass : public Pass {
|
|||
}
|
||||
void execute(std::vector<std::string> args, Design *design) override
|
||||
{
|
||||
ZoneScoped;
|
||||
ZoneText(pass_name.c_str(), pass_name.length());
|
||||
ZoneColor((uint32_t)(size_t)pass_name.c_str());
|
||||
pool<IdString> fwonly_cells({ ID($equiv) });
|
||||
bool mode_icells = false;
|
||||
bool mode_fwd = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue