RegisterLogin  
Update Profile
   
You are here: Forum  
Minimize 
SVUG Community Forum
Subject: "typedef wire..." not supported
Prev Next
You are not authorized to post a reply.

Author Messages
PRANEETUser is Offline

Posts:3

12/26/2007 4:39 AM  
Hi All,

using a user-defined data type for "wire" data type is not supported in system verilog
any thoughts on what could be the reason for that..?

Thanks,
Praneet
DIVYESHUser is Offline

Posts:6

01/08/2008 3:36 AM  
Hi Praneet,
As per my understanding , according to SystemVerilog LRM.
typedef has syntax for user defined data types as below.
"typedef data_type type_identifier variable_dimension ;"

Also wire is not a "data type" but net_type.
So, "typedef wire" is not supported


Thanks & Regards
Divyesh Gajjar
eInfochips ltd.
www.einfochips.com
PRANEETUser is Offline

Posts:3

01/09/2008 2:19 AM  
hi Divyesh,

if Iam not wrong data types in Verilog are divided into two main categories - register data type and net data type.

so
the syntax "typedef data_type type_identifier variable_dimension ;"
should mean that wire can be used with typedef
also i don't think there is anything specific in Sys-Vlog LRM that says wire is not a data type or it cant be used with typedef

DIVYESHUser is Offline

Posts:6

01/09/2008 3:37 AM  
Hi Praneet,

Please refer System Verilog 3.1a LRM topic 3.2 Data type syntax.
from this syntax table you can find values under data_type, which does not include net_type.

Please let me know after refering if my understanding is wrong.

Thanks & Regards
Divyesh Gajjar
eInfochips ltd.
www.einfochips.com
DIVYESHUser is Offline

Posts:6

01/09/2008 10:33 PM  
Look at the thread beginning at http://www.eda-stds.org/sv-ec/hm/5399.html
and see if that answers your question.


Thanks & Regards
Divyesh Gajjar
eInfochips ltd.
www.einfochips.com
PRANEETUser is Offline

Posts:3

01/09/2008 11:26 PM  
hi divyesh
lrm has got "net_type" under data type section.
i looked at the thread, it doesn't have anything conclusive..
well may be we will see support for "typedef wire.." in future

--Praneet
You are not authorized to post a reply.
Forums > General Discussion > Main Discussion Area > "typedef wire..." not supported



ActiveForums 3.7
  

 Copyright 2008 by SystemVerilog User Group Contact Us    Privacy Statement