summaryrefslogtreecommitdiff
path: root/frontends/ilang
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-24 17:29:11 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-24 17:29:11 +0100
commitf71e27dbf15d063ca45378ff2eb2d8102220f199 (patch)
tree67137e2ddf4dcf588fa4397d15d3e7648805a896 /frontends/ilang
parent609caa23b5e12547c043dc4a1827d1a531af1992 (diff)
Remove auto_wire framework (smarter than the verilog standard)
Diffstat (limited to 'frontends/ilang')
-rw-r--r--frontends/ilang/lexer.l1
-rw-r--r--frontends/ilang/parser.y5
2 files changed, 1 insertions, 5 deletions
diff --git a/frontends/ilang/lexer.l b/frontends/ilang/lexer.l
index 73bc894b..287f9dbf 100644
--- a/frontends/ilang/lexer.l
+++ b/frontends/ilang/lexer.l
@@ -41,7 +41,6 @@
"parameter" { return TOK_PARAMETER; }
"wire" { return TOK_WIRE; }
"memory" { return TOK_MEMORY; }
-"auto" { return TOK_AUTO; }
"width" { return TOK_WIDTH; }
"offset" { return TOK_OFFSET; }
"size" { return TOK_SIZE; }
diff --git a/frontends/ilang/parser.y b/frontends/ilang/parser.y
index dc39cf93..71c63bc4 100644
--- a/frontends/ilang/parser.y
+++ b/frontends/ilang/parser.y
@@ -54,7 +54,7 @@ using namespace ILANG_FRONTEND;
%token TOK_CELL TOK_CONNECT TOK_SWITCH TOK_CASE TOK_ASSIGN TOK_SYNC
%token TOK_LOW TOK_HIGH TOK_POSEDGE TOK_NEGEDGE TOK_EDGE TOK_ALWAYS TOK_INIT
%token TOK_UPDATE TOK_PROCESS TOK_END TOK_INVALID TOK_EOL TOK_OFFSET
-%token TOK_PARAMETER TOK_ATTRIBUTE TOK_AUTO TOK_MEMORY TOK_SIZE
+%token TOK_PARAMETER TOK_ATTRIBUTE TOK_MEMORY TOK_SIZE
%type <sigspec> sigspec sigspec_list
%type <integer> sync_type
@@ -124,9 +124,6 @@ wire_stmt:
};
wire_options:
- wire_options TOK_AUTO {
- current_wire->auto_width = true;
- } |
wire_options TOK_WIDTH TOK_INT {
current_wire->width = $3;
} |