CIRCT 23.0.0git
Loading...
Searching...
No Matches
Functions | Variables
test_esi Namespace Reference

Functions

None run (AcceleratorConnection conn, str platform="cosim")
 
None test_cosim_esi (AcceleratorConnection conn)
 
None test_cosim_esi_manifest_mmio (str host, int port)
 

Variables

str HW_DIR = Path(__file__).resolve().parent.parent / "hw"
 
 platform = sys.argv[1]
 
 conn_str = sys.argv[2]
 
 conn = esi.Context(esi.LogLevel.Debug).connect(platform, conn_str)
 

Function Documentation

◆ run()

None test_esi.run ( AcceleratorConnection  conn,
str   platform = "cosim" 
)

Definition at line 17 of file test_esi.py.

References print().

Referenced by test_cosim_esi(), and test_cosim_esi_manifest_mmio().

◆ test_cosim_esi()

None test_esi.test_cosim_esi ( AcceleratorConnection  conn)

Definition at line 375 of file test_esi.py.

References run().

◆ test_cosim_esi_manifest_mmio()

None test_esi.test_cosim_esi_manifest_mmio ( str  host,
int  port 
)

Definition at line 380 of file test_esi.py.

References run().

Variable Documentation

◆ conn

test_esi.conn = esi.Context(esi.LogLevel.Debug).connect(platform, conn_str)

Definition at line 389 of file test_esi.py.

◆ conn_str

test_esi.conn_str = sys.argv[2]

Definition at line 388 of file test_esi.py.

◆ HW_DIR

str test_esi.HW_DIR = Path(__file__).resolve().parent.parent / "hw"

Definition at line 14 of file test_esi.py.

◆ platform

test_esi.platform = sys.argv[1]

Definition at line 387 of file test_esi.py.