Add experimental --pipe-filter to filter all Verilog input.

This commit is contained in:
Wilson Snyder
2010-01-20 07:15:51 -05:00
parent 28eb5b9bc4
commit 6196cf09ff
25 changed files with 555 additions and 42 deletions
+17
View File
@@ -71,6 +71,23 @@ public:
static void createMakeDir();
};
//============================================================================
// V3InFilter: Read a input file, possibly filtering it, and caching contents
class V3InFilterImp;
class V3InFilter {
V3InFilterImp* m_impp;
public:
// METHODS
// Read file contents and return it. Return true on success.
bool readWholefile(const string& filename, string& out);
// CONSTRUCTORS
V3InFilter(const string& command);
~V3InFilter();
};
//============================================================================
// V3OutFormatter: A class for automatic indentation of C++ or Verilog code.