1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00
This commit is contained in:
jand 2007-09-04 09:37:05 +00:00
parent 8e6fe737c8
commit 904e79d824
2 changed files with 15 additions and 2 deletions

View File

@ -475,9 +475,9 @@ class _AnalyzeVisitor(_ConversionMixin):
def visitAssName(self, node, *args):
n = node.name
if n == "__verilog__":
if n in ("__verilog__", "__vhdl__"):
self.raiseError(node, _error.NotSupported,
"__verilog__ in generator function")
"%s in generator function" % n)
# XXX ?
if n in self.globalRefs:
self.raiseError(node, _error.UnboundLocal, n)

View File

@ -0,0 +1,13 @@
all: GHDL cver icarus
GHDL:
py.test GHDL.py test_*.py
icarus:
py.test icarus.py test_*.py
cver:
py.test cver.py test_*.py
clean:
- rm *.o *.out *.v *.vhd *.pyc *~ *.vcd* *.log