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

Public Member Functions

 construct (ports)
 

Static Public Attributes

 clk = Clock()
 
 rst = Reset()
 

Detailed Description

Function ``byte_rotate1``: ui64 -> ui64.

Rotates the input left by one byte position. Sending
``0x0102030405060708`` yields ``0x0203040506070801``: the MSB byte wraps
around to the LSB. Unlike a byte *swap*, a rotate is **not** its own
inverse, so a host that mis-orders bytes symmetrically on the send and
receive paths (the classic symmetric-serdes bug that passes loopback)
produces a wrong-and-distinguishable answer here.

Definition at line 24 of file serialization_probes.py.

Member Function Documentation

◆ construct()

serialization_probes.ByteRotate1.construct (   ports)

Definition at line 39 of file serialization_probes.py.

References wrap().

Member Data Documentation

◆ clk

serialization_probes.ByteRotate1.clk = Clock()
static

◆ rst

serialization_probes.ByteRotate1.rst = Reset()
static

Definition at line 36 of file serialization_probes.py.


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