CIRCT 24.0.0git
Loading...
Searching...
No Matches
esi_test.WindowToStructFunc Class Reference
Inheritance diagram for esi_test.WindowToStructFunc:
Collaboration diagram for esi_test.WindowToStructFunc:

Public Member Functions

 construct (ports)

Static Public Attributes

 clk = Clock()
 rst = Reset()

Detailed Description

Exposes a function that accepts a windowed struct (four fields split into
two frames) and returns the reassembled struct without windowing.

The input struct has four UInt(32) fields: a, b, c, d.
The window divides these into two frames:
  - Frame 1: fields a and b
  - Frame 2: fields c and d

Frames arrive in-order. The function reads both frames, reassembles the
complete struct, and outputs it.

Definition at line 201 of file esi_test.py.

Member Function Documentation

◆ construct()

esi_test.WindowToStructFunc.construct ( ports)

Definition at line 218 of file esi_test.py.

References esi_test.FourFieldStruct, and wrap().

Member Data Documentation

◆ clk

esi_test.WindowToStructFunc.clk = Clock()
static

Definition at line 214 of file esi_test.py.

◆ rst

esi_test.WindowToStructFunc.rst = Reset()
static

Definition at line 215 of file esi_test.py.


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