ICP  1
Public Member Functions | Protected Attributes | List of all members
SIMEnvPeriodCard< EnvPeriodPolicy > Class Template Reference

#include <QxtrmSimulation.h>

Inheritance diagram for SIMEnvPeriodCard< EnvPeriodPolicy >:
Inheritance graph

Public Member Functions

 SIMEnvPeriodCard (int position, VMESimulationIface *vme, FaultMode fault_mode, DAEstatus &status)
 
virtual ~SIMEnvPeriodCard ()
 
virtual void printStatus (std::ostream &os)
 
virtual void updateCardAfterWrite (DAEstatus &status)
 
virtual void updateCardAfterRead (DAEstatus &status)
 
virtual void simulate (int delay)
 
int frameNumber ()
 
- Public Member Functions inherited from SIMDAE2Card< EnvPeriodPolicy >
 SIMDAE2Card (int position, VMESimulationIface *vme, isisU32_t firmware, bool fw32, FaultMode fault_mode, DAEstatus &status)
 
int position ()
 
virtual ~SIMDAE2Card ()
 
int read16 (ISISVME::TransferProps props, unsigned long address, isisU16_t *data16, long nitems, DAEstatus &status)
 
int read32 (ISISVME::TransferProps props, unsigned long address, isisU32_t *data32, long nitems, DAEstatus &status)
 
int write16 (ISISVME::TransferProps props, unsigned long address, isisU16_t *data16, long nitems, DAEstatus &status)
 
int write32 (ISISVME::TransferProps props, unsigned long address, isisU32_t *data32, long nitems, DAEstatus &status)
 
std::vector< sim_mapping > & mapping ()
 
int addMapping (ISISVME::TransferProps props, isisU32_t address, int n, isisU32_t *var, const char *name, bool readable, bool writable, isisU32_t *access_reg, unsigned access_bit, bool wrap, bool sixteen_bit_access, FaultMode fault_mode)
 
int addMapping (ISISVME::TransferProps props, isisU32_t address, int n, uint64_t *var, const char *name, bool readable, bool writable, isisU32_t *access_reg, unsigned access_bit, bool wrap, bool sixteen_bit_access, FaultMode fault_mode)
 
int addMapping (ISISVME::TransferProps props, const unused_t &address, int n, isisU32_t *var, const char *name, bool readable, bool writable, isisU32_t *access_reg, unsigned access_bit, bool wrap, bool sixteen_bit_access, FaultMode fault_mode)
 
int addMapping (ISISVME::TransferProps props, const unused_t &address, int n, uint64_t *var, const char *name, bool readable, bool writable, isisU32_t *access_reg, unsigned access_bit, bool wrap, bool sixteen_bit_access, FaultMode fault_mode)
 
bool isVetoing ()
 
bool isRunning ()
 
CardType type ()
 

Protected Attributes

isisU32_t m_main_period_counter
 
isisU32_t m_main_period_limit
 
isisU32_t m_period_sequence_counter
 
isisU32_t m_period_sequence_limit
 
isisU32_t m_ext_period_overflow_veto_counter
 
isisU32_t m_period_increment_total
 
isisU32_t m_period_output_delay
 
isisU32_t m_lookup
 
isisU32_t m_period_control
 
isisU32_t m_alt1_fw
 
isisU32_tm_perlut
 
isisU32_tm_outlut
 
isisU32_tm_rawframes
 
isisU32_tm_goodframes
 
EnvPeriodPolicy::ppp_memory_t * m_rawproton0
 
EnvPeriodPolicy::ppp_memory_t * m_goodproton0
 
isisU32_tm_rawproton1
 
isisU32_tm_goodproton1
 
isisU32_tm_spare0
 
isisU32_tm_spare1
 
isisU32_t m_raw_frames
 
isisU32_t m_good_frames
 
isisU32_t m_raw_proton_low
 
isisU32_t m_raw_proton_high
 
isisU32_t m_good_proton_low
 
isisU32_t m_good_proton_high
 
isisU32_t m_fifo_veto_frames
 
isisU32_t m_smp_veto_frames
 
isisU32_t m_internal_veto_frames
 
isisU32_t m_external_veto0_frames
 
isisU32_t m_external_veto1_frames
 
isisU32_t m_external_veto2_frames
 
isisU32_t m_external_veto3_frames
 
isisU32_t m_fs_delay
 
isisU32_t m_chopper_window_delay
 
isisU32_t m_chopper_window_width
 
isisU32_t m_chopper_veto_frames
 
isisU32_t m_run_control
 
isisU32_t m_ms_veto_frames
 
isisU32_t m_veto
 
isisU32_t m_ts2_pulse_veto_frames
 
isisU32_t m_50hz_veto_frames
 
isisU32_t m_frame_time_low
 
isisU32_t m_frame_time_high
 
- Protected Attributes inherited from SIMDAE2Card< EnvPeriodPolicy >
int m_position
 
CardType m_type
 
VMESimulationIfacem_vme
 
bool m_veto_raised
 
bool m_is_running
 
std::vector< sim_mappingm_mapping
 
isisU32_t m_firmware
 
- Protected Attributes inherited from ISIS::Base
Poco::Logger * m_logger
 
Poco::LogStream * m_logstr
 
Poco::Mutex m_logger_lock
 

Additional Inherited Members

- Public Types inherited from SIMDAE2Card< EnvPeriodPolicy >
enum  CardType
 
- Static Public Member Functions inherited from SIMDAE2Card< EnvPeriodPolicy >
static void increment (int value, isisU32_t &low)
 
static void increment2 (int value, isisU32_t &low, isisU32_t &high)
 
static void increment3 (int value, isisU32_t &low, isisU32_t &middle, isisU32_t &high)
 
static void increment32 (int value, isisU32_t &low, isisU32_t &high)
 
static void increment32 (int value, uint64_t &low, isisU32_t &high)
 
- Protected Member Functions inherited from SIMDAE2Card< EnvPeriodPolicy >
std::string loggingPrefix () const
 
- Protected Member Functions inherited from ISIS::Base
 Base (const std::string &logger_name="UNKNOWN")
 
void setLoggerName (const std::string &logger_name)
 
virtual ~Base ()
 
void setThisLoggerLevel (int level)
 
- Static Protected Member Functions inherited from ISIS::Base
static void setAllLoggerLevel (int level)
 

Detailed Description

template<class EnvPeriodPolicy>
class SIMEnvPeriodCard< EnvPeriodPolicy >

Definition at line 18 of file QxtrmSimulation.h.

Constructor & Destructor Documentation

template<class EnvPeriodPolicy >
SIMEnvPeriodCard< EnvPeriodPolicy >::SIMEnvPeriodCard ( int  position,
VMESimulationIface vme,
FaultMode  fault_mode,
DAEstatus status 
)

Definition at line 8 of file sim_env_period_card.cpp.

References SIMDAE2Card< EnvPeriodPolicy >::addMapping(), SIMDAE2Card< EnvPeriodPolicy >::EnvPeriodCard, GFCNT0SIZE, GFCNT0START, GPCNT0START, isRegisterUsed(), LOGSTR_INFORMATION, LOOKTAR, SIMEnvPeriodCard< EnvPeriodPolicy >::m_50hz_veto_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_alt1_fw, SIMEnvPeriodCard< EnvPeriodPolicy >::m_chopper_veto_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_chopper_window_delay, SIMEnvPeriodCard< EnvPeriodPolicy >::m_chopper_window_width, SIMEnvPeriodCard< EnvPeriodPolicy >::m_ext_period_overflow_veto_counter, SIMEnvPeriodCard< EnvPeriodPolicy >::m_external_veto0_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_external_veto1_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_external_veto2_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_external_veto3_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_fifo_veto_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_frame_time_high, SIMEnvPeriodCard< EnvPeriodPolicy >::m_frame_time_low, SIMEnvPeriodCard< EnvPeriodPolicy >::m_fs_delay, SIMEnvPeriodCard< EnvPeriodPolicy >::m_good_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_good_proton_high, SIMEnvPeriodCard< EnvPeriodPolicy >::m_good_proton_low, SIMEnvPeriodCard< EnvPeriodPolicy >::m_goodframes, SIMEnvPeriodCard< EnvPeriodPolicy >::m_goodproton0, SIMEnvPeriodCard< EnvPeriodPolicy >::m_goodproton1, SIMEnvPeriodCard< EnvPeriodPolicy >::m_internal_veto_frames, SIMDAE2Card< EnvPeriodPolicy >::m_is_running, SIMEnvPeriodCard< EnvPeriodPolicy >::m_lookup, SIMEnvPeriodCard< EnvPeriodPolicy >::m_main_period_counter, SIMEnvPeriodCard< EnvPeriodPolicy >::m_main_period_limit, SIMEnvPeriodCard< EnvPeriodPolicy >::m_ms_veto_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_outlut, SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_control, SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_increment_total, SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_output_delay, SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_sequence_counter, SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_sequence_limit, SIMEnvPeriodCard< EnvPeriodPolicy >::m_perlut, SIMDAE2Card< EnvPeriodPolicy >::m_position, SIMEnvPeriodCard< EnvPeriodPolicy >::m_raw_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_raw_proton_high, SIMEnvPeriodCard< EnvPeriodPolicy >::m_raw_proton_low, SIMEnvPeriodCard< EnvPeriodPolicy >::m_rawframes, SIMEnvPeriodCard< EnvPeriodPolicy >::m_rawproton0, SIMEnvPeriodCard< EnvPeriodPolicy >::m_rawproton1, SIMEnvPeriodCard< EnvPeriodPolicy >::m_run_control, SIMEnvPeriodCard< EnvPeriodPolicy >::m_smp_veto_frames, SIMEnvPeriodCard< EnvPeriodPolicy >::m_spare0, SIMEnvPeriodCard< EnvPeriodPolicy >::m_spare1, SIMEnvPeriodCard< EnvPeriodPolicy >::m_ts2_pulse_veto_frames, SIMDAE2Card< EnvPeriodPolicy >::m_type, SIMEnvPeriodCard< EnvPeriodPolicy >::m_veto, SIMDAE2Card< EnvPeriodPolicy >::m_veto_raised, MPCNT, MPLIM, OUTLUTSIZE, OUTLUTSTART, PCREG, PERLUTSIZE, PERLUTSTART, PSCNT, PSLR, RFCNT0SIZE, RFCNT0START, RPCNT0START, ISIS::Base::setLoggerName(), TAROUTLUT, TARPERLUT, ISISVME::TransferIORegisterSpace, and ISISVME::TransferLUTSpace.

template<class EnvPeriodPolicy >
SIMEnvPeriodCard< EnvPeriodPolicy >::~SIMEnvPeriodCard ( )
virtual

Definition at line 243 of file sim_env_period_card.cpp.

Member Function Documentation

template<class EnvPeriodPolicy >
int SIMEnvPeriodCard< EnvPeriodPolicy >::frameNumber ( )
inline
template<class EnvPeriodPolicy >
void SIMEnvPeriodCard< EnvPeriodPolicy >::printStatus ( std::ostream &  os)
virtual

Implements SIMDAE2Card< EnvPeriodPolicy >.

Definition at line 91 of file sim_env_period_card.cpp.

template<class EnvPeriodPolicy >
void SIMEnvPeriodCard< EnvPeriodPolicy >::simulate ( int  delay)
virtual

Implements SIMDAE2Card< EnvPeriodPolicy >.

Definition at line 147 of file sim_env_period_card.cpp.

References PCENAB, PCENDAFTER, PCENDSEQCOMP, PCMULCOMP, and PCMULENAB.

template<class EnvPeriodPolicy >
void SIMEnvPeriodCard< EnvPeriodPolicy >::updateCardAfterRead ( DAEstatus status)
virtual

Implements SIMDAE2Card< EnvPeriodPolicy >.

Definition at line 142 of file sim_env_period_card.cpp.

template<class EnvPeriodPolicy >
void SIMEnvPeriodCard< EnvPeriodPolicy >::updateCardAfterWrite ( DAEstatus status)
virtual

Implements SIMDAE2Card< EnvPeriodPolicy >.

Definition at line 97 of file sim_env_period_card.cpp.

References PCCLRPC, and PCRESET.

Member Data Documentation

template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_50hz_veto_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_alt1_fw
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_chopper_veto_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_chopper_window_delay
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_chopper_window_width
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_ext_period_overflow_veto_counter
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_external_veto0_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_external_veto1_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_external_veto2_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_external_veto3_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_fifo_veto_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_frame_time_high
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_frame_time_low
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_fs_delay
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_good_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_good_proton_high
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_good_proton_low
protected
template<class EnvPeriodPolicy >
isisU32_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_goodframes
protected
template<class EnvPeriodPolicy >
EnvPeriodPolicy::ppp_memory_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_goodproton0
protected
template<class EnvPeriodPolicy >
isisU32_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_goodproton1
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_internal_veto_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_lookup
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_main_period_counter
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_main_period_limit
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_ms_veto_frames
protected
template<class EnvPeriodPolicy >
isisU32_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_outlut
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_control
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_increment_total
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_output_delay
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_sequence_counter
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_period_sequence_limit
protected
template<class EnvPeriodPolicy >
isisU32_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_perlut
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_raw_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_raw_proton_high
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_raw_proton_low
protected
template<class EnvPeriodPolicy >
isisU32_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_rawframes
protected
template<class EnvPeriodPolicy >
EnvPeriodPolicy::ppp_memory_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_rawproton0
protected
template<class EnvPeriodPolicy >
isisU32_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_rawproton1
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_run_control
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_smp_veto_frames
protected
template<class EnvPeriodPolicy >
isisU32_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_spare0
protected
template<class EnvPeriodPolicy >
isisU32_t* SIMEnvPeriodCard< EnvPeriodPolicy >::m_spare1
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_ts2_pulse_veto_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvPeriodCard< EnvPeriodPolicy >::m_veto
protected

The documentation for this class was generated from the following files: