 |
Belle II Software
release-05-02-19
|
14 #ifndef TRGCDCJSignalData_FLAG_
15 #define TRGCDCJSignalData_FLAG_
21 #ifdef TRGCDC_SHORT_NAMES
22 #define JSignalData TRGCDCJSignalData
59 std::map<std::string, std::vector<int> >
const&
getSignals()
const;
void buffersVhdlCode()
Function to print buffer VHDL code.
std::string m_vhdlOutProcess
Holds VHDL out of process code.
std::map< std::string, std::vector< int > > const & getSignals() const
Gets the signals that were saved for one line of VHDL.
std::string getVhdlInProcess() const
Gets the VHDL code that are in a process statement.
std::map< std::string, std::vector< int > > m_buffers
vector<int> is {type, bitwidth, buffer} Holds all the requried VHDL buffers.
std::string m_vhdlDefine
Holds VHDL define code.
void setVhdlOutputFile(std::string)
Sets the filename for VHDL output.
std::string getVhdlOutProcess() const
Gets the VHDL code that are outside a process statement.
void printToFile()
Utilities Function to print VHDL code.
bool getPrintedToFile() const
Gets the status of m_printedToFile.
void setPrintVhdl(bool)
Sets if to print VHDL output.
std::string m_vhdlOutputFile
Memebers.
bool m_printVhdl
Status if code should be printed.
A class to use Signals for TRGCDC 3D tracker.
TRGCDCJSignalData()
Constructor for class.
void setPrintedToFile(bool)
Set to remember that file was printed.
void setVhdlInProcess(std::string)
Set the VHDL code that are in a process statement.
void entryVhdlCode()
Function to print entry VHDL code.
A class to hold common data for JSignals.
Abstract base class for different kinds of events.
bool m_printedToFile
Statis if VHDL is printed to file.
A class to use LUTs for TRGCDC.
bool getPrintVhdl() const
Gets the status of m_printVhdl.
std::map< std::string, std::vector< int > > m_signals
Holds all the requried VHDL signals.
std::string m_vhdlEntry
Holds VHDL entry code.
void setVhdlOutProcess(std::string)
Set the VHDL code that is outside a process statement.
std::string getVhdlOutputFile() const
Get the VHDL output code.
std::string m_vhdlInProcess
Holds VHDL process code.
void signalsVhdlCode()
Function to print definition of signal VHDL code.
std::map< std::string, bool > m_arrayType
Holds all the required VHDL types.
std::string getVhdlDefine() const
Gets the VHDL code for define statement.