Bitstream Interpretation Library (BIL)  0.1
bitcorrelateMsgs.cpp
Go to the documentation of this file.
1 
7 
8 
9 const char* const SPLASH_MSG =
10  "bitcorrelate version 0.1\nCopyright (c) 2011 Florian Benz\n\n";
11 
12 const char* const PARSING_XDL_HEADER_MSG =
13  "Parsing XDL header...\n";
14 
15 const char* const LOADING_DEVICE1_MSG =
16  "Loading device ";
17 
18 const char* const LOADING_DEVICE2_MSG =
19  "... \n";
20 
21 const char* const PARSING_XDL_MSG =
22  "Parsing XDL...\n";
23 
24 const char* const LOADING_CFGTILEMAP_MSG =
25  "\nLoading configuration tile map file...\n";
26 
27 const char* const LOADING_BITFILE_MSG =
28  "\nLoading bitfile...\n";
29 
30 const char* const DECODING_BITSTREAM_MSG =
31  "Decoding bitstream...\n";
32 
33 const char* const LOADING_DEVICELIST_MSG =
34  "Loading device list...\n";
35 
36 const char* const LOADING_ADDRESSLAYOUT1_MSG =
37  "Loading address layout for ";
38 
39 const char* const LOADING_ADDRESSLAYOUT2_MSG =
40  "...\n";
41 
42 const char* const EXECUTING_BITSTREAM_MSG =
43  "Executing bitstream...\n";
44 
45 const char* const DOING_CORRELATION_MSG =
46  "\nDoing correlation...\n";
47 
48 const char* const WRITING_DATABASE_MSG =
49  "\nWriting database...\n";
50 
51 const char* const WRITING_STATS_MSG =
52  "Writing statistics...\n";
53 
54 const char* const FINISHED_MSG =
55  "\nFinished.\n";
56 
57 const char* const INFO_MSG =
58  "\n\nUsage: bitcorrelate [-dp <datapath>] [-s <statsfile>]\n"
59  " <xdlfile> <bitfile> <dbfile>\n"
60  "Where:\n"
61  "<xdlfile> = Name of input XDL design file\n"
62  "<bitfile> = Name of corresponding bitfile\n"
63  "<dbfile> = Name of output database file\n"
64  "<datapath> = Path to device data files\n"
65  "<statsfile> = Name of output statistics file\n\n"
66  "bitcorrelate: Reads in a XDL design, and its corresponding bitstream.\n"
67  " By correlating both data sets it retrieves bit positions\n"
68  " of the PIPs and configuration options.\n\n";
69 
70 
71 const char* const ERROR_MSG =
72  "Error: ";
73 
74 const char* const ERROR_UNKNOWN_MSG =
75  "Unknown error occurred.\n";
76 
77 
78 const char* const ERROR_TOO_MANY_PARAMETERS_MSG =
79  "Too many parameters!";
80 
81 const char* const ERROR_UNKNOWN_OPTION_1_MSG =
82  "Unknown option \"";
83 
84 const char* const ERROR_UNKNOWN_OPTION_2_MSG =
85  "\"!";
86 
87 const char* const ERROR_NO_BIT_FILE_MSG =
88  "No bitfile specified!";
89 
90 const char* const ERROR_NO_XDL_FILE_MSG =
91  "No XDL file specified!";
92 
93 const char* const ERROR_NO_DB_FILE_MSG =
94  "No data base file specified!";
95 
96 const char* const ERROR_NO_STATSFILE_MSG =
97  "No statistics file specified!";
98 
99 const char* const ERROR_NO_DATAPATH_MSG =
100  "No data path specified!";
101 
102 
103 const char* const DEVICE_FILE_EXT = ".dev";
104 
105 const char* const MAP_FILE_EXT = ".map";
106 
107 const char* const V5DEVICES_FILENAME = "\\v5devices.lst";
108 
109 const char* const CAL_FILE_EXT = ".cal";