w11 - vhd 0.794
W11 CPU core and support modules
Loading...
Searching...
No Matches
comlib Package Reference
Package >> comlib

Functions

slv   crc8_update ( crc: in in slv8 , data: in in slv8 )
slv   crc8_update_tbl ( crc: in in slv8 , data: in in slv8 )
slv   crc16_update ( crc: in in slv16 , data: in in slv8 )
slv   crc16_update_tbl ( crc: in in slv16 , data: in in slv8 )

Libraries

ieee 

Use Clauses

std_logic_1164 
numeric_std 
slvtypes  Package <slvtypes>

Components

byte2word 
word2byte 
cdata2byte  <Entity cdata2byte>
byte2cdata  <Entity byte2cdata>
crc8 
crc16  <Entity crc16>

Constants

c_cdata_escape  slv8 := " 11001010 "
c_cdata_fill  slv8 := " 11010101 "
c_cdata_xon  slv8 := " 00010001 "
c_cdata_xoff  slv8 := " 00010011 "
c_cdata_ec_xon  slv3 := " 100 "
c_cdata_ec_xoff  slv3 := " 101 "
c_cdata_ec_fill  slv3 := " 110 "
c_cdata_ec_esc  slv3 := " 111 "
c_cdata_ed_pref  slv2 := " 01 "

Subtypes

c_cdata_edf_pref  integer range 7 downto 6
c_cdata_edf_eci  integer range 5 downto 3
c_cdata_edf_ec  integer range 2 downto 0

Detailed Description

Definition at line 33 of file comlib.vhd.

Member Function/Procedure/Process Documentation

◆ crc8_update()

slv crc8_update (   crc in in slv8 ,
  data in in slv8  
)
Function

Definition at line 134 of file comlib.vhd.

◆ crc8_update_tbl()

slv crc8_update_tbl (   crc in in slv8 ,
  data in in slv8  
)
Function

Definition at line 135 of file comlib.vhd.

◆ crc16_update()

slv crc16_update (   crc in in slv16 ,
  data in in slv8  
)
Function

Definition at line 137 of file comlib.vhd.

◆ crc16_update_tbl()

slv crc16_update_tbl (   crc in in slv16 ,
  data in in slv8  
)
Function

Definition at line 138 of file comlib.vhd.

Member Data Documentation

◆ ieee

ieee
Library

Definition at line 27 of file comlib.vhd.

◆ std_logic_1164

std_logic_1164
use clause

Definition at line 28 of file comlib.vhd.

◆ numeric_std

numeric_std
use clause

Definition at line 29 of file comlib.vhd.

◆ slvtypes

slvtypes
use clause

Definition at line 31 of file comlib.vhd.

◆ byte2word

byte2word
Component

Definition at line 35 of file comlib.vhd.

◆ word2byte

word2byte
Component

Definition at line 49 of file comlib.vhd.

◆ c_cdata_escape

c_cdata_escape slv8 := " 11001010 "
Constant

Definition at line 63 of file comlib.vhd.

◆ c_cdata_fill

c_cdata_fill slv8 := " 11010101 "
Constant

Definition at line 64 of file comlib.vhd.

◆ c_cdata_xon

c_cdata_xon slv8 := " 00010001 "
Constant

Definition at line 65 of file comlib.vhd.

◆ c_cdata_xoff

c_cdata_xoff slv8 := " 00010011 "
Constant

Definition at line 66 of file comlib.vhd.

◆ c_cdata_ec_xon

c_cdata_ec_xon slv3 := " 100 "
Constant

Definition at line 67 of file comlib.vhd.

◆ c_cdata_ec_xoff

c_cdata_ec_xoff slv3 := " 101 "
Constant

Definition at line 68 of file comlib.vhd.

◆ c_cdata_ec_fill

c_cdata_ec_fill slv3 := " 110 "
Constant

Definition at line 69 of file comlib.vhd.

◆ c_cdata_ec_esc

c_cdata_ec_esc slv3 := " 111 "
Constant

Definition at line 70 of file comlib.vhd.

◆ c_cdata_ed_pref

c_cdata_ed_pref slv2 := " 01 "
Constant

Definition at line 71 of file comlib.vhd.

◆ c_cdata_edf_pref

c_cdata_edf_pref integer range 7 downto 6
Subtype

Definition at line 72 of file comlib.vhd.

◆ c_cdata_edf_eci

c_cdata_edf_eci integer range 5 downto 3
Subtype

Definition at line 73 of file comlib.vhd.

◆ c_cdata_edf_ec

c_cdata_edf_ec integer range 2 downto 0
Subtype

Definition at line 74 of file comlib.vhd.

◆ cdata2byte

cdata2byte
Component

Definition at line 76 of file comlib.vhd.

◆ byte2cdata

byte2cdata
Component

Definition at line 91 of file comlib.vhd.

◆ crc8

crc8
Component

Definition at line 105 of file comlib.vhd.

◆ crc16

crc16
Component

Definition at line 117 of file comlib.vhd.


The documentation for this design unit was generated from the following file: