Entity: EthMacRxCsum
- File: EthMacRxCsum.vhd
Diagram
Description
Company : SLAC National Accelerator Laboratory
Description: RX Checksum Hardware Offloading Engine
https://docs.google.com/spreadsheets/d/1_1M1keasfq8RLmRYHkO0IlRhMq5YZTgJ7OGrWvkib8I/edit?usp=sharing
This file is part of 'SLAC Firmware Standard Library'. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of 'SLAC Firmware Standard Library', including this file, may be copied, modified, propagated, or distributed except according to
the terms contained in the LICENSE.txt file.
Generics
Generic name | Type | Value | Description |
---|---|---|---|
TPD_G | time | 1 ns | |
JUMBO_G | boolean | true | |
VLAN_G | boolean | false |
Ports
Port name | Direction | Type | Description |
---|---|---|---|
ethClk | in | sl | Clock and Reset |
ethRst | in | sl | |
ipCsumEn | in | sl | Configurations |
tcpCsumEn | in | sl | |
udpCsumEn | in | sl | |
sAxisMaster | in | AxiStreamMasterType | Inbound data from MAC |
mAxisMaster | out | AxiStreamMasterType |
Signals
Name | Type | Description |
---|---|---|
r | RegType | |
rin | RegType | |
dbg | Slv16Array(1 downto 0) |
Constants
Name | Type | Value | Description |
---|---|---|---|
MAX_FRAME_SIZE_C | natural | ite(JUMBO_G, 9000, 1500) |
|
REG_INIT_C | RegType | ( valid => (others => '0'), fragDet => (others => '0'), eofeDet => (others => '0'), ipv4Det => (others => '0'), udpDet => (others => '0'), tcpDet => (others => '0'), tcpFlag => '0', pipeFlush => '0', byteCnt => 0, ipv4Hdr => (others => (others => '0')), ipv4Len => (others => (others => '0')), protLen => (others => (others => '0')), protCsum => (others => (others => '0')), calc => (others => ETH_MAC_CSUM_ACCUM_INIT_C), tKeep => (others => '0'), tData => (others => '0'), mAxisMaster => AXI_STREAM_MASTER_INIT_C, mAxisMasters => (others => AXI_STREAM_MASTER_INIT_C), state => IDLE_S) |
Types
Name | Type | Description |
---|---|---|
StateType | ( IDLE_S, IPV4_HDR0_S, IPV4_HDR1_S, MOVE_S, BLOWOFF_S) |
|
RegType |
Processes
- comb: ( ethRst, ipCsumEn, r, sAxisMaster, tcpCsumEn, udpCsumEn )
- seq: ( ethClk )