Re: Question regarding connecting individual elements of a vector port

From: Jonathan David <j.david_at_.....>
Date: Tue Oct 24 2006 - 13:32:22 PDT
I wouldn't think so, BUT.. is anything like this ever done (and allowed) in the digital Verilog world?
I would use that principle .. if the digital guys already do this  then its ok.. If they don't we shouldn't either
jbd
 
Jonathan David
j.david@ieee.org
jb_david@yahoo.com
http://ieee-jbdavid.blogspot.com
Mobile 408 390 2425
Work:
jbdavid@scintera.com
http://www.scintera.com
408 200-7024

----- Original Message ----
From: Dave Miller <David.L.Miller@freescale.com>
To: Verilog-AMS LRM Committee <verilog-ams@eda.org>
Sent: Tuesday, October 24, 2006 11:13:20 AM
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
=====================================
Received on Tue Oct 24 13:32:25 2006

This archive was generated by hypermail 2.1.8 : Tue Oct 24 2006 - 13:32:29 PDT