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