[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
  SystemPerl
  Voneline
  WFH
General Info
  Papers

Issue #90

Cryptic error message

Added by Andreas Olofsson almost 4 years ago. Updated almost 4 years ago.

Status:Closed Start date:05/24/2009
Priority:Normal Due date:
Assignee:Wilson Snyder % Done:

0%

Category:Lint
Target version:- Estimated time:0.20 hour

Description

The verilator fails with a rather non-descript message on the verilog error below. Admittedly it was my stupid mistake, but it would be helpful if verilator would flag the location of this error. This was done with v703

Only Error message: %Error: Command Failed verilator_bin --sp --x-assign 1 --prefix Vtop -Wno-WIDTH --top-module top --stats -O3 --noassert

Thanks,

Andreas

//Varibales
 integer i,j;   
//Masks
reg  [ARW-1:0]   priority_mask;//priority mask
//Request Vectors
wire [ARW-1:0]   muxed_requests;
/////////////////////
 //PRIORITY ENCODER
 always @*
   begin
  for(i=ARW-1;i>0;i=i-1)
    begin
       priority_mask[i]=1'b0;   
       for(j=j;j>=0;j=j-1)
         priority_mask[i]=priority_mask[j] | muxed_requests[j];      
    end
  //Bit zero is always enabled 
  priority_mask[0]=1'b0;
   end

History

Updated by Wilson Snyder almost 4 years ago

  • Category set to Lint
  • Status changed from New to Assigned
  • Assignee set to Wilson Snyder

I can reproduce this. thanks for the testcase, I'll fix it next week.

Updated by Wilson Snyder almost 4 years ago

  • Status changed from Assigned to Resolved
  • Estimated time set to 0.20

Fixed in git version for next release.

Updated by Wilson Snyder almost 4 years ago

  • Status changed from Resolved to Closed

In 3.711.

Also available in: Atom