mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-13 17:36:16 +00:00
Remove unused functions.
This commit is contained in:
parent
93d19dc2fb
commit
380c6f0e97
1 changed files with 0 additions and 10 deletions
|
@ -28,7 +28,6 @@
|
||||||
USING_YOSYS_NAMESPACE
|
USING_YOSYS_NAMESPACE
|
||||||
PRIVATE_NAMESPACE_BEGIN
|
PRIVATE_NAMESPACE_BEGIN
|
||||||
|
|
||||||
bool defparam, noattr;
|
|
||||||
pool<string> used_names;
|
pool<string> used_names;
|
||||||
dict<IdString, string> namecache;
|
dict<IdString, string> namecache;
|
||||||
int autoid_counter;
|
int autoid_counter;
|
||||||
|
@ -173,17 +172,8 @@ struct FirrtlWorker
|
||||||
|
|
||||||
void process_instance(RTLIL::Cell *cell, vector<string> &wire_exprs)
|
void process_instance(RTLIL::Cell *cell, vector<string> &wire_exprs)
|
||||||
{
|
{
|
||||||
// TODO: Deal with cell attributes
|
|
||||||
if (!noattr && !cell->attributes.empty()) {
|
|
||||||
|
|
||||||
}
|
|
||||||
std::string cell_type = fid(cell->type);
|
std::string cell_type = fid(cell->type);
|
||||||
|
|
||||||
// TODO: Deal with cell parameters
|
|
||||||
if (!defparam && cell->parameters.size() > 0) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string cell_name = cellname(cell);
|
std::string cell_name = cellname(cell);
|
||||||
std::string cell_name_comment;
|
std::string cell_name_comment;
|
||||||
if (cell_name != fid(cell->name))
|
if (cell_name != fid(cell->name))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue