CIRCT 23.0.0git
Loading...
Searching...
No Matches
Classes | Functions | Variables
tests.integration.test_loopback_cpp Namespace Reference

Classes

class  TestLoopback
 

Functions

Path _build_loopback_codegen (Path tmp_path, str host, int port)
 

Variables

list LOOPBACK_PROBES
 
list LOOPBACK_TYPED_PROBES
 

Function Documentation

◆ _build_loopback_codegen()

Path tests.integration.test_loopback_cpp._build_loopback_codegen ( Path  tmp_path,
str  host,
int  port 
)
protected
Run live-connection codegen and build the loopback_test binary.

This test deliberately uses ``esiaccel.codegen --platform cosim`` (live
connection) rather than ``--file`` (offline manifest) to exercise that
codegen path.

Definition at line 41 of file test_loopback_cpp.py.

Referenced by tests.integration.test_loopback_cpp.TestLoopback.test_loopback_cpp_codegen().

Variable Documentation

◆ LOOPBACK_PROBES

list tests.integration.test_loopback_cpp.LOOPBACK_PROBES
Initial value:
1= [
2 ("depth_constant", ["depth: 0x5", "depth_constant ok"]),
3 ("loopback_i8", ["loopback_i8 ok: 0x5a"]),
4 ("struct_func", ["struct_func ok: b=-7 x=-6 y=-7"]),
5 ("odd_struct_func",
6 ["odd_struct_func ok: a=2749 b=-20 p=10 q=-5 r0=4 r1=6"]),
7 ("array_func", ["array_func ok: -3 -2"]),
8 ("serial_coord_translate", ["serial_coord_translate ok"]),
9]

Definition at line 19 of file test_loopback_cpp.py.

◆ LOOPBACK_TYPED_PROBES

list tests.integration.test_loopback_cpp.LOOPBACK_TYPED_PROBES
Initial value:
1= [
2 ("depth_constant", ["depth: 0x5", "depth_constant ok"]),
3 ("loopback_i8", ["loopback_i8 ok: 0x5a"]),
4 ("sint4_loopback", ["sint4_loopback ok: pos=5 neg=-3"]),
5 ("struct_func", ["struct_func ok: b=-7 x=-6 y=-7"]),
6 ("odd_struct_func",
7 ["odd_struct_func ok: a=2749 b=-20 p=10 q=-5 r0=4 r1=6"]),
8 ("array_func", ["array_func ok: -3 -2"]),
9 ("serial_coord_translate", ["serial_coord_translate ok"]),
10]

Definition at line 29 of file test_loopback_cpp.py.