mirror of https://github.com/YosysHQ/yosys.git
Add .blackbox support to blif front-end
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
2daa56859f
commit
935d3e19e2
|
@ -174,6 +174,12 @@ void parse_blif(RTLIL::Design *design, std::istream &f, IdString dff_name, bool
|
|||
if (module == nullptr)
|
||||
goto error;
|
||||
|
||||
if (!strcmp(cmd, ".blackbox"))
|
||||
{
|
||||
module->attributes["\\blackbox"] = RTLIL::Const(1);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!strcmp(cmd, ".end"))
|
||||
{
|
||||
for (auto &wp : wideports_cache)
|
||||
|
|
Loading…
Reference in New Issue