Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / tas / trc / trc_drvrcx.h
1 // Ouverture du fichier
2 rcxfile* rcx_init_driver( lofig_list *lofig, int iscache );
3
4 // Fermeture du fichier
5 void rcx_drive_end( rcxfile *file, lofig_list *lofig );
6
7 // Affiche la liste des instances
8 void rcxprintinstance( rcxfile *file, lofig_list *lofig );
9
10 // Sort une ligne dans le fichier
11 void rcx_file_print( rcxfile *file, ... );
12
13 // Alloue une structure rcxfile
14 rcxfile* rcx_file_alloc( void );
15
16 // Renvoie une liste chainée des losig, les externes, puis null, puis les
17 // internes.
18 chain_list* rcx_driver_sort_losig( lofig_list *lofig );
19
20 // Sort le séparateur signaux externes / internes
21 void rcx_end_external( rcxfile *file );
22
23 // Sort l'en tête d'un signal
24 void rcx_drive_signal_header( rcxfile *file, losig_list *losig, rcx_list *rcx );
25
26 // Sort la fin d'un signal
27 void rcx_drive_signal_end( rcxfile *file, losig_list *losig );
28
29 // Sort le début de la description d'un RC
30 void rcx_drive_begin_net( rcxfile *file );
31
32 // Sort la fin de la description d'un RC
33 void rcx_drive_end_net( rcxfile *file );
34
35 // Drive une résistance
36 void rcx_drive_wire( rcxfile *file, int n1, int n2, float r, float c );
37
38 // Drive une capacité à la masse
39 void rcx_drive_ground_capa( rcxfile *file, int n, float c );
40
41 // Drive une capacité de couplage ni
42 void rcx_drive_ctcni_capa( rcxfile *file, int n, float c );
43
44 // Drive une capacité de couplage
45 void rcx_drive_ctc_capa( rcxfile *file, int n, float c, char *agrname, int nodeagr );
46
47 // Drive l'origine des signaux
48 void rcxprintorigin( rcxfile *file, losig_list *losig );
49
50 // Drive les signaux bellow
51 void rcxprintbellow( rcxfile *file, losig_list *losig );
52
53 // Drive les locon
54 void rcxprintlocon( rcxfile *file, rcx_list *rcxdata );
55
56 // Fonctions internes
57 int rcxneeddriveloins( loins_list *loins );
58 void rcx_vect( char *s );
59 char trc_getlocondir(locon_list*);
60
61 #define RCX_NAME_FOR_DRIVE 0x5243581D