3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 19:05:52 +00:00

Renamed "write_autotest" to "test_autotb" and moved to passes/tests/

This commit is contained in:
Clifford Wolf 2014-07-29 21:12:50 +02:00
parent e605af8a49
commit e6df25bf74
5 changed files with 12 additions and 10 deletions

View file

@ -376,7 +376,9 @@ void Frontend::frontend_call(RTLIL::Design *design, FILE *f, std::string filenam
design->check();
}
Backend::Backend(std::string name, std::string short_help) : Pass("write_"+name, short_help), backend_name(name)
Backend::Backend(std::string name, std::string short_help) :
Pass(name.substr(0, 1) == "=" ? name.substr(1) : "write_"+name, short_help),
backend_name(name.substr(0, 1) == "=" ? name.substr(1) : name)
{
}