partial element association


Subject: partial element association
From: Jean-Noël Avila (jean-noel.avila@aleph.fr)
Date: Thu May 31 2001 - 06:29:42 MDT


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);
?

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';

well, I am not sure whether my test is right too...

Thanks

-- 
* 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