Entity: SaciMultiPixel
- File: SaciMultiPixel.vhd
Diagram
Description
Title : SACI Protocol: https://confluence.slac.stanford.edu/x/YYcRDQ
Company : SLAC National Accelerator Laboratory
Description: SACI Multi-pixel 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 | |
MASK_REG_ADDR_G | slv(31 downto 0) | x"00000034" | |
SACI_BASE_ADDR_G | slv(31 downto 0) | x"02000000" | |
SACI_NUM_CHIPS_G | natural range 1 to 4 | 4 |
Ports
Port name | Direction | Type | Description |
---|---|---|---|
axilClk | in | sl | |
axilRst | in | sl | |
sAxilWriteMaster | in | AxiLiteWriteMasterType | AXI lite slave port |
sAxilWriteSlave | out | AxiLiteWriteSlaveType | |
sAxilReadMaster | in | AxiLiteReadMasterType | |
sAxilReadSlave | out | AxiLiteReadSlaveType | |
mAxilWriteMaster | out | AxiLiteWriteMasterType | AXI lite master port |
mAxilWriteSlave | in | AxiLiteWriteSlaveType | |
mAxilReadMaster | out | AxiLiteReadMasterType | |
mAxilReadSlave | in | AxiLiteReadSlaveType |
Signals
Name | Type | Description |
---|---|---|
r | RegType | |
rin | RegType |
Constants
Name | Type | Value | Description |
---|---|---|---|
REG_INIT_C | RegType | ( globalMultiPix => MULTI_PIXEL_WRITE_INIT_C, localMultiPix => MULTI_PIXEL_WRITE_INIT_C, asicMask => (others=>'0'), writeCnt => (others=>'0'), state => S_IDLE_C, timer => (others => '1'), timeout => '0', fail => '0', mAxilWriteMaster => AXI_LITE_WRITE_MASTER_INIT_C, mAxilReadMaster => AXI_LITE_READ_MASTER_INIT_C, sAxilWriteSlave => AXI_LITE_WRITE_SLAVE_INIT_C, sAxilReadSlave => AXI_LITE_READ_SLAVE_INIT_C) |
Types
Name | Type | Description |
---|---|---|
StateType | (S_IDLE_C, S_IS_ASIC_C, S_WRITE_C, S_WRITE_AXI_C, S_READ_C, S_READ_AXI_C, S_DONE_OK_C, S_DONE_FAIL_C) |
|
RegType |
Processes
- comb: ( axilRst, sAxilReadMaster, sAxilWriteMaster, mAxilReadSlave, mAxilWriteSlave, r )
- seq: ( axilClk )