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

Support for user defined net type

Added by Andreas Sunardi 5 months ago

It seems that 'nettype' is not properly supported in Vreilog-Perl. I observed this issue in version 3.452 and today I did limited test with 3.460 and the issue seems to persist.

package pkg;
...
  function automatic foo wsum(...);
  ...
  endfunction : wsum
  nettype foo bar with wsum;
endpackage

module mod...
...
  bar data;
...
endmodule : mod

The parser fails on this when using 'bar' as net type (and also the definition of 'nettype' above fails the net_type_declaration grammar).

I could be wrong about the state of Verilog-Perl support for user defined net type. Please correct me if I'm wrong. If it is indeed not supported yet, is there a plan to do so?

Thank you


Replies (2)

RE: Support for user defined net type - Added by Wilson Snyder 5 months ago

Was supposed to work, but not surprisingly you are the first one to use this relatively rare language feature.

Sorry for the trouble, fixed in git towards 3.462.

RE: Support for user defined net type - Added by Andreas Sunardi 5 months ago

That was a very quick solution. I'm impressed. Thank you very much.

    (1-2/2)