mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
Merge branch 'master' of github.com:cliffordwolf/yosys
This commit is contained in:
commit
b0a430f601
|
@ -2050,6 +2050,7 @@ RTLIL::Memory::Memory()
|
||||||
hashidx_ = hashidx_count;
|
hashidx_ = hashidx_count;
|
||||||
|
|
||||||
width = 1;
|
width = 1;
|
||||||
|
start_offset = 0;
|
||||||
size = 0;
|
size = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -175,16 +175,12 @@ bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool flag_check
|
||||||
{
|
{
|
||||||
filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".v";
|
filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".v";
|
||||||
if (check_file_exists(filename)) {
|
if (check_file_exists(filename)) {
|
||||||
std::vector<std::string> args;
|
|
||||||
args.push_back(filename);
|
|
||||||
Frontend::frontend_call(design, NULL, filename, "verilog");
|
Frontend::frontend_call(design, NULL, filename, "verilog");
|
||||||
goto loaded_module;
|
goto loaded_module;
|
||||||
}
|
}
|
||||||
|
|
||||||
filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".il";
|
filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".il";
|
||||||
if (check_file_exists(filename)) {
|
if (check_file_exists(filename)) {
|
||||||
std::vector<std::string> args;
|
|
||||||
args.push_back(filename);
|
|
||||||
Frontend::frontend_call(design, NULL, filename, "ilang");
|
Frontend::frontend_call(design, NULL, filename, "ilang");
|
||||||
goto loaded_module;
|
goto loaded_module;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue