Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / tas / stm / stm_cell_print.c
1 /****************************************************************************/
2 /* */
3 /* Chaine de CAO & VLSI AVERTEC */
4 /* */
5 /* Produit : STM Version 1.00 */
6 /* Fichier : stm_cell_print.c */
7 /* */
8 /* (c) copyright 2000 AVERTEC */
9 /* Tous droits reserves */
10 /* */
11 /* Auteur(s) : Gilles Augustins */
12 /* */
13 /****************************************************************************/
14
15 /****************************************************************************/
16 /* includes */
17 /****************************************************************************/
18
19 #include "stm.h"
20
21 /****************************************************************************/
22 /* functions */
23 /****************************************************************************/
24
25 void stm_cell_print (FILE *f, timing_cell *cell)
26 {
27 chain_list *ch;
28
29 fprintf (f, "cell (\n");
30 fprintf (f, "\tname (%s)\n", cell->NAME);
31
32 for (ch = cell->MODEL_LIST; ch; ch = ch->NEXT)
33 stm_mod_print (f, (timing_model*)ch->DATA);
34
35 fprintf(f, ")\n\n");
36 }
37
38 /****************************************************************************/
39 #if 0
40 void stm_cell_printfct (FILE *f, timing_cell *cell)
41 {
42 chain_list *ch;
43 sim_model *sc;
44
45 fprintf (f, "SimulationContext *SC;\n\n");
46
47 for (ch = cell->SIM_MODEL_LIST; ch; ch = ch->NEXT) {
48 sc = (sim_model*)ch->DATA;
49 sim_DriveContext(sc, f);
50 }
51 }
52
53 #endif