CIRCT 23.0.0git
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
esi_test Namespace Reference

Classes

class  CallbackTest
 
class  ConstProducer
 
class  Join
 
class  JoinAddFunc
 
class  LoopbackInOutAdd
 
class  MMIOReadWriteClient
 
class  StructToWindowFunc
 
class  Top
 
class  WindowToStructFunc
 

Typedefs

using ProbeFn = int(*)(esi::Accelerator *)
 
using ProbeEntry = std::pair< std::string, ProbeFn >
 

Functions

 MMIOClient (int add_amt)
 
int runProbes (int argc, const char *argv[], const char *name, const char *description, const std::vector< ProbeEntry > &probes)
 Run the probe-runner main loop. Returns 0 on success, nonzero on failure.
 

Variables

 FourFieldStruct
 
 windowed_struct
 
 bsp = get_bsp(sys.argv[2] if len(sys.argv) > 2 else None)
 
 s
 

Typedef Documentation

◆ ProbeEntry

using esi_test.ProbeEntry = typedef std::pair<std::string, ProbeFn>

Definition at line 33 of file probe_runner.h.

◆ ProbeFn

using esi_test.ProbeFn = typedef int (*)(esi::Accelerator *)

Definition at line 32 of file probe_runner.h.

Function Documentation

◆ MMIOClient()

esi_test.MMIOClient ( int  add_amt)

Definition at line 85 of file esi_test.py.

References wrap().

Referenced by esi_test.Top.construct().

◆ runProbes()

int esi_test::runProbes ( int  argc,
const char *  argv[],
const char *  name,
const char *  description,
const std::vector< ProbeEntry > &  probes 
)
inline

Run the probe-runner main loop. Returns 0 on success, nonzero on failure.

Definition at line 36 of file probe_runner.h.

References esi::CliParser::connect(), esi::Logger::error(), esi::CliParser::esiParse(), esi::CliParser::getContext(), and esi::Context::getLogger().

Variable Documentation

◆ bsp

esi_test.bsp = get_bsp(sys.argv[2] if len(sys.argv) > 2 else None)

Definition at line 415 of file esi_test.py.

◆ FourFieldStruct

esi_test.FourFieldStruct
Initial value:
1= StructType({
2 "a": Bits(32),
3 "b": Bits(32),
4 "c": Bits(32),
5 "d": Bits(32),
6})

Definition at line 181 of file esi_test.py.

Referenced by esi_test.WindowToStructFunc.construct().

◆ s

esi_test.s
Initial value:
1= pycde.System(bsp(Top),
2 name="ESILoopback",
3 output_directory=sys.argv[1],
4 core_clock_frequency_hz=20_000_000)

Definition at line 416 of file esi_test.py.

◆ windowed_struct

esi_test.windowed_struct
Initial value:
1= Window(
2 "four_field_window", FourFieldStruct,
3 [Window.Frame("frame1", ["a", "b"]),
4 Window.Frame("frame2", ["c", "d"])])

Definition at line 189 of file esi_test.py.