Entity: dma_read_tb
- File: dma_read_tb.vhd
Diagram
Description
Company : SLAC National Accelerator Laboratory
Description: Simulation Testbed for DMA read
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.
Signals
| Name | Type | Description |
|---|---|---|
| r | RegType | |
| rin | RegType | |
| axiClk | sl | |
| axiClkRst | sl | |
| dmaAck | AxiReadDmaAckType | |
| axisMaster | AxiStreamMasterType | |
| axisSlave | AxiStreamSlaveType | |
| axiReadMaster | AxiReadMasterType | |
| axiReadSlave | AxiReadSlaveType |
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| CLK_PERIOD_C | time | 4 ns | |
| TPD_G | time | CLK_PERIOD_C/4 | |
| USE_PEND_C | boolean | true | |
| BACKPRESSURE_C | boolean | true | |
| AXIS_CONFIG_C | AxiStreamConfigType | ( TSTRB_EN_C => false, TDATA_BYTES_C => 8, TDEST_BITS_C => 8, TID_BITS_C => 0, TKEEP_MODE_C => TKEEP_COMP_C, TUSER_BITS_C => 8, TUSER_MODE_C => TUSER_FIRST_LAST_C) |
|
| AXI_CONFIG_C | AxiConfigType | ( ADDR_WIDTH_C => 32, DATA_BYTES_C => 8, ID_BITS_C => 8, LEN_BITS_C => 4) |
|
| REG_INIT_C | RegType | ( sof => '1', passed => '0', passedDly => '0', failed => (others => '0'), failedDly => (others => '0'), byteCnt => (others => '0'), dmaReq => AXI_READ_DMA_REQ_INIT_C, axisSlave => AXI_STREAM_SLAVE_INIT_C, state => INIT_S) |
Types
| Name | Type | Description |
|---|---|---|
| StateType | ( INIT_S, REQ_S, CHECK_S, HANDSHAKE_S, DONE_S) |
|
| RegType |
Processes
- comb: ( axiClkRst, axisMaster, dmaAck, r )
- seq: ( axiClk )
- unnamed: ( r )
Instantiations
- U_ClkRst: surf.ClkRst
- U_AxiReadEmulate: surf.AxiReadEmulate
Description
Emulate the AXI Read Interface
- U_AxiStreamDmaRead: surf.AxiStreamDmaRead