mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +00:00
Added "yosys -D" feature
This commit is contained in:
parent
1565d1af69
commit
0bc95f1e04
113 changed files with 172 additions and 145 deletions
|
@ -57,7 +57,7 @@ struct ProcPass : public Pass {
|
|||
{
|
||||
std::string global_arst;
|
||||
|
||||
log_header("Executing PROC pass (convert processes to netlists).\n");
|
||||
log_header(design, "Executing PROC pass (convert processes to netlists).\n");
|
||||
log_push();
|
||||
|
||||
size_t argidx;
|
||||
|
|
|
@ -226,7 +226,7 @@ struct ProcArstPass : public Pass {
|
|||
std::string global_arst;
|
||||
bool global_arst_neg = false;
|
||||
|
||||
log_header("Executing PROC_ARST pass (detect async resets in processes).\n");
|
||||
log_header(design, "Executing PROC_ARST pass (detect async resets in processes).\n");
|
||||
|
||||
size_t argidx;
|
||||
for (argidx = 1; argidx < args.size(); argidx++)
|
||||
|
|
|
@ -156,7 +156,7 @@ struct ProcCleanPass : public Pass {
|
|||
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
|
||||
{
|
||||
int total_count = 0;
|
||||
log_header("Executing PROC_CLEAN pass (remove empty switches from decision trees).\n");
|
||||
log_header(design, "Executing PROC_CLEAN pass (remove empty switches from decision trees).\n");
|
||||
|
||||
extra_args(args, 1, design);
|
||||
|
||||
|
|
|
@ -369,7 +369,7 @@ struct ProcDffPass : public Pass {
|
|||
}
|
||||
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
|
||||
{
|
||||
log_header("Executing PROC_DFF pass (convert process syncs to FFs).\n");
|
||||
log_header(design, "Executing PROC_DFF pass (convert process syncs to FFs).\n");
|
||||
|
||||
extra_args(args, 1, design);
|
||||
|
||||
|
|
|
@ -292,7 +292,7 @@ struct ProcDlatchPass : public Pass {
|
|||
}
|
||||
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
|
||||
{
|
||||
log_header("Executing PROC_DLATCH pass (convert process syncs to latches).\n");
|
||||
log_header(design, "Executing PROC_DLATCH pass (convert process syncs to latches).\n");
|
||||
|
||||
extra_args(args, 1, design);
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@ struct ProcInitPass : public Pass {
|
|||
}
|
||||
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
|
||||
{
|
||||
log_header("Executing PROC_INIT pass (extract init attributes).\n");
|
||||
log_header(design, "Executing PROC_INIT pass (extract init attributes).\n");
|
||||
|
||||
extra_args(args, 1, design);
|
||||
|
||||
|
|
|
@ -391,7 +391,7 @@ struct ProcMuxPass : public Pass {
|
|||
}
|
||||
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
|
||||
{
|
||||
log_header("Executing PROC_MUX pass (convert decision trees to multiplexers).\n");
|
||||
log_header(design, "Executing PROC_MUX pass (convert decision trees to multiplexers).\n");
|
||||
|
||||
extra_args(args, 1, design);
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ struct ProcRmdeadPass : public Pass {
|
|||
}
|
||||
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
|
||||
{
|
||||
log_header("Executing PROC_RMDEAD pass (remove dead branches from decision trees).\n");
|
||||
log_header(design, "Executing PROC_RMDEAD pass (remove dead branches from decision trees).\n");
|
||||
|
||||
extra_args(args, 1, design);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue