ngscopeclient v0.3
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
IBM8b10bSymbol Class Reference

A single 8b/10b symbol. More...

#include <IBM8b10bWaveform.h>

Public Types

enum  flags {
  FLAG_ERROR_3 = 0x1 , FLAG_ERROR_5 = 0x2 , FLAG_ERROR_DISP = 0x4 , FLAG_ERROR_MASK = 0x7 ,
  FLAG_CONTROL = 0x40 , FLAG_DISP_POS = 0x80
}
 

Public Member Functions

 IBM8b10bSymbol (bool b, bool e5, bool e3, bool ed, uint8_t d, int8_t disp)
 
bool operator== (const IBM8b10bSymbol &s) const
 

Public Attributes

uint8_t m_data
 
uint8_t m_flags
 

Detailed Description

A single 8b/10b symbol.

This class is used for serialization and GPU interchange and must be POD, taking up a two bytes in memory. !!! Any changes to memory layout will break compatibility with saved waveforms !!!


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