Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in Verilog-Perl: rand #159

Closed
veripoolbot opened this issue Mar 31, 2008 · 0 comments
Closed

Bug in Verilog-Perl: rand #159

veripoolbot opened this issue Mar 31, 2008 · 0 comments
Assignees

Comments

@veripoolbot
Copy link
Collaborator

@veripoolbot veripoolbot commented Mar 31, 2008


Author Name: Wilson Snyder (@wsnyder)
Original Redmine Issue: 159 from https://www.veripool.org
Original Date: 2008-03-31
Original Assignee: Wilson Snyder (@wsnyder)


This bug was cloned from Perl-RT, rt34574.

Email addresses have have been truncated.

Id: 	34574
Status: 	resolved
Left: 	0 min
Queue: 	Verilog-Perl
Owner: 	Nobody
Requestors: 	MSCHARRER <martin@>

Severity: 	(no value)

Mon Mar 31 11:30:27 2008 MSCHARRER - Ticket created

Subject: 	Bug in Verilog-Perl
Date: 	Mon, 31 Mar 2008 16:29:40 +0100
To: 	bug-Verilog-Perl@
From: 	Martin Scharrer <martin@>

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

Mon Mar 31 17:41:31 2008 WSNYDER - Correspondence added

Fixed in next release this week.

You can use `begin_keywords "1995" in the source to get around it.

The patch is largeish, email me if you want it.

Mon Mar 31 17:41:32 2008 RT_System - Status changed from 'new' to 'open'

Mon Mar 31 17:41:33 2008 WSNYDER - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.