13#define TRG_SHORT_NAMES
18#include "trg/trg/Utilities.h"
19#include "trg/cdc/FrontEnd.h"
25#define NAME "TRGCDCFrontEndImplementation"
26#define VERSION "version 0.00"
27#define NOT_CONNECTED 99999
30main(
int argc,
const char* argv[])
33 cout << NAME <<
" ... " << VERSION << endl;
34 const string tab =
" ";
38 cout << NAME <<
" !!! one argument necessary" << endl
39 << tab <<
" 1 : Version for new config file" << endl;
44 string ts0 = TRGUtil::dateStringF();
45 string ts1 = TRGUtil::dateString();
48 const string version = argv[1];
51 const string outname =
"TRGCDCFrontEndImplementation_" + version +
"_"
55 ofstream outfile(outname.c_str(), ios::out);
57 cout << NAME <<
" !!! can not open file" << endl
58 <<
" " << outname << endl;
63 outfile <<
"-- Generated by " << NAME <<
" " << VERSION << endl;
65 outfile <<
"-- " << ts1 << endl;
66 outfile <<
"--" << endl;
71 cout << NAME <<
" ... terminated" << endl;
static int implementation(const boardType &type, std::ofstream &)
make a VHDL component file.
static std::string version(void)
returns version.
Abstract base class for different kinds of events.