SURF
Loading...
Searching...
No Matches
UdpEngineDhcp.rtl Architecture Reference
Architecture >> UdpEngineDhcp::rtl

Processes

comb  ( localIp , localMac , r , rst , rxMaster , txSlave )
seq  ( clk )

Constants

DHCP_CONFIG_C  AxiStreamConfigType := ssiAxiStreamConfig ( 4 )
TIMER_1_SEC_C  natural := getTimeRatio ( CLK_FREQ_G , 1 . 0 )
CLIENT_HDR_C  slv ( 31 downto 0 ) := x " 00060101 "
SERVER_HDR_C  slv ( 31 downto 0 ) := x " 00060102 "
MAGIC_COOKIE_C  slv ( 31 downto 0 ) := x " 63538263 "
COMM_TIMEOUT_C  positive := ite ( ( COMM_TIMEOUT_G> 3 ) , COMM_TIMEOUT_G , 3 )
REG_INIT_C  RegType := ( localMac = > ( others = > ' 0 ' ) , heartbeat = > ' 0 ' , cnt = > 0 , timer = > 0 , commCnt = > 3 , renewCnt = > ( others = > ' 0 ' ) , leaseCnt = > ( others = > ' 0 ' ) , leaseTime = > ( others = > ' 0 ' ) , remoteMac = > ( others = > ' 1 ' ) , remoteIp = > ( others = > ' 1 ' ) , dhcpIP = > ( others = > ' 0 ' ) , dhcpReq = > ' 0 ' , xid = > ( others = > ' 0 ' ) , yiaddr = > ( others = > ' 0 ' ) , siaddr = > ( others = > ' 0 ' ) , yiaddrTemp = > ( others = > ' 0 ' ) , siaddrTemp = > ( others = > ' 0 ' ) , index = > 0 , valid = > ( others = > ' 0 ' ) , opCode = > ( others = > ' 0 ' ) , len = > ( others = > ' 0 ' ) , msgType = > ( others = > ' 0 ' ) , rxSlave = > AXI_STREAM_SLAVE_INIT_C , txMaster = > AXI_STREAM_MASTER_INIT_C , decode = > CODE_S , state = > IDLE_S )

Types

StateType  ( IDLE_S , REQ_S , BOOTP_S , DHCP_S , VERIFY_S )
DecodeType  ( CODE_S , LEN_S , DATA_S )

Signals

r  RegType := REG_INIT_C
rin  RegType
rxMaster  AxiStreamMasterType
rxSlave  AxiStreamSlaveType
txMaster  AxiStreamMasterType
txSlave  AxiStreamSlaveType

Records

RegType 

Instantiations

fifo_rx  AxiStreamFifoV2 <Entity AxiStreamFifoV2>
fifo_tx  AxiStreamFifoV2 <Entity AxiStreamFifoV2>

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