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

Public Member Functions

 construct (ports)
 

Static Public Attributes

 clk = Clock()
 
 rst = Reset()
 

Detailed Description

Exposes a function that accepts a complete struct and returns it as a
windowed struct split into two frames.

This is the inverse of WindowedStructFunc.

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

The function reads the complete struct, then outputs two frames in order.

Definition at line 281 of file esi_test.py.

Member Function Documentation

◆ construct()

esi_test.StructToWindowFunc.construct (   ports)

Definition at line 299 of file esi_test.py.

References wrap().

Member Data Documentation

◆ clk

esi_test.StructToWindowFunc.clk = Clock()
static

Definition at line 295 of file esi_test.py.

◆ rst

esi_test.StructToWindowFunc.rst = Reset()
static

Definition at line 296 of file esi_test.py.


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