Re: Question regarding connecting individual elements of a vector port

From: J.A. Barby <jabarby_at_.....>
Date: Wed Oct 25 2006 - 07:07:58 PDT
>From owner-verilog-ams@eda.org Tue Oct 24 14:13:50 2006
>From: Dave Miller <David.L.Miller@freescale.com>
>To: Verilog-AMS LRM Committee <verilog-ams@eda.org>
>Subject: Question regarding connecting individual elements of a vector port
>
>Hi all,
>Is it perfectly valid to have a vector node where some of the elements 
>are connected to ports and others are used as internal nodes? I can't 
>see anything that explicitly restricts it from a syntax point of view, 
>but was wondering if we should disallow it, or leave it intentionally 
>ambiguous so that it is up to individual implementations?
>The situation I am referring to is this below.
>
>module blackbox(in[0]);
>    electrical [0:1] in;
>    analog begin
>       V(in[0]) <+ 5;
>       V(in[1]) <+ 10;
>    end
>endmodule
>
>Here I have two constant voltage sources, where in[0] is used in a port 
>connection, and in[1] is just a local source. Should this be allowed?
>
>Dave
>
>-- 
>=====================================
>-- David Miller
>-- Design Technology (Austin)
>-- Freescale Semiconductor
>-- Ph : 512 996-7377 Fax: x7755
>=====================================

Dave,
"ambiguous" in an LRM is the wrong approach.
If it is a standard, then it should not be "ambiguous".
Jim
Received on Wed Oct 25 07:08:05 2006

This archive was generated by hypermail 2.1.8 : Wed Oct 25 2006 - 07:08:07 PDT