mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Allow module name to be determined by argument too
This commit is contained in:
parent
f1befe1b44
commit
fb8ad440a3
2 changed files with 44 additions and 14 deletions
|
@ -28,7 +28,7 @@ struct AigerReader
|
|||
{
|
||||
RTLIL::Design *design;
|
||||
std::istream &f;
|
||||
std::string clk_name;
|
||||
RTLIL::IdString clk_name;
|
||||
RTLIL::Module *module;
|
||||
|
||||
unsigned M, I, L, O, A;
|
||||
|
@ -39,7 +39,7 @@ struct AigerReader
|
|||
std::vector<RTLIL::Wire*> latches;
|
||||
std::vector<RTLIL::Wire*> outputs;
|
||||
|
||||
AigerReader(RTLIL::Design *design, std::istream &f, std::string clk_name="clk");
|
||||
AigerReader(RTLIL::Design *design, std::istream &f, RTLIL::IdString module_name, RTLIL::IdString clk_name);
|
||||
void parse_aiger();
|
||||
void parse_aiger_ascii();
|
||||
void parse_aiger_binary();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue