Re: Port directions

From: Ken Kundert <ken@designers-guide.com>
Date: Wed Jun 02 2010 - 12:24:10 PDT

No. The direction is mainly used to determine which connect modules to
use when connecting to the port. The ability to contribute to inputs is
needed so as to be able to model input loading (input resistance, input
capacitance, etc.)

-Ken

On 06/02/2010 12:00 PM, David Miller wrote:
> 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?
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Jun 2 12:24:40 2010

This archive was generated by hypermail 2.1.8 : Wed Jun 02 2010 - 12:24:41 PDT