Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
PCIEStreamer.h
Go to the documentation of this file.
1 
11 #ifndef PCIESTREAMER_H
12 #define PCIESTREAMER_H
13 
14 #include "RAMStreamer.h"
15 
22 {
23 public:
24  tcPCIEStreamer(uint32_t anPCIe_DMA_Address, uint32_t anMityCAM_To_PCIe_Address);
25  virtual ~tcPCIEStreamer();
26 
27  /* tcRAMStreamer overrides */
28 
29  virtual bool initialize() override;
30  virtual void reset(bool abReset) override;
31  virtual void setStartAddr(unsigned int anAddr) override;
32  virtual unsigned int getStartAddr() override;
33  virtual void setEndAddr(unsigned int anAddr) override;
34  virtual unsigned int getEndAddr() override;
35  virtual void setFrameSize(unsigned int anNumBytes) override;
36  virtual unsigned int getFrameSize() override;
37  virtual void setInterruptLevel(unsigned int anNumFrames) override;
38  virtual unsigned int getInterruptLevel() override;
39  virtual void setFramesToCapture(unsigned short anNumFrames) override;
40  virtual unsigned short getFramesToCapture(void) override;
41  virtual void clearInterrupt() override;
42  virtual void setInterruptEnable(bool abEnable) override;
43  virtual bool isReady() override;
44  virtual void setPackingMode(tePackingMode aeMode) override;
45  virtual tePackingMode getPackingMode() override;
46  virtual void setPacking(bool abEnable) override;
47  virtual bool isPacking() override;
48 
49 protected:
50 
51  tcFPGARegister<uint16_t> mhPCIe_DMA;
52  tcFPGARegister<uint32_t> mhStreamToPCIe;
53 
54 };
55 
56 #endif // PCIESTREAMER_H
tcPCIEStreamer::setEndAddr
virtual void setEndAddr(unsigned int anAddr) override
Definition: PCIEStreamer.cpp:98
tcPCIEStreamer::getFrameSize
virtual unsigned int getFrameSize() override
Definition: PCIEStreamer.cpp:113
tcPCIEStreamer::setStartAddr
virtual void setStartAddr(unsigned int anAddr) override
Definition: PCIEStreamer.cpp:88
RAMStreamer.h
tcPCIEStreamer::setInterruptLevel
virtual void setInterruptLevel(unsigned int anNumFrames) override
Definition: PCIEStreamer.cpp:118
tcPCIEStreamer::mhStreamToPCIe
tcFPGARegister< uint32_t > mhStreamToPCIe
the MityCAM Stream to AXI/PCIe Stream VHDL module
Definition: PCIEStreamer.h:52
tcPCIEStreamer::isPacking
virtual bool isPacking() override
Definition: PCIEStreamer.cpp:204
tcPCIEStreamer::initialize
virtual bool initialize() override
Definition: PCIEStreamer.cpp:69
tcPCIEStreamer::getEndAddr
virtual unsigned int getEndAddr() override
Definition: PCIEStreamer.cpp:103
tcPCIEStreamer::reset
virtual void reset(bool abReset) override
Definition: PCIEStreamer.cpp:74
tcRAMStreamer
Definition: RAMStreamer.h:8
tcPCIEStreamer::setFrameSize
virtual void setFrameSize(unsigned int anNumBytes) override
Definition: PCIEStreamer.cpp:108
tcRAMStreamer::tePackingMode
tePackingMode
Definition: RAMStreamer.h:101
tcPCIEStreamer::getPackingMode
virtual tePackingMode getPackingMode() override
Definition: PCIEStreamer.cpp:180
tcPCIEStreamer::mhPCIe_DMA
tcFPGARegister< uint16_t > mhPCIe_DMA
the AXI Stream to PCIe DMA master VHDL module
Definition: PCIEStreamer.h:51
tcPCIEStreamer::getFramesToCapture
virtual unsigned short getFramesToCapture(void) override
getFramesToCapture
Definition: PCIEStreamer.cpp:145
tcPCIEStreamer::getInterruptLevel
virtual unsigned int getInterruptLevel() override
Definition: PCIEStreamer.cpp:130
tcPCIEStreamer
Userspace Class Manages MitySOM-AM57x MityCAM streams to AXI Streams (for FPGA to ARM DDR via PCIe tr...
Definition: PCIEStreamer.h:21
tcPCIEStreamer::tcPCIEStreamer
tcPCIEStreamer(uint32_t anPCIe_DMA_Address, uint32_t anMityCAM_To_PCIe_Address)
Construct a new tcPCIEStreamer::tcPCIEStreamer object.
Definition: PCIEStreamer.cpp:48
tcPCIEStreamer::setPacking
virtual void setPacking(bool abEnable) override
Definition: PCIEStreamer.cpp:186
tcPCIEStreamer::clearInterrupt
virtual void clearInterrupt() override
Definition: PCIEStreamer.cpp:151
tcPCIEStreamer::isReady
virtual bool isReady() override
Definition: PCIEStreamer.cpp:167
tcPCIEStreamer::setPackingMode
virtual void setPackingMode(tePackingMode aeMode) override
Definition: PCIEStreamer.cpp:172
tcPCIEStreamer::getStartAddr
virtual unsigned int getStartAddr() override
Definition: PCIEStreamer.cpp:93
tcPCIEStreamer::setInterruptEnable
virtual void setInterruptEnable(bool abEnable) override
Definition: PCIEStreamer.cpp:158
tcPCIEStreamer::setFramesToCapture
virtual void setFramesToCapture(unsigned short anNumFrames) override
Definition: PCIEStreamer.cpp:135
tcPCIEStreamer::~tcPCIEStreamer
virtual ~tcPCIEStreamer()
Destroy the tcPCIEStreamer::tcPCIEStreamer object.
Definition: PCIEStreamer.cpp:65