alliance-support '2000
Re: query: assigning signal values


Ludovic JACOMME (Ludovic.JACOMME@asim.lip6.fr)
Tue, 25 Apr 2000 14:07:32 +0200

Hi, First of all, the Alliance structural VHDL format (vst) doesn't support concurrent signal assignments or signal initializations (see man page VST(5) for details). If you want to specify an initial value for a particular signal, (only for simulation purposes) you have to do it in the pattern file. Here is an example for a signal initialization in a pattern file (.pat) : -- -- Patterns -- in ck B; in jour B; in reset B; in i (3 downto 0) X;; out porte B; out alarm B; begin digiao.cs(2 downto 0) <= "000"; -- ^ initial value -- ^ signal_name -- ^ model_name ......... (patterns) ......... (patterns) ......... (patterns) ......... (patterns) ......... (patterns) end; -- EOF Regards, Ludo. On Fri, Apr 21, 2000 at 06:40:55PM -0400, Vibhor Garg wrote: > > hello, > > i have a set of vst files that i wish to flatten out. > i'm using command flatlo - r filename1 filename2 > > in case of assigning initial values to signals i'm getting parse errors. > > signal temp : bit; > > begin > > temp <= '1'; > .. > .. > .. > > the error i get is 1) parse error > 2) illegal concurrent statement. > > i even tried > > signal temp : bit := '1'; > > even that gives errors. > > could you please give a solution to the problem. > > regards, > vibhor > > ############################################################################### > Vibhor Garg > > Graduate Student Home Address: > Computer Systems Engg. 15,Puffton Village, > Department of Electrical & Computer Engg. 1040 North Pleasant Street > University of Massachusetts, Amherst Amherst, MA - 01002 > MA,USA-01003 USA > Email: vgarg@ecs.umass.edu Phone: 413-549-4738 > ############################################################################### -- (_) ___ Ludovic JACOMME _ _ ( ) ( ) ( ) ( 6 ) Laboratoire LIP6, Equipe ASIM ( ) (_) ( _ ) Couloir 55-65, 2eme etage, ( )___ ( ) Universite P. et M. Curie (P6) (_____) (_) 4 place Jussieu, 75252 Paris Cedex 05 Tel: (33) 01.44.27.54.15 Fax: (33) 01.44.27.72.80 ICQ: 62526530 mailto: Ludovic.Jacomme@asim.lip6.fr http: //asim.lip6.fr/~ludo

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 22 March 2001.