![]() |
Belle II Software
release-05-01-25
|
A class to hold common data for JSignals. More...
#include <JSignalData.h>
Public Member Functions | |
TRGCDCJSignalData () | |
Constructor for class. | |
void | setVhdlOutputFile (std::string) |
Sets the filename for VHDL output. | |
void | setPrintVhdl (bool) |
Sets if to print VHDL output. | |
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 | setVhdlOutProcess (std::string) |
Set the VHDL code that is outside a process statement. | |
std::string | getVhdlOutputFile () const |
Get the VHDL output code. | |
bool | getPrintVhdl () const |
Gets the status of m_printVhdl. | |
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 | getVhdlInProcess () const |
Gets the VHDL code that are in a process statement. | |
std::string | getVhdlOutProcess () const |
Gets the VHDL code that are outside a process statement. | |
std::string | getVhdlDefine () const |
Gets the VHDL code for define statement. | |
void | printToFile () |
Utilities Function to print VHDL code. | |
void | buffersVhdlCode () |
Function to print buffer VHDL code. | |
void | signalsVhdlCode () |
Function to print definition of signal VHDL code. | |
void | entryVhdlCode () |
Function to print entry VHDL code. | |
Private Attributes | |
std::string | m_vhdlOutputFile |
Memebers. More... | |
std::string | m_vhdlEntry |
Holds VHDL entry code. | |
std::string | m_vhdlDefine |
Holds VHDL define code. | |
std::string | m_vhdlInProcess |
Holds VHDL process code. | |
std::string | m_vhdlOutProcess |
Holds VHDL out of process code. | |
bool | m_printVhdl |
Status if code should be printed. | |
bool | m_printedToFile |
Statis if VHDL is printed to file. | |
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. | |
std::map< std::string, bool > | m_arrayType |
Holds all the required VHDL types. | |
Friends | |
class | TRGCDCJSignal |
class | TRGCDCJLUT |
A class to hold common data for JSignals.
Definition at line 34 of file JSignalData.h.
|
private |