RE: Port directions

From: Marq Kole <marq.kole@nxp.com>
Date: Thu Jun 03 2010 - 02:26:07 PDT

Hi Kevin, Ken,

I can understand not wanting to impose this limitation for conservative disciplines, but how about signal-flow disciplines? There you want to make sure that not more than one driver exists for a potential-only discipline or more than one sink for a flow-only discipline.

Cheers,
Marq

-----Original Message-----
From: owner-verilog-ams@eda.org [mailto:owner-verilog-ams@eda.org] On Behalf Of David Miller
Sent: Wednesday 2 June 2010 21:01
To: Verilog-AMS LRM Committee
Subject: Port directions

Should the language enforce that port directions are honored?
Specifically ports that are defined as input, should it be a error if you
contribute to a branch containing that port?

module mymod(a,b);
   electrical a,b;
   input a,b;
   analog V(a,b) <+ 5;
endmodule

Should this be an error, since a,b are input?

-- 
==============================================
-- It's a beautiful day
-- Don't let it get away
--
-- David Miller
-- Design Technology (Austin)
-- Freescale Semiconductor
-- Ph : 512 996-7377 Fax: x7755
==============================================
-- 
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 Thu Jun 3 02:26:38 2010

This archive was generated by hypermail 2.1.8 : Thu Jun 03 2010 - 02:26:50 PDT