Subject: | Bug in Verilog-Perl |
Date: | Mon, 31 Mar 2008 16:29:40 +0100 |
To: | bug-Verilog-Perl [...] rt.cpan.org |
From: | Martin Scharrer <martin [...] scharrer-online.de> |
Hello,
I'm using the tool 'vhier' included in Verilog-Perl which uses
Verilog::to print the hierarchy of my Verilog files. My code is mostly
Verilog1995 with some minor exceptions in some test-bench files where I
use the 'generate' block.
The used versions are
Perl 5.8.8
vhier: # $Id: vhier 49328 2008-01-07 16:28:25Z wsnyder $
Verilog-Perl-3.023 from CPAN
I'm getting the following error:
When I run
vhier --language=1995 file.v
I'm getting the error:
%Error: file.v:18: syntax error, unexpected KEYWORD, expecting IDENTIFIER
because I instantiate a module with the instance name 'rand' which is a
keyword in SystemVerilog but not in Verilog1995. The language=1995
doesn't change anything here.
Thank you,
Martin Scharrer