Re: [sv-dc] nettype 3-D and logic

From: Kevin Cameron <edaorg@v-ms.com>
Date: Wed Mar 09 2011 - 10:22:53 PST

If you look back to 3-D discussions, my take on where we should go is
that the following kind of declaration would work -

  nettype (bool value,bool strength,bool driven) logic;
      <various methods>
  endnettype

The various methods are the things that are currently implicit, e.g. the
default resolution function, posedge, negedge etc. You can view at as a
special template class, strength and driven being optional.

The strength type would be -

  nettype (bool value,enum strength,bool driven) logic;
      <various methods>
  endnettype

wreal -

  nettype (real val,,bool driven) logic; // no strength
      <various methods>
  endnettype

Any problems with that approach?

Kev.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Mar 9 10:23:19 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 09 2011 - 10:23:22 PST