Add --bbox-unsup option to black-box unsupported UDP tables.

This commit is contained in:
Wilson Snyder
2009-12-16 11:45:28 -05:00
parent deda877355
commit 934dc842e0
6 changed files with 16 additions and 5 deletions
+2 -2
View File
@@ -336,8 +336,8 @@ private:
virtual void visit(AstUdpTable* nodep, AstNUser*) {
UINFO(5,"UDPTABLE "<<nodep<<endl);
if (!v3Global.opt.lintOnly()) {
nodep->v3error("Unsupported: Verilog 1995 UDP Tables");
if (!v3Global.opt.bboxUnsup()) {
nodep->v3error("Unsupported: Verilog 1995 UDP Tables. Use --bbox-unsup to ignore tables.");
} else {
// Massive hack, just tie off all outputs so our analysis can proceed
AstVar* varoutp = NULL;