CIRCT 23.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
esi_test.WindowToStructFunc Class Reference
Inheritance diagram for esi_test.WindowToStructFunc:
Inheritance graph
[legend]
Collaboration diagram for esi_test.WindowToStructFunc:
Collaboration graph
[legend]

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 195 of file esi_test.py.

Member Function Documentation

◆ construct()

esi_test.WindowToStructFunc.construct (   ports)

Definition at line 212 of file esi_test.py.

References esi_test.FourFieldStruct, and wrap().

Member Data Documentation

◆ clk

esi_test.WindowToStructFunc.clk = Clock()
static

Definition at line 208 of file esi_test.py.

◆ rst

esi_test.WindowToStructFunc.rst = Reset()
static

Definition at line 209 of file esi_test.py.


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