Bitstream Interpretation Library (BIL)  0.1
bit2xmlMsgs.cpp
Go to the documentation of this file.
1 
7 
8 
9 const char* const SPLASH_MSG =
10  "bit2xml 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 WRITING_XML_MSG =
19  "Writing XML...\n";
20 
21 const char* const WRITING_STYLESHEETS_MSG =
22  "Writing stylesheets...\n";
23 
24 const char* const FINISHED_MSG =
25  "Finished.\n";
26 
27 const char* const INFO_MSG =
28  "\n\nUsage: bit2xml [-s] <bitfile> [<xmlfile>]\n"
29  "Where:\n"
30  "-s = Create also xsl and css stylesheets\n"
31  "<bitfile> = Name of input bitfile to open\n"
32  "<xmlfile> = Name of output XML file\n\n"
33  "bit2xml: Converts a Xilinx bitfile into a human readable xml file.\n\n";
34 
35 
36 const char* const ERROR_MSG =
37  "Error: ";
38 
39 const char* const ERROR_UNKNOWN_MSG =
40  "Unknown error occurred.\n";
41 
42 
43 const char* const ERROR_TOO_MANY_PARAMETERS_MSG =
44  "Too many parameters!";
45 
46 const char* const ERROR_UNKNOWN_OPTION_1_MSG =
47  "Unknown option \"";
48 
49 const char* const ERROR_UNKNOWN_OPTION_2_MSG =
50  "\"!";
51 
52 const char* const ERROR_NO_INPUT_FILE_MSG=
53  "No input bitfile specified!";
54 
55 
56 const char* const XML_HEADER =
57  "xml";
58 
59 const char* const XML_HEADER_DATA =
60  "version=\"1.0\" encoding=\"iso-8859-1\"";
61 
62 const char* const XML_STYLESHEET_HEADER =
63  "xml-stylesheet";
64 
65 const char* const XML_STYLESHEET_HEADER_DATA =
66  "type=\"text/xsl\" href=\"disassembly.xsl\"";
67 
68 
69 const char* const XML_ELEMENT_BITFILE =
70  "bitfile";
71 
72 const char* const XML_ELEMENT_FILENAME =
73  "filename";
74 
75 const char* const XML_ELEMENT_META =
76  "meta";
77 
78 const char* const XML_ELEMENT_PACKETS =
79  "packets";
80 
81 
82 const char* const XSL_FILENAME =
83  "disassembly.xsl";
84 
85 const char* const CSS_FILENAME =
86  "disassembly.css";
87 
88 const char* const XML_FILE_EXT =
89  ".xml";