Remove unused functions.
authorJim Lawson <ucbjrl@berkeley.edu>
Mon, 27 Aug 2018 17:18:33 +0000 (10:18 -0700)
committerJim Lawson <ucbjrl@berkeley.edu>
Mon, 27 Aug 2018 17:18:33 +0000 (10:18 -0700)
backends/firrtl/firrtl.cc

index 14fae1a83dd37d7575fb809d898fcb3269586599..94236d0b15d9aee2c81d05ea2d8f67d9cb716982 100644 (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))