Entity: SaciMasterSync

Diagram

time TPD_G boolean SYNCHRONIZE_CONTROL_G sl clk sl rst sl saciRsp slv(7 downto 0) saciHalfClk SaciMasterInType saciMasterIn sl saciClk slv(SACI_NUM_SLAVES_C-1 downto 0) saciSelL sl saciCmd SaciMasterOutType saciMasterOut

Description


Title : SACI Protocol: https://confluence.slac.stanford.edu/x/YYcRDQ

Company : SLAC National Accelerator Laboratory

Description: Saci Master Synchronization Wrapper

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
SYNCHRONIZE_CONTROL_G boolean true

Ports

Port name Direction Type Description
clk in sl Main clock
rst in sl
saciClk out sl Serial interface
saciSelL out slv(SACI_NUM_SLAVES_C-1 downto 0)
saciCmd out sl
saciRsp in sl
saciHalfClk in slv(7 downto 0)
saciMasterIn in SaciMasterInType Parallel interface
saciMasterOut out SaciMasterOutType

Signals

Name Type Description
r RegType
rin RegType
saciRspFall sl
saciClkCnt unsigned(31 downto 0)
saciClkCntRst std_logic
saciClkRising std_logic
saciClkFalling std_logic
iSaciClk std_logic
iSaciClkD std_logic

Constants

Name Type Value Description
SYNCHRONIZER_INIT_0_C SynchronizerType (tmp => '0',
sync => '0',
last => '0')
SYNCHRONIZER_INIT_1_C SynchronizerType (tmp => '1',
sync => '1',
last => '1')

Types

Name Type Description
SynchronizerType
StateType (IDLE_S,
CHIP_SELECT_S,
TX_S,
RX_START_S,
RX_HEADER_S,
RX_DATA_S,
ACK_S)
RegType

Functions

Processes

Description
------------------------------------------------------------------------------------------------ Capture serial input ------------------------------------------------------------------------------------------------