alliance-support '01
Re: Genpat Help


Ludovic JACOMME (Ludovic.JACOMME@asim.lip6.fr)
Wed, 17 Oct 2001 10:28:31 +0200

Hi, On Wed, Oct 17, 2001 at 01:10:40AM -0700, John De Beloved wrote: > > Hi sir, > > I just started learning Alliance and I'm on the Design of the 1-bit > full adder tutorial. I've got stuck on the genpat part because I > recieved an error and I dont know what to do. The Asimut went fine. > The codes I used for .vbe and.c are from the alliance site > specifically here: > http://www-asim.lip6.fr/alliance/doc/jumpstart/Examples/FullAdder.html In the new genpat version there are 6 arguments for the DECLAR macro. In the source code halfadder.c you have to replace : DECLAR ( "Vdd", ":0", "B", IN, "" ); DECLAR ( "Vss", ":5", "B", IN, "" ); DECLAR ( "A", ":2", "B", IN, "" ); DECLAR ( "B", ":2", "B", IN, "" ); DECLAR ( "Sum", ":2", "B", OUT, "" ); DECLAR ( "Carry", ":2", "B", OUT, "" ); by DECLAR ( "Vdd", ":0", "B", IN, "", "" ); DECLAR ( "Vss", ":5", "B", IN, "", "" ); DECLAR ( "A", ":2", "B", IN, "", "" ); DECLAR ( "B", ":2", "B", IN, "", "" ); DECLAR ( "Sum", ":2", "B", OUT, "", "" ); DECLAR ( "Carry", ":2", "B", OUT, "", "" ); > > > Here are the errors I recieved: > > halfadder.c: In function `main': > halfadder.c:89: too few arguments to function `d_DECLAR' > halfadder.c:90: too few arguments to function `d_DECLAR' > halfadder.c:91: too few arguments to function `d_DECLAR' > halfadder.c:92: too few arguments to function `d_DECLAR' > halfadder.c:93: too few arguments to function `d_DECLAR' > halfadder.c:94: too few arguments to function `d_DECLAR' > make: *** [halfadder] Error 1 > bash-2.02$ exit > > Please help me sir in resolving this error. I dont know where the problem is. > > Thanks > > John DB > > --------------------------------- > Do You Yahoo!? > Make a great connection at Yahoo! Personals. Best regards, Ludo (_) ___ Ludovic JACOMME _ _ ( ) ( ) ( ) ( 6 ) Laboratoire LIP6, Equipe ASIM ( ) (_) ( _ ) Couloir 65-66, 4eme etage Porte 405, ( )___ ( ) Universite P. et M. Curie (P6) (_____) (_) 4 place Jussieu, 75252 Paris Cedex 05 Tel: (33) 01.44.27.27.06 01.44.27.54.15 Fax: (33) 01.44.27.72.80 ICQ: 62526530 mailto: Ludovic.Jacomme@asim.lip6.fr http: //www-asim.lip6.fr/~ludo

 



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