summaryrefslogtreecommitdiffstats
path: root/src/vhd2vl.l
diff options
context:
space:
mode:
authorRodrigo Alejandro Melo <rodrigomelo9@gmail.com>2017-11-28 22:52:42 -0300
committerRodrigo Alejandro Melo <rodrigomelo9@gmail.com>2017-11-28 22:52:42 -0300
commit37e85b47814e2275e80cd2b949338292cb20551b (patch)
tree621e7d3cc6c9e800924efa880334f74f85f3bae2 /src/vhd2vl.l
parentc6fa3c303c7dd2ad8d6a394d0f9c1b9a4685082d (diff)
downloadvhdl2vl-37e85b47814e2275e80cd2b949338292cb20551b.tar.gz
vhdl2vl-37e85b47814e2275e80cd2b949338292cb20551b.zip
Added support to entity instantiations
Diffstat (limited to 'src/vhd2vl.l')
-rw-r--r--src/vhd2vl.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhd2vl.l b/src/vhd2vl.l
index d5c2ad1..71f87a9 100644
--- a/src/vhd2vl.l
+++ b/src/vhd2vl.l
@@ -66,6 +66,8 @@ void getbasedstring(unsigned skip);
"\x0d\n" |
\n { lineno++;}
+"entity ".*\. {; /* to remove entity instantiation */}
+
"entity" { return ENTITY; }
"is" { return IS; }
"port" { return PORT; }
OpenPOWER on IntegriCloud