mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
__vhdl__
This commit is contained in:
parent
8e6fe737c8
commit
904e79d824
@ -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)
|
||||
|
13
myhdl/test/conversion/Makefile
Normal file
13
myhdl/test/conversion/Makefile
Normal 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
|
Loading…
x
Reference in New Issue
Block a user