alliance-support '1998
Re: Help for generating core.c and <component.c> for structural


Czo [Olivier SIROL] (Olivier.Sirol@asim.lip6.fr)
Tue, 08 Sep 1998 17:07:32 +0200

Yashesh Bhatia wrote: I used the following steps for the design flow. ------------------------------------------------------------------------ 1 I captured a behavioral view for a two input and_gate as and2bit.vbe. 2 I then compliled the and2bit.vbe using following command : $MBK_WORK_LIB asimut -b -c and2bit.vbe The compilation was successful. 3 I then created a correct pattern file viz. and2bit.pat using the alliance tool genpat and a and2bit.c file. 4 I was then able to successfully simulate the behavioral view and2bit.vbe using following command. $MBK_WORK_LIB asimut -b and2bit and2bit spc1 Here I got spc1.pat file without andy error. ok... 5 This is the step where I am getting stuck. My target is to "generate" a structural view as and2bit.vst so that I can use asimut to simulate the same using the pattern file and2bit.pat file using following command. $MBK_WORK_LIB asimut and2bit and2bit spc2 But how do I generate the and2bit.vst file? Yes I know that it can be generated using the tool genlib. But that tool requires two files as parameter viz. core.c and and2bit.c Hence my questions are as follows: you don't need any core.c Question1 : Shall I have to write this and2bit.c file myself or is there any tool available to generate this file from the and2bit.vbe which I might be missing or not aware of? you can : - write the structural vhdl yourself - write some C and generate structural vhdl whith genlib - use scmap Question2 : What about core.c file where to get that file from or is it generated by another tool. Also, I have looked at the core.c for the 2 tutorial examples addacu and amd2901. Should I use either one of them with modifications ? Again,you don't need any core.c if you just want structural vhdl view of your and2bit 6 I tried generating and2bit.vst file using alliance tools bop and scmap respectively and I was successful to get and2bit.vst. But when I tried simulating this and2bit.vst file using following command: $MBK_WORK_LIB asimut and2bit and2bit spc2 Here I got errors of the type : Illegal connections on signal 'xx' cannot continue further more Have a nice day... It might be a bug in bop or scmap, try those progs whith some other options... and it should work ok... -- Sincerely, Olivier. ==================================================================== Olivier SIROL Alliance Team ASIM/LIP6/UPMC Coul. 55-65, 2e etg, Bur. 213 75252 Paris Cedex 05 mailto:Olivier.Sirol@lip6.fr Tel: (33/0) 1.44.27.74.78 http://asim.lip6.fr/~czo/ Fax: (33/0) 1.44.27.72.80

 



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