1 /****************************************************************************/
3 /* Chaine de CAO & VLSI AVERTEC */
5 /* Produit : STM Version 1.00 */
6 /* Fichier : stm_cell_print.c */
8 /* (c) copyright 2000 AVERTEC */
9 /* Tous droits reserves */
11 /* Auteur(s) : Gilles Augustins */
13 /****************************************************************************/
15 /****************************************************************************/
17 /****************************************************************************/
21 /****************************************************************************/
23 /****************************************************************************/
25 void stm_cell_print (FILE *f
, timing_cell
*cell
)
29 fprintf (f
, "cell (\n");
30 fprintf (f
, "\tname (%s)\n", cell
->NAME
);
32 for (ch
= cell
->MODEL_LIST
; ch
; ch
= ch
->NEXT
)
33 stm_mod_print (f
, (timing_model
*)ch
->DATA
);
38 /****************************************************************************/
40 void stm_cell_printfct (FILE *f
, timing_cell
*cell
)
45 fprintf (f
, "SimulationContext *SC;\n\n");
47 for (ch
= cell
->SIM_MODEL_LIST
; ch
; ch
= ch
->NEXT
) {
48 sc
= (sim_model
*)ch
->DATA
;
49 sim_DriveContext(sc
, f
);