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

verilator does not detect if block name is used twice #485

Open
veripoolbot opened this issue Apr 19, 2012 · 1 comment
Open

verilator does not detect if block name is used twice #485

veripoolbot opened this issue Apr 19, 2012 · 1 comment

Comments

@veripoolbot
Copy link

@veripoolbot veripoolbot commented Apr 19, 2012


Author Name: Alex Solomatnikov
Original Redmine Issue: 485 from https://www.veripool.org
Original Date: 2012-04-19


Code:

    always_comb begin
       integer q_ind;

       for( q_ind=0; q_ind<NUM_QUEUES-1; q_ind++ ) begin: COMB
...
       for( q_ind=0; q_ind<NUM_QUEUES; q_ind++ ) begin: COMB

verilator compiles without complaint.

VCS errors out:

Error-[IPD] Identifier previously declared
  Identifier 'COMB' previously declared as NamedBlock.
  Source info:       for( q_ind=0; q_ind<NUM_QUEUES; q_ind++ ) begin: COMB

@veripoolbot

This comment has been minimized.

Copy link
Author

@veripoolbot veripoolbot commented Apr 19, 2012


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2012-04-19T21:46:56Z


It has this warning but due to a bug misses it when under a FOR loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.