Project

General

Profile

[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  SVN::S4
  Voneline
  WFH
General Info
  Papers

Issue #485

verilator does not detect if block name is used twice

Added by Alex Solomatnikov about 7 years ago. Updated about 7 years ago.

Status:
Feature
Priority:
Low
Assignee:
-
Category:
Lint
% Done:

0%


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

#1 Updated by Wilson Snyder about 7 years 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