mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #293 from thoughtpolice/minor-cleanup
Delete some dead code in the Hierarchy pass
This commit is contained in:
commit
87fe8ab3f2
|
@ -175,16 +175,12 @@ bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool flag_check
|
|||
{
|
||||
filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".v";
|
||||
if (check_file_exists(filename)) {
|
||||
std::vector<std::string> args;
|
||||
args.push_back(filename);
|
||||
Frontend::frontend_call(design, NULL, filename, "verilog");
|
||||
goto loaded_module;
|
||||
}
|
||||
|
||||
filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".il";
|
||||
if (check_file_exists(filename)) {
|
||||
std::vector<std::string> args;
|
||||
args.push_back(filename);
|
||||
Frontend::frontend_call(design, NULL, filename, "ilang");
|
||||
goto loaded_module;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue