CIRCT 24.0.0git
Loading...
Searching...
No Matches
hostmem_read Namespace Reference

Functions

 HostMemReadDut (int width)
 SingleReadDut (int width)
 Top (int bus_width)

Variables

list ELEMENT_WIDTHS = [24, 32, 96]
 ReqType = StructType([("address", UInt(64)), ("length", UInt(32))])
 max_outstanding = int(sys.argv[2])
int bus_width = int(sys.argv[3]) if len(sys.argv) > 3 else 64
 s

Function Documentation

◆ HostMemReadDut()

hostmem_read.HostMemReadDut ( int width)

Definition at line 36 of file hostmem_read.py.

References wrap().

Referenced by Top().

◆ SingleReadDut()

hostmem_read.SingleReadDut ( int width)

Definition at line 87 of file hostmem_read.py.

Referenced by Top().

◆ Top()

hostmem_read.Top ( int bus_width)

Definition at line 108 of file hostmem_read.py.

References HostMemReadDut(), and SingleReadDut().

Variable Documentation

◆ bus_width

int hostmem_read.bus_width = int(sys.argv[3]) if len(sys.argv) > 3 else 64

Definition at line 129 of file hostmem_read.py.

◆ ELEMENT_WIDTHS

list hostmem_read.ELEMENT_WIDTHS = [24, 32, 96]

Definition at line 31 of file hostmem_read.py.

◆ max_outstanding

hostmem_read.max_outstanding = int(sys.argv[2])

Definition at line 128 of file hostmem_read.py.

◆ ReqType

hostmem_read.ReqType = StructType([("address", UInt(64)), ("length", UInt(32))])

Definition at line 33 of file hostmem_read.py.

◆ s

hostmem_read.s
Initial value:
1= System(CosimBSP(Top(bus_width),
2 max_outstanding_reads=max_outstanding,
3 hostmem_width=bus_width),
4 name="HostMemRead",
5 output_directory=sys.argv[1])

Definition at line 130 of file hostmem_read.py.