#include <libparse.h>
Definition at line 30 of file libparse.h.
LibertyAst::~LibertyAst |
( |
| ) |
|
Definition at line 37 of file libparse.cc.
std::vector< LibertyAst * > children
void LibertyAst::dump |
( |
FILE * |
f, |
|
|
std::string |
indent = "" , |
|
|
std::string |
path = "" , |
|
|
bool |
path_ok = false |
|
) |
| |
Definition at line 54 of file libparse.cc.
64 fprintf(stderr,
"Automatically added to blacklist: %s\n", path.c_str());
69 fprintf(f,
"%s%s", indent.c_str(),
id.c_str());
72 for (
size_t i = 0; i <
args.size(); i++)
73 fprintf(f,
"%s%s", i > 0 ?
", " :
"",
args[i].c_str());
77 fprintf(f,
" : %s",
value.c_str());
80 for (
size_t i = 0; i <
children.size(); i++)
82 fprintf(f,
"%s}\n", indent.c_str());
std::vector< std::string > args
void dump(FILE *f, std::string indent="", std::string path="", bool path_ok=false)
static std::set< std::string > whitelist
std::vector< LibertyAst * > children
static std::set< std::string > blacklist
Definition at line 44 of file libparse.cc.
49 if (child->id == name)
std::vector< LibertyAst * > children
std::vector<std::string> Yosys::LibertyAst::args |
std::set< std::string > LibertyAst::blacklist |
|
static |
std::vector<LibertyAst*> Yosys::LibertyAst::children |
std::string Yosys::LibertyAst::id |
std::string Yosys::LibertyAst::value |
std::set< std::string > LibertyAst::whitelist |
|
static |
The documentation for this struct was generated from the following files: