ICP  1
sim_env_period_card.h
Go to the documentation of this file.
1 #ifndef SIMENVPERIODCARD_H
2 #define SIMENVPERIODCARD_H
3 
4 #include "sim_dae2_card.h"
5 #include "env_period_card.h"
6 
7 template <class EnvPeriodPolicy>
8 class SIMEnvPeriodCard : public SIMDAE2Card<EnvPeriodPolicy>
9 {
10 public:
11  SIMEnvPeriodCard(int position, VMESimulationIface* vme, FaultMode fault_mode, DAEstatus& status);
12  virtual ~SIMEnvPeriodCard();
13  virtual void printStatus(std::ostream& os);
14  virtual void updateCardAfterWrite(DAEstatus& status);
15  virtual void updateCardAfterRead(DAEstatus& status);
16  virtual void simulate(int delay);
17  int frameNumber() { return m_raw_frames; }
18 
19 
20 protected:
21  // period card bits
28 
37  typename EnvPeriodPolicy::ppp_memory_t* m_rawproton0;
38  typename EnvPeriodPolicy::ppp_memory_t* m_goodproton0;
43  // env card bits
68 };
69 
70 #endif /* SIMENVPERIODCARD_H */
isisU32_t * m_goodframes
virtual void updateCardAfterRead(DAEstatus &status)
isisU32_t m_internal_veto_frames
isisU32_t m_chopper_veto_frames
virtual void simulate(int delay)
isisU32_t m_main_period_limit
isisU32_t * m_rawproton1
unsigned long isisU32_t
Definition: isisvme_types.h:8
SIMEnvPeriodCard(int position, VMESimulationIface *vme, FaultMode fault_mode, DAEstatus &status)
isisU32_t m_main_period_counter
isisU32_t m_fifo_veto_frames
isisU32_t m_period_sequence_limit
isisU32_t m_period_output_delay
isisU32_t * m_goodproton1
isisU32_t m_external_veto0_frames
isisU32_t m_external_veto2_frames
EnvPeriodPolicy::ppp_memory_t * m_goodproton0
isisU32_t m_period_sequence_counter
isisU32_t m_ext_period_overflow_veto_counter
isisU32_t m_chopper_window_delay
isisU32_t m_external_veto1_frames
virtual void printStatus(std::ostream &os)
EnvPeriodPolicy::ppp_memory_t * m_rawproton0
isisU32_t m_ts2_pulse_veto_frames
FaultMode
Definition: sim_dae2_card.h:10
virtual void updateCardAfterWrite(DAEstatus &status)
isisU32_t m_period_increment_total
isisU32_t m_external_veto3_frames
isisU32_t m_50hz_veto_frames
isisU32_t m_chopper_window_width
isisU32_t m_good_proton_high