x393  1.0
FPGAcodeforElphelNC393camera
SAXIRdSim Class Reference
Inheritance diagram for SAXIRdSim:
Collaboration diagram for SAXIRdSim:

Public Member Functions

Public Attributes

Private Attributes

Static Private Attributes

Detailed Description

Connects to host side of simul_axi_rd (just writes to system memory) (both GP and HP)
No locks are used, single instance should be connected to a particular port

Definition at line 276 of file x393interfaces.py.

Constructor & Destructor Documentation

def __init__ (   self,
  entity,
  name,
  clock,
  mempath,
  memhigh = 0x40000000,
  data_bytes = 8 
)
@param entity Device under test
@param name port names prefix (DUT has I/O ports <name>_<signal>
@clock clock that drives this interface
@param mempath operation system path of the memory image (1GB now - 0..0x3fffffff) 
@param memhigh memory high address
@param data_bytes data width, in bytes

Definition at line 293 of file x393interfaces.py.

Referenced by SAXIRdSim.saxi_rd_run().

Member Function Documentation

def saxi_test (   self)

Definition at line 351 of file x393interfaces.py.

References PSBus.name, SAXIWrSim.name, and SAXIRdSim.name.

Member Data Documentation

int _address_lsb = 3
staticprivate

Definition at line 292 of file x393interfaces.py.

Referenced by SAXIRdSim.saxi_rd_run().

_address_lsb
private

Definition at line 334 of file x393interfaces.py.

int _data_bytes = 8
staticprivate

Definition at line 291 of file x393interfaces.py.

Referenced by SAXIRdSim.saxi_rd_run().

_data_bytes
private

Definition at line 333 of file x393interfaces.py.

_fmt = None
staticprivate

Definition at line 289 of file x393interfaces.py.

Referenced by SAXIRdSim.saxi_rd_run().

_memfile = None
staticprivate

Definition at line 290 of file x393interfaces.py.

list _signals
staticprivate
Initial value:
1 = [ # i/o from the DUT side
2 
3  "rd_address", # output[31:0]
4  "rid", # output[5:0]
5  "rd_valid", # input
6  "rd_ready", # output
7  "rd_data", # input[63:0]
8  "rd_resp"]

Definition at line 281 of file x393interfaces.py.

name

Definition at line 305 of file x393interfaces.py.

Referenced by SAXIRdSim.saxi_rd_run(), and SAXIRdSim.saxi_test().


The documentation for this Module class was generated from the following file: