3
0
Fork 0
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:
Emil J. Tywoniak 2024-05-28 23:51:17 +02:00
parent 5579685673
commit 0fb3f3a78e
180 changed files with 567 additions and 4 deletions

View file

@ -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())

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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();

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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;