RE: [sv-ec] typename and nets

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Mon Sep 29 2014 - 00:45:20 PDT
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.
Received on Mon Sep 29 00:46:14 2014

This archive was generated by hypermail 2.1.8 : Mon Sep 29 2014 - 00:46:25 PDT