w11 - vhd 0.794
W11 CPU core and support modules
Loading...
Searching...
No Matches
syn Architecture Reference
Architecture >> syn

Processes

proc_regs  ( CLK )
proc_next  ( R_REGS , RB_MREQ , LED , DSP_DAT , DSP_DP , HIO_SWI , HIO_BTN , HIO_DSP_DAT , HIO_DSP_DP )

Constants

swizero  slv ( SWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
btnzero  slv ( BWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
ledzero  slv ( LWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
dpzero  slv ( ( 2 ** DCWIDTH ) - 1 downto 0 ) := ( others = > ' 0 ' )
datzero  slv ( 4 * ( 2 ** DCWIDTH ) - 1 downto 0 ) := ( others = > ' 0 ' )
regs_init  regs_type := ( ' 0 ' , swizero , btnzero , ledzero , datzero , dpzero , ledzero , swizero , btnzero , ledzero , datzero , dpzero , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' )
stat_rbf_emu  integer := 15
cntl_rbf_dsp1_en  integer := 4
cntl_rbf_dsp0_en  integer := 3
cntl_rbf_dp_en  integer := 2
cntl_rbf_led_en  integer := 1
cntl_rbf_swi_en  integer := 0
rbaddr_stat  slv3 := " 000 "
rbaddr_cntl  slv3 := " 001 "
rbaddr_btn  slv3 := " 010 "
rbaddr_swi  slv3 := " 011 "
rbaddr_led  slv3 := " 100 "
rbaddr_dp  slv3 := " 101 "
rbaddr_dsp0  slv3 := " 110 "
rbaddr_dsp1  slv3 := " 111 "

Subtypes

stat_rbf_hdig  integer range 14 downto 12
stat_rbf_hled  integer range 11 downto 8
stat_rbf_hbtn  integer range 7 downto 4
stat_rbf_hswi  integer range 3 downto 0
dspdat_msb  integer range 4 * ( 2 ** DCWIDTH ) - 1 downto 4 * ( 2 ** DCWIDTH ) - 16
dspdat_lsb  integer range 15 downto 0

Signals

R_REGS  regs_type := regs_init
N_REGS  regs_type := regs_init
HIO_SWI  slv ( SWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
HIO_BTN  slv ( BWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
HIO_LED  slv ( LWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
HIO_DSP_DAT  slv ( 4 * ( 2 ** DCWIDTH ) - 1 downto 0 ) := ( others = > ' 0 ' )
HIO_DSP_DP  slv ( ( 2 ** DCWIDTH ) - 1 downto 0 ) := ( others = > ' 0 ' )

Records

regs_type 
rbsel slbit
swi slv ( SWIDTH - 1 downto 0 )
btn slv ( BWIDTH - 1 downto 0 )
led slv ( LWIDTH - 1 downto 0 )
dsp_dat slv ( 4 * ( 2 ** DCWIDTH ) - 1 downto 0 )
dsp_dp slv ( ( 2 ** DCWIDTH ) - 1 downto 0 )
ledin slv ( LWIDTH - 1 downto 0 )
swieff slv ( SWIDTH - 1 downto 0 )
btneff slv ( BWIDTH - 1 downto 0 )
ledeff slv ( LWIDTH - 1 downto 0 )
dateff slv ( 4 * ( 2 ** DCWIDTH ) - 1 downto 0 )
dpeff slv ( ( 2 ** DCWIDTH ) - 1 downto 0 )
swi_en slbit
led_en slbit
dsp0_en slbit
dsp1_en slbit
dp_en slbit

Instantiations

hio  sn_humanio <Entity sn_humanio>

Detailed Description

Definition at line 112 of file sn_humanio_rbus.vhd.

Member Function/Procedure/Process Documentation

◆ proc_regs()

proc_regs (   CLK)

Definition at line 228 of file sn_humanio_rbus.vhd.

◆ proc_next()

proc_next (   R_REGS ,
  RB_MREQ ,
  LED ,
  DSP_DAT ,
  DSP_DP ,
  HIO_SWI ,
  HIO_BTN ,
  HIO_DSP_DAT ,
  HIO_DSP_DP  
)
Process

Definition at line 241 of file sn_humanio_rbus.vhd.

Member Data Documentation

◆ regs_type

regs_type
Record

Definition at line 114 of file sn_humanio_rbus.vhd.

◆ rbsel

rbsel slbit
Record

Definition at line 115 of file sn_humanio_rbus.vhd.

◆ swi

swi slv ( SWIDTH - 1 downto 0 )
Record

Definition at line 116 of file sn_humanio_rbus.vhd.

◆ btn

btn slv ( BWIDTH - 1 downto 0 )
Record

Definition at line 117 of file sn_humanio_rbus.vhd.

◆ led

led slv ( LWIDTH - 1 downto 0 )
Record

Definition at line 118 of file sn_humanio_rbus.vhd.

◆ dsp_dat

dsp_dat slv ( 4 * ( 2 ** DCWIDTH ) - 1 downto 0 )
Record

Definition at line 119 of file sn_humanio_rbus.vhd.

◆ dsp_dp

dsp_dp slv ( ( 2 ** DCWIDTH ) - 1 downto 0 )
Record

Definition at line 120 of file sn_humanio_rbus.vhd.

◆ ledin

ledin slv ( LWIDTH - 1 downto 0 )
Record

Definition at line 121 of file sn_humanio_rbus.vhd.

◆ swieff

swieff slv ( SWIDTH - 1 downto 0 )
Record

Definition at line 122 of file sn_humanio_rbus.vhd.

◆ btneff

btneff slv ( BWIDTH - 1 downto 0 )
Record

Definition at line 123 of file sn_humanio_rbus.vhd.

◆ ledeff

ledeff slv ( LWIDTH - 1 downto 0 )
Record

Definition at line 124 of file sn_humanio_rbus.vhd.

◆ dateff

dateff slv ( 4 * ( 2 ** DCWIDTH ) - 1 downto 0 )
Record

Definition at line 125 of file sn_humanio_rbus.vhd.

◆ dpeff

dpeff slv ( ( 2 ** DCWIDTH ) - 1 downto 0 )
Record

Definition at line 126 of file sn_humanio_rbus.vhd.

◆ swi_en

swi_en slbit
Record

Definition at line 127 of file sn_humanio_rbus.vhd.

◆ led_en

led_en slbit
Record

Definition at line 128 of file sn_humanio_rbus.vhd.

◆ dsp0_en

dsp0_en slbit
Record

Definition at line 129 of file sn_humanio_rbus.vhd.

◆ dsp1_en

dsp1_en slbit
Record

Definition at line 130 of file sn_humanio_rbus.vhd.

◆ dp_en

dp_en slbit
Record

Definition at line 131 of file sn_humanio_rbus.vhd.

◆ swizero

swizero slv ( SWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
Constant

Definition at line 134 of file sn_humanio_rbus.vhd.

◆ btnzero

btnzero slv ( BWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
Constant

Definition at line 135 of file sn_humanio_rbus.vhd.

◆ ledzero

ledzero slv ( LWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
Constant

Definition at line 136 of file sn_humanio_rbus.vhd.

◆ dpzero

dpzero slv ( ( 2 ** DCWIDTH ) - 1 downto 0 ) := ( others = > ' 0 ' )
Constant

Definition at line 137 of file sn_humanio_rbus.vhd.

◆ datzero

datzero slv ( 4 * ( 2 ** DCWIDTH ) - 1 downto 0 ) := ( others = > ' 0 ' )
Constant

Definition at line 138 of file sn_humanio_rbus.vhd.

◆ regs_init

regs_init regs_type := ( ' 0 ' , swizero , btnzero , ledzero , datzero , dpzero , ledzero , swizero , btnzero , ledzero , datzero , dpzero , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' )
Constant

Definition at line 140 of file sn_humanio_rbus.vhd.

◆ R_REGS

Definition at line 156 of file sn_humanio_rbus.vhd.

◆ N_REGS

Definition at line 157 of file sn_humanio_rbus.vhd.

◆ stat_rbf_emu

stat_rbf_emu integer := 15
Constant

Definition at line 159 of file sn_humanio_rbus.vhd.

◆ stat_rbf_hdig

stat_rbf_hdig integer range 14 downto 12
Subtype

Definition at line 160 of file sn_humanio_rbus.vhd.

◆ stat_rbf_hled

stat_rbf_hled integer range 11 downto 8
Subtype

Definition at line 161 of file sn_humanio_rbus.vhd.

◆ stat_rbf_hbtn

stat_rbf_hbtn integer range 7 downto 4
Subtype

Definition at line 162 of file sn_humanio_rbus.vhd.

◆ stat_rbf_hswi

stat_rbf_hswi integer range 3 downto 0
Subtype

Definition at line 163 of file sn_humanio_rbus.vhd.

◆ cntl_rbf_dsp1_en

cntl_rbf_dsp1_en integer := 4
Constant

Definition at line 165 of file sn_humanio_rbus.vhd.

◆ cntl_rbf_dsp0_en

cntl_rbf_dsp0_en integer := 3
Constant

Definition at line 166 of file sn_humanio_rbus.vhd.

◆ cntl_rbf_dp_en

cntl_rbf_dp_en integer := 2
Constant

Definition at line 167 of file sn_humanio_rbus.vhd.

◆ cntl_rbf_led_en

cntl_rbf_led_en integer := 1
Constant

Definition at line 168 of file sn_humanio_rbus.vhd.

◆ cntl_rbf_swi_en

cntl_rbf_swi_en integer := 0
Constant

Definition at line 169 of file sn_humanio_rbus.vhd.

◆ rbaddr_stat

rbaddr_stat slv3 := " 000 "
Constant

Definition at line 171 of file sn_humanio_rbus.vhd.

◆ rbaddr_cntl

rbaddr_cntl slv3 := " 001 "
Constant

Definition at line 172 of file sn_humanio_rbus.vhd.

◆ rbaddr_btn

rbaddr_btn slv3 := " 010 "
Constant

Definition at line 173 of file sn_humanio_rbus.vhd.

◆ rbaddr_swi

rbaddr_swi slv3 := " 011 "
Constant

Definition at line 174 of file sn_humanio_rbus.vhd.

◆ rbaddr_led

rbaddr_led slv3 := " 100 "
Constant

Definition at line 175 of file sn_humanio_rbus.vhd.

◆ rbaddr_dp

rbaddr_dp slv3 := " 101 "
Constant

Definition at line 176 of file sn_humanio_rbus.vhd.

◆ rbaddr_dsp0

rbaddr_dsp0 slv3 := " 110 "
Constant

Definition at line 177 of file sn_humanio_rbus.vhd.

◆ rbaddr_dsp1

rbaddr_dsp1 slv3 := " 111 "
Constant

Definition at line 178 of file sn_humanio_rbus.vhd.

◆ dspdat_msb

dspdat_msb integer range 4 * ( 2 ** DCWIDTH ) - 1 downto 4 * ( 2 ** DCWIDTH ) - 16
Subtype

Definition at line 180 of file sn_humanio_rbus.vhd.

◆ dspdat_lsb

dspdat_lsb integer range 15 downto 0
Subtype

Definition at line 181 of file sn_humanio_rbus.vhd.

◆ HIO_SWI

HIO_SWI slv ( SWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
Signal

Definition at line 183 of file sn_humanio_rbus.vhd.

◆ HIO_BTN

HIO_BTN slv ( BWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
Signal

Definition at line 184 of file sn_humanio_rbus.vhd.

◆ HIO_LED

HIO_LED slv ( LWIDTH - 1 downto 0 ) := ( others = > ' 0 ' )
Signal

Definition at line 185 of file sn_humanio_rbus.vhd.

◆ HIO_DSP_DAT

HIO_DSP_DAT slv ( 4 * ( 2 ** DCWIDTH ) - 1 downto 0 ) := ( others = > ' 0 ' )
Signal

Definition at line 186 of file sn_humanio_rbus.vhd.

◆ HIO_DSP_DP

HIO_DSP_DP slv ( ( 2 ** DCWIDTH ) - 1 downto 0 ) := ( others = > ' 0 ' )
Signal

Definition at line 187 of file sn_humanio_rbus.vhd.

◆ hio

hio sn_humanio
Instantiation

Definition at line 226 of file sn_humanio_rbus.vhd.


The documentation for this design unit was generated from the following file: