3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-08 18:31:51 +00:00

Remove unused functions.

This commit is contained in:
Jim Lawson 2018-08-27 10:18:33 -07:00
parent 93d19dc2fb
commit 380c6f0e97

View file

@ -28,7 +28,6 @@
USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN
bool defparam, noattr;
pool<string> used_names;
dict<IdString, string> namecache;
int autoid_counter;
@ -173,17 +172,8 @@ struct FirrtlWorker
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);
// TODO: Deal with cell parameters
if (!defparam && cell->parameters.size() > 0) {
}
std::string cell_name = cellname(cell);
std::string cell_name_comment;
if (cell_name != fid(cell->name))