SVT svt_data_converter Class Member List

This is the complete list of members for class svt_data_converter, including all inherited members.


 svt_data_converter   function void  apply_byte_to_crc ( bit [7:0] value, bit init = 0 )  This methods applies a byte to the CRC algorithm.  
 svt_data_converter   function bit  decode_8b10b_data ( input bit [9:0] data_in, ref bit running_disparity, output bit data_k, output bit [7:0] data_out )  Decodes a ten bit data value into its eight bit representation. The function returns 0 and the output is unpredictable.  
 svt_data_converter   function bit  encode_8b10b_data ( input bit [7:0] data_in, input bit data_k, ref bit running_disparity, output bit [9:0] data_out )  Encodes an eight bit data value into its ten bit representation. The function returns 0 and the output is unpredictable if Xs and Zs are passed in via the argument.  
 svt_data_converter   function bit  get_code_group ( input bit [9:0] value, output bit data_k, output string byte_name )  Returns the code group of the data value as a string and a data_k bit indicating if the 10 bit value is of type D-CODE or K-CODE. The function returns 0 if the value is not to be located in the tables.  
 svt_data_converter   function bit [31:0]   get_crc ( )  This method returns the calculated CRC value. 
 svt_data_converter   function bit [31:0]   get_crc_initial_value ( )  Utility method for getting the CRC initial value.  
 svt_data_converter   function bit [31:0]   get_crc_polynomial ( )  Utility method for getting the crc polynomial value.  
 svt_data_converter   function void  initialize_8b10b ( bit force_load = 0 )  This method initializes the 8b10b lookup tables.  
 svt_data_converter   function void  initialize_crc ( bit [31:0] poly, int width, bit [31:0] init, bit force_load = 0 )  This method initializes the CRC lookup table, saves the CRC width, and the initial CRC value.  
 svt_data_converter   function bit  is_valid_10b ( bit [9:0] value, logic disp_in = 1'bx )  Returns true if the provided value is in the 10 bit lookup table. Otherwise returns false.  
 svt_data_converter   function bit  is_valid_K8b ( byte unsigned value, logic disp_in = 1'bx )  Returns true if the provided value is in the 8 bit control character lookup table. Otherwise returns false.  
 svt_data_converter  static protected bit [8:0]   lookup_table_8b [int] Ten bit value to eight bit lookup table  
 svt_data_converter  static protected bit [9:0]   lookup_table_D10b [512] Eight bit data value to ten bit lookup table  
 svt_data_converter  static protected integer  lookup_table_disparity [int] Disparity lookup table (indexed by ten bit values)  
 svt_data_converter  static protected bit [9:0]   lookup_table_K10b [int] Eight bit control value to ten bit lookup table  
 svt_data_converter   function void  new ( uvm_report_object reporter )  CONSTRUCTOR: Constructor for the svt_data_converter. This does not initialize any of the conversion packages. Individual converters (e.g., 8b10b, crc, etc.) must be initialized individually by the extended classes.  
 svt_data_converter   function string  psdisplay_meta_info ( string prefix )  Displays the meta information to a string. Each line of the generated output is preceded by prefix
 svt_data_converter  uvm_report_object  reporter Report Server  
 svt_data_converter   function void  scramble ( input byte unsigned array_in[], ref bit [15:0] lfsr, output byte unsigned array_out[] )  Function is used for scrambling a byte of data. Following rules are followed while implementing this function: 1) The LFSR implements the polynomial: G(X)=X^16+X^5+X^4+X^3+1 2) All D-codes and K-codes are scrambled. 3) There is no resetting of the LFSR under any condition.  
 svt_data_converter   function void  set_crc_initial_value ( bit [31:0] init )  Utility method for setting the CRC initial value.  
 svt_data_converter   function void  set_crc_polynomial ( bit [31:0] poly )  Utility method for setting the CRC polynomial value.  
 svt_data_converter   function void  unscramble ( input byte unsigned array_in[], ref bit [15:0] lfsr, output byte unsigned array_out[] )  Function is used for unscrambling a byte of data. The function returns 0 and the output is unpredictable if Xs and Zs are passed in via the argument. Following rules are followed while implementing this function: 1) The LFSR implements the polynomial: G(X)=X^16+X^5+X^4+X^3+1 2) There is no resetting of the LFSR under any condition.