- remove dead code in lax parser

- C indent :)
- new feature, we can now use float instead of pure integer in Delay/Capa parameters
- merge loon and boog lax parser code
This commit is contained in:
Ludovic Jacomme 2004-09-04 21:45:25 +00:00
parent 667c411d14
commit 021241e122
5 changed files with 730 additions and 895 deletions

File diff suppressed because it is too large Load Diff

View File

@ -76,17 +76,17 @@ extern void savefilelax __P ((char *filename));
/***************************************************************************/
/* return the delay (in ps exp-12) of name for an input in lax file */
/***************************************************************************/
extern float getdelaylax __P ((char *name));
extern double getdelaylax __P ((char *name));
/***************************************************************************/
/* return the impedance(R in Ohm) of name for an input in lax file */
/***************************************************************************/
extern float getimpedancelax __P ((char *name));
extern double getimpedancelax __P ((char *name));
/***************************************************************************/
/* return the fanout(C in pF exp-12) of name for an output in lax file */
/***************************************************************************/
extern float getcapacitancelax __P ((char *name));
extern double getcapacitancelax __P ((char *name));
/***************************************************************************/
/* return the number of buffers to put after input in lax file */
@ -106,10 +106,17 @@ extern int signalsavelax __P ((char *signame));
/***************************************************************************/
extern int getoptimlax __P (());
/***************************************************************************/
/* return 1 if lax matches with lofig */
/* look if all referenced names are in lofig */
/***************************************************************************/
extern int coherencelaxlofig __P ((lofig_list* lofig));
/***************************************************************************/
/* return 1 if lax matches with befig */
/* lokk if all referenced names are in befig */
/***************************************************************************/
extern int coherencelax __P ((befig_list* befig));
extern int coherencelaxbefig __P ((befig_list* befig));
#endif

View File

@ -309,7 +309,7 @@ extern int main (int argc, char* argv[])
/*check coherence between LAX and befig*/
if (lax_file) {
fprintf(stdout,"Controlling file '%s.lax'...\n",lax_file);
if (!coherencelax(befig)) exit(1);
if (!coherencelaxbefig(befig)) exit(1);
}
/*check file error not detected by parser*/

View File

@ -31,6 +31,7 @@
#include <mut.h>
#include <mlo.h>
#include <abl.h>
#include <abe.h>
#include <aut.h>

View File

@ -38,6 +38,7 @@
#endif
#include <mut.h>
#include <mlo.h>
#include <abl.h>
#include <abe.h>
#include "bog_lax_param.h"