Entity: AxiAd9467Spi
- File: AxiAd9467Spi.vhd
Diagram
Description
Company : SLAC National Accelerator Laboratory
Description: AD9467 SPI Interface Module
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 | |
AXI_CLK_FREQ_G | real | 125.0E+6 |
Ports
Port name | Direction | Type | Description |
---|---|---|---|
adcCs | out | sl | DC SPI I/O ports |
adcSck | out | sl | |
adcSdio | inout | sl | |
axiClk | in | sl | AXI-Lite Interface |
axiRst | in | sl | |
adcSpiIn | in | AxiAd9467SpiInType | |
adcSpiOut | out | AxiAd9467SpiOutType |
Signals
Name | Type | Description |
---|---|---|
state | StateType | |
cs | sl | |
sck | sl | |
sdi | sl | |
sdo | sl | |
inEn | sl | |
r | AxiAd9467SpiOutType | |
pntr | slv(7 downto 0) | |
cnt | natural range 0 to MAX_CNT_C |
Constants
Name | Type | Value | Description |
---|---|---|---|
MAX_CNT_C | natural | getTimeRatio(AXI_CLK_FREQ_G, 50.0E+6) |
Types
Name | Type | Description |
---|---|---|
StateType | ( IDLE_S, SCK_LOW_S, SCK_HIGH_S, HANDSHAKE_S) |
Processes
- unnamed: ( axiClk )
Description
3-state enable input, high=input, low=output
Instantiations
- IOBUF_inst: IOBUF
State machines
- 3-state enable input, high=input, low=output
undefined