RE: [sv-ec] typename and nets

From: Steven Sharp <sharp@cadence.com>
Date: Mon Sep 29 2014 - 06:59:13 PDT
Agreed.


-----Original Message-----
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of Bresticker, Shalom
Sent: Monday, September 29, 2014 3:45 AM
To: Daniel Mlynek; sv-ec@eda.org
Subject: RE: [sv-ec] typename and nets

Hi,

$typename returns the data type, not the net type, so "logic [3:0]" would be correct.

Shalom

> -----Original Message-----
> From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of
> Daniel Mlynek
> Sent: Monday, September 29, 2014 10:05
> To: sv-ec@eda.org
> Subject: [sv-ec] typename and nets
> 
> LRM do not says explicitly what typename should return for nets.
> ie for
>     wire [3:0] w;
> Should it return net type "wire [3:0]"
> or data type: "logic [3:0]"
> Maybe extra task is needed for net types ie smth like "$nettypename"
> 
> 
> DANiel

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Sep 29 07:00:02 2014

This archive was generated by hypermail 2.1.8 : Mon Sep 29 2014 - 07:00:30 PDT