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

Public Member Functions

 construct (ports)
 

Static Public Attributes

 clk = Clock()
 
 rst = Reset()
 

Detailed Description

Like CoordTranslator, but uses the serial (bulk-transfer) list encoding.

Input wire format is a window with two frames:
  - "header": {x_translation, y_translation, coords_count}
  - "data":   {coords[1]}  (one coordinate per frame)

Output wire format is also a window with two frames:
  - "header": {coords_count}
  - "data":   {coords[1]}  (one coordinate per frame)

In bulk-transfer encoding, the sender may transmit multiple header/data
sequences to extend a list. A common pattern is to set coords_count=64 and
re-send a new header every 64 items; the final header has coords_count=0.
This module passes the header count through and translates each coordinate.

Definition at line 364 of file esitester.py.

Member Function Documentation

◆ construct()

esitester.SerialCoordTranslator.construct (   ports)

Definition at line 385 of file esitester.py.

References wrap().

Member Data Documentation

◆ clk

esitester.SerialCoordTranslator.clk = Clock()
static

Definition at line 381 of file esitester.py.

◆ rst

esitester.SerialCoordTranslator.rst = Reset()
static

Definition at line 382 of file esitester.py.


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