Re: partial element association


Subject: Re: partial element association
From: Jean-Noël Avila (jean-noel.avila@aleph.fr)
Date: Tue Jun 05 2001 - 01:38:12 MDT


Here are the files I tried to compile.
Apart from the fact that I reach the end of time (is there a way to set
the base time in ps ?),
I cannot get the flow out of the shift register.

Can anybody play with it ?

Dale E Martin a écrit :
>
> ----- Original Message -----
> From: "Jean-Noël Avila" <jean-noel.avila@aleph.fr>
> To: <savant-users@ECECS.UC.EDU>
> Sent: Thursday, May 31, 2001 8:29 AM
> Subject: partial element association
>
> > Hi everybody,
> >
> > I checked bugzilla about a possible bug when trying to test a shift
> > register. Does partial element association mean :
> > foo(7 downto 0) <= bar;
> > or
> > foo <= bar(7 downto 0);
> > ?
>
> Hi, sorry for the late response... Partial element association has to do
> with using named associations on the subelements of records. Your example
> looks like it should be OK (depending on the details, of course.
>
> > I am currently using both :
> > * the first for loading a specific part of the shift register
> > * the second to implement the shifting : foo <= foo (N-2 downto 0) &
> > '0';
>
> There are shift operators defined in VHDL, but what you're doing looks OK.
>
> > well, I am not sure whether my test is right too...
>
> Give some more details and maybe we can help you out.

-- 
* Jean-Noel Avila                       Tel. : +33 (0)4 79 25 31 32
* ALEPH S.A.                            Fax  : +33 (0)4 79 25 24 27
* Savoie Technolac BP 264               jean-noel.avila@aleph.fr         
* F-73375 Le Bourget du Lac






This archive was generated by hypermail 2b25 : Mon Mar 18 2002 - 13:00:02 MST