From: "Antonio Martínez Álvarez" <amartinez@atc.ugr.es>
Subject: Re: array of strings in a function
Date: Wed, 15 Oct 2003 13:49:42 +0200
Date: 2003-10-15T11:49:05+00:00 [thread overview]
Message-ID: <bmjc7h$per$1@mercurio.cica.es> (raw)
In-Reply-To: <pan.2003.10.14.20.54.54.17088@atc.ugr.es>
Hello again. I'm the original poster.
What I want to do is a procedure (sorry, not a function) to do something
like this:
my_AND("Entrada_1", "P2", "Output");
and with this argument, this function have to write this:
entity my_AND is port(
Entrada_1 : in std_logic;
P2 : in std_logic;
Output : out std:logic;
);
(This is VHDL code, very similar to Ada95).
In general, I don't know the number of string arguments. An these
strings can be any length. I have tried to do this with unbounded... but
without any nice results ...
Maybe I must use access variables, like in C. I know how to do this in
C, but I'm really interested in do this job into Ada95. I'm writting a
generator of VHDL (parsing, etc ...).
I'll send the answer when it works. But till this moment, and havig read
your posts I haven't found the answer.
Thank you so much.
--
Antonio Martï¿œnez
next prev parent reply other threads:[~2003-10-15 11:49 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-14 20:54 array of strings in a function Antonio Martínez
2003-10-15 2:55 ` Robert I. Eachus
2003-10-15 3:29 ` Jeff C,
2003-10-15 3:08 ` Jeffrey Carter
2003-10-16 6:40 ` tmoran
2003-10-16 9:31 ` Craig Carey
2003-10-16 18:13 ` Craig Carey
2003-10-16 21:44 ` Marius Amado Alves
2003-10-17 19:48 ` Craig Carey
2003-10-18 10:05 ` Marius Amado Alves
2003-10-18 20:05 ` Craig Carey
2003-10-30 9:42 ` Craig Carey
2003-10-16 17:58 ` Jeffrey Carter
2003-10-16 20:00 ` tmoran
2003-10-17 0:51 ` Jeffrey Carter
2003-10-15 11:49 ` Antonio Martínez Álvarez [this message]
2003-10-15 12:29 ` Preben Randhol
2003-10-15 14:19 ` Ole-Hjalmar Kristensen
2003-10-16 14:30 ` Robert I. Eachus
2003-10-16 17:53 ` Jeffrey Carter
2003-10-17 0:48 ` Robert I. Eachus
2003-10-17 18:41 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox