mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-30 12:25:52 +00:00
Disable Liberty support, add blackbox Verilog module, and add attribute parsing into Yosys Liberty parser
This commit is contained in:
parent
b90c20cd14
commit
4062825a9e
2 changed files with 9 additions and 0 deletions
|
@ -591,6 +591,12 @@ struct LibertyFrontend : public Frontend {
|
|||
|
||||
for (auto node : cell->children)
|
||||
{
|
||||
if (node->id == "area")
|
||||
module->attributes["\\area"] = node->value;
|
||||
|
||||
if (node->id == "cell_leakage_power")
|
||||
module->attributes["\\LeakagePower"] = node->value;
|
||||
|
||||
if (node->id == "pin" && node->args.size() == 1) {
|
||||
LibertyAst *dir = node->find("direction");
|
||||
if (!dir || (dir->value != "input" && dir->value != "output" && dir->value != "inout" && dir->value != "internal"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue