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

Public Member Functions

 construct (ports)
 

Static Public Attributes

 clk = Clock()
 
 rst = Reset()
 

Detailed Description

Function ``bit_pack_probe``: BitPackArg -> BitPackResult.

Returns ``{w, z, y, x}`` packed back into a 16-bit-wide struct that uses
the same widths as the argument but in reverse field order. Each field has
a unique width, and the chosen sentinel values used by the test driver
(``x=0b001``, ``y=0b10001``, ``z=0b1001``, ``w=0b1100``) are unique within
their own width, so a misaligned shift or wrong field offset produces a
wrong number rather than a coincidentally-matching one.

Definition at line 274 of file serialization_probes.py.

Member Function Documentation

◆ construct()

serialization_probes.BitPackProbe.construct (   ports)

Definition at line 289 of file serialization_probes.py.

References wrap().

Member Data Documentation

◆ clk

serialization_probes.BitPackProbe.clk = Clock()
static

◆ rst

serialization_probes.BitPackProbe.rst = Reset()
static

Definition at line 286 of file serialization_probes.py.


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