SURF  1.0
behavioral Architecture Reference

Processes

comb  ( csbFall , r , rdData , sclkFall , sclkRise , sdioSync )
seq  ( clk )

Constants

REG_INIT_C  RegType := ( state = > WAIT_CSB_FALL_S , count = > ( others = > ' 0 ' ) , shift = > ( others = > ' 0 ' ) , bytes = > ( others = > ' 0 ' ) , wrEn = > ' 0 ' , rdEn = > ' 0 ' , addr = > ( others = > ' 0 ' ) , wrData = > ( others = > ' 0 ' ) , byteValid = > ( others = > ' 0 ' ) , dataOut = > ' 1 ' )

Types

StateType ( WAIT_CSB_FALL_S , SHIFT_HEADER_S , LATCH_HEADER_S , WRITE_S , LATCH_WRITE_BYTE_S , READ_WAIT_S , LATCH_READ_BYTE_S , READ_S , WAIT_SCLK_RISE_S )

Signals

r  RegType := REG_INIT_C
rin  RegType
sdioRes  sl
sdioSync  sl
sdioRise  sl
sdioFall  sl
sclkRes  sl
sclkSync  sl
sclkRise  sl
sclkFall  sl
csbRes  sl
csbSync  sl
csbRise  sl
csbFall  sl

Records

RegType  
state  StateType
count  slv ( 3 downto 0 )
shift  slv ( 15 downto 0 )
bytes  slv ( 1 downto 0 )
wrEn  sl
rdEn  sl
addr  slv ( 12 downto 0 )
wrData  slv ( 31 downto 0 )
byteValid  slv ( 3 downto 0 )
dataOut  sl

Instantiations

synchronizeredge_sdio  SynchronizerEdge <Entity SynchronizerEdge>
synchronizeredge_sclk  SynchronizerEdge <Entity SynchronizerEdge>
synchronizeredge_csb  SynchronizerEdge <Entity SynchronizerEdge>

Detailed Description

Definition at line 48 of file AdiConfigSlave.vhd.

Member Function Documentation

◆ comb()

comb (   csbFall,
  r,
  rdData,
  sclkFall,
  sclkRise,
  sdioSync 
)

Definition at line 143 of file AdiConfigSlave.vhd.

◆ seq()

seq (   clk  
)
Process

Definition at line 257 of file AdiConfigSlave.vhd.

Member Data Documentation

◆ StateType

StateType ( WAIT_CSB_FALL_S , SHIFT_HEADER_S , LATCH_HEADER_S , WRITE_S , LATCH_WRITE_BYTE_S , READ_WAIT_S , LATCH_READ_BYTE_S , READ_S , WAIT_SCLK_RISE_S )
Type

Definition at line 50 of file AdiConfigSlave.vhd.

◆ RegType

RegType
Record

Definition at line 61 of file AdiConfigSlave.vhd.

◆ state

state StateType
Record

Definition at line 62 of file AdiConfigSlave.vhd.

◆ count

count slv ( 3 downto 0 )
Record

Definition at line 63 of file AdiConfigSlave.vhd.

◆ shift

shift slv ( 15 downto 0 )
Record

Definition at line 64 of file AdiConfigSlave.vhd.

◆ bytes

bytes slv ( 1 downto 0 )
Record

Definition at line 65 of file AdiConfigSlave.vhd.

◆ wrEn

wrEn sl
Record

Definition at line 66 of file AdiConfigSlave.vhd.

◆ rdEn

rdEn sl
Record

Definition at line 67 of file AdiConfigSlave.vhd.

◆ addr

addr slv ( 12 downto 0 )
Record

Definition at line 68 of file AdiConfigSlave.vhd.

◆ wrData

wrData slv ( 31 downto 0 )
Record

Definition at line 69 of file AdiConfigSlave.vhd.

◆ byteValid

byteValid slv ( 3 downto 0 )
Record

Definition at line 70 of file AdiConfigSlave.vhd.

◆ dataOut

dataOut sl
Record

Definition at line 71 of file AdiConfigSlave.vhd.

◆ REG_INIT_C

REG_INIT_C RegType := ( state = > WAIT_CSB_FALL_S , count = > ( others = > ' 0 ' ) , shift = > ( others = > ' 0 ' ) , bytes = > ( others = > ' 0 ' ) , wrEn = > ' 0 ' , rdEn = > ' 0 ' , addr = > ( others = > ' 0 ' ) , wrData = > ( others = > ' 0 ' ) , byteValid = > ( others = > ' 0 ' ) , dataOut = > ' 1 ' )
Constant

Definition at line 74 of file AdiConfigSlave.vhd.

◆ r

r RegType := REG_INIT_C
Signal

Definition at line 86 of file AdiConfigSlave.vhd.

◆ rin

rin RegType
Signal

Definition at line 87 of file AdiConfigSlave.vhd.

◆ sdioRes

sdioRes sl
Signal

Definition at line 89 of file AdiConfigSlave.vhd.

◆ sdioSync

sdioSync sl
Signal

Definition at line 90 of file AdiConfigSlave.vhd.

◆ sdioRise

sdioRise sl
Signal

Definition at line 91 of file AdiConfigSlave.vhd.

◆ sdioFall

sdioFall sl
Signal

Definition at line 92 of file AdiConfigSlave.vhd.

◆ sclkRes

sclkRes sl
Signal

Definition at line 93 of file AdiConfigSlave.vhd.

◆ sclkSync

sclkSync sl
Signal

Definition at line 94 of file AdiConfigSlave.vhd.

◆ sclkRise

sclkRise sl
Signal

Definition at line 95 of file AdiConfigSlave.vhd.

◆ sclkFall

sclkFall sl
Signal

Definition at line 96 of file AdiConfigSlave.vhd.

◆ csbRes

csbRes sl
Signal

Definition at line 97 of file AdiConfigSlave.vhd.

◆ csbSync

csbSync sl
Signal

Definition at line 98 of file AdiConfigSlave.vhd.

◆ csbRise

csbRise sl
Signal

Definition at line 99 of file AdiConfigSlave.vhd.

◆ csbFall

csbFall sl
Signal

Definition at line 100 of file AdiConfigSlave.vhd.

◆ synchronizeredge_sdio

synchronizeredge_sdio SynchronizerEdge
Instantiation

Definition at line 119 of file AdiConfigSlave.vhd.

◆ synchronizeredge_sclk

synchronizeredge_sclk SynchronizerEdge
Instantiation

Definition at line 130 of file AdiConfigSlave.vhd.

◆ synchronizeredge_csb

synchronizeredge_csb SynchronizerEdge
Instantiation

Definition at line 141 of file AdiConfigSlave.vhd.


The documentation for this class was generated from the following file: