Issue #485
verilator does not detect if block name is used twice
| Status: | Feature | Start date: | 04/19/2012 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Lint | |||
| Target version: | - |
Description
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
History
Updated by Wilson Snyder about 1 year ago
- Category set to Lint
- Status changed from New to Assigned
It has this warning but due to a bug misses it when under a FOR loop.
Also available in: Atom
![[logo]](/img/veripool_small.png)