Subject: Re: partial element association
From: Dale E Martin (dmartin@cliftonlabs.com)
Date: Fri Jun 01 2001 - 14:57:30 MDT
----- 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.
This archive was generated by hypermail 2b25 : Mon Mar 18 2002 - 13:00:02 MST