VPR-7.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
read_xml_arch_file.h
Go to the documentation of this file.
1 #ifndef READ_XML_ARCH_FILE_H
2 #define READ_XML_ARCH_FILE_H
3 
4 #include "util.h"
5 #include "arch_types.h"
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 /* special type indexes, necessary for initialization, everything afterwards
12  should use the pointers to these type indices*/
13 
14 #define NUM_MODELS_IN_LIBRARY 4
15 #define EMPTY_TYPE_INDEX 0
16 #define IO_TYPE_INDEX 1
17 
18 /* function declarations */
19 void
20 XmlReadArch( INP const char *ArchFile, INP boolean timing_enabled,
21  OUTP struct s_arch *arch, OUTP t_type_descriptor ** Types,
22  OUTP int *NumTypes);
23 void
24 EchoArch( INP const char *EchoFile, INP const t_type_descriptor * Types,
25  INP int NumTypes, struct s_arch *arch);
26 
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif
33 
void EchoArch(INP const char *EchoFile, INP const t_type_descriptor *Types, INP int NumTypes, struct s_arch *arch)
void XmlReadArch(INP const char *ArchFile, INP boolean timing_enabled, OUTP struct s_arch *arch, OUTP t_type_descriptor **Types, OUTP int *NumTypes)
#define INP
Definition: util.h:19
#define OUTP
Definition: util.h:20