mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
A few modifications after pull request comments
- Renamed Design::packages to Design::verilog_packages - No need to include ast.h in rtlil.h
This commit is contained in:
parent
178ff3e7f6
commit
a8200a773f
3 changed files with 4 additions and 5 deletions
|
@ -304,7 +304,7 @@ RTLIL::Design::~Design()
|
|||
{
|
||||
for (auto it = modules_.begin(); it != modules_.end(); ++it)
|
||||
delete it->second;
|
||||
for (auto n : packages)
|
||||
for (auto n : verilog_packages)
|
||||
delete n;
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
*/
|
||||
|
||||
#include "kernel/yosys.h"
|
||||
#include "frontends/ast/ast.h"
|
||||
|
||||
#ifndef RTLIL_H
|
||||
#define RTLIL_H
|
||||
|
@ -793,7 +792,7 @@ struct RTLIL::Design
|
|||
|
||||
int refcount_modules_;
|
||||
dict<RTLIL::IdString, RTLIL::Module*> modules_;
|
||||
std::vector<AST::AstNode*> packages;
|
||||
std::vector<AST::AstNode*> verilog_packages;
|
||||
|
||||
std::vector<RTLIL::Selection> selection_stack;
|
||||
dict<RTLIL::IdString, RTLIL::Selection> selection_vars;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue