Bitstream Interpretation Library (BIL)  0.1
bitextractMsgs.cpp
Go to the documentation of this file.
1 
7 
8 
9 const char* const SPLASH_MSG =
10  "bitextract version 0.1\nCopyright (c) 2011 Florian Benz\n\n";
11 
12 const char* const LOADING_BITFILE_MSG =
13  "Loading bitfile...\n";
14 
15 const char* const DECODING_BITSTREAM_MSG =
16  "Decoding bitstream...\n";
17 
18 const char* const LOADING_DEVICELIST_MSG =
19  "Loading device list...\n";
20 
21 const char* const DETECTING_TARGETDEVICE_MSG =
22  "Detecting target device...\n";
23 
24 const char* const LOADING_ADDRESSLAYOUT1_MSG =
25  "Loading address layout for ";
26 
27 const char* const LOADING_ADDRESSLAYOUT2_MSG =
28  "...\n";
29 
30 const char* const EXECUTING_BITSTREAM_MSG =
31  "Executing bitstream...\n";
32 
33 const char* const WRITING_CFG_MSG =
34  "Writing configuration data...\n";
35 
36 const char* const FINISHED_MSG =
37  "Finished.\n";
38 
39 const char* const INFO_MSG =
40  "\n\nUsage: bitextract [-dp <datapath>] <bitfile>\n"
41  " [<cfgfile> <indexfile>]\n"
42  "Where:\n"
43  "<bitfile> = Name of input bitfile to open\n"
44  "<cfgfile> = Name of output binary configuration data file\n"
45  "<indexfile> = Name of output text index file\n"
46  "<datapath> = Path to device data files\n\n"
47  "bitextract: Extracts configuration frames out of a Xilinx bitfile into a\n"
48  " binary file.\n\n";
49 
50 
51 const char* const ERROR_MSG =
52  "Error: ";
53 
54 const char* const ERROR_UNKNOWN_MSG =
55  "Unknown error occurred.\n";
56 
57 
58 const char* const ERROR_TOO_MANY_PARAMETERS_MSG =
59  "Too many parameters!";
60 
61 const char* const ERROR_UNKNOWN_OPTION_1_MSG =
62  "Unknown option \"";
63 
64 const char* const ERROR_UNKNOWN_OPTION_2_MSG =
65  "\"!";
66 
67 const char* const ERROR_NO_INPUT_FILE_MSG =
68  "No input bitfile specified!";
69 
70 const char* const ERROR_NO_DATAPATH_MSG =
71  "No data path specified!";
72 
73 
74 const char* const V5DEVICES_FILENAME =
75  "\\v5devices.lst";
76 
77 const char* const CAL_FILE_EXT =
78  ".cal";
79 
80 const char* const CFG_FILE_EXT =
81  ".bin";
82 
83 const char* const INDEX_FILE_EXT =
84  ".txt";
85 
86 const char* const INDEX_FILE_HEADER =
87  "; Created by bitextract\n"
88  "; Lines are laid out as follows:\n"
89  "; <raw frame address> <byte offset in configuration file> <decoded frame address>:<column type>\n\n";