1 /*
2  * Copyright (c) Tony Bybell 2003-2010.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  */
9 
10 #include "globals.h"
11 
12 #ifndef WAVE_LX2RDR_H
13 #define WAVE_LX2RDR_H
14 
15 #ifdef HAVE_INTTYPES_H
16 #include <inttypes.h>
17 #endif
18 
19 #include "vcd.h"
20 #include "ae2.h"
21 
22 #define F_NAME_MODULUS (3)
23 
24 enum LXT2_Loader_Type_Encodings { LXT2_IS_INACTIVE, LXT2_IS_LXT2, LXT2_IS_VZT, LXT2_IS_AET2, LXT2_IS_VLIST, LXT2_IS_FST, LXT2_IS_FSDB };
25 
26 #ifdef WAVE_USE_STRUCT_PACKING
27 #pragma pack(push)
28 #pragma pack(1)
29 #endif
30 
31 struct lx2_entry
32 {
33 struct HistEnt *histent_head, *histent_curr;
34 int numtrans;
35 nptr np;
36 };
37 
38 #ifdef WAVE_USE_STRUCT_PACKING
39 #pragma pack(pop)
40 #endif
41 
42 
43 TimeType lx2_main(char *fname, char *skip_start, char *skip_end);
44 void import_lx2_trace(nptr np);
45 
46 void lx2_set_fac_process_mask(nptr np);
47 void lx2_import_masked(void);
48 
49 #endif
50 
51