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 )

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 )
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

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 )

Detailed Description

Definition at line 75 of file sn_humanio_emu_rbus.vhd.

Member Function/Procedure/Process Documentation

◆ proc_regs()

proc_regs (   CLK  
)
Process

Definition at line 144 of file sn_humanio_emu_rbus.vhd.

◆ proc_next()

proc_next (   R_REGS ,
  RB_MREQ ,
  LED ,
  DSP_DAT ,
  DSP_DP  
)
Process

Definition at line 157 of file sn_humanio_emu_rbus.vhd.

Member Data Documentation

◆ regs_type

regs_type
Record

Definition at line 77 of file sn_humanio_emu_rbus.vhd.

◆ rbsel

rbsel slbit
Record

Definition at line 78 of file sn_humanio_emu_rbus.vhd.

◆ swi

swi slv ( SWIDTH - 1 downto 0 )
Record

Definition at line 79 of file sn_humanio_emu_rbus.vhd.

◆ btn

btn slv ( BWIDTH - 1 downto 0 )
Record

Definition at line 80 of file sn_humanio_emu_rbus.vhd.

◆ led

led slv ( LWIDTH - 1 downto 0 )
Record

Definition at line 81 of file sn_humanio_emu_rbus.vhd.

◆ dsp_dat

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

Definition at line 82 of file sn_humanio_emu_rbus.vhd.

◆ dsp_dp

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

Definition at line 83 of file sn_humanio_emu_rbus.vhd.

◆ swizero

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

Definition at line 86 of file sn_humanio_emu_rbus.vhd.

◆ btnzero

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

Definition at line 87 of file sn_humanio_emu_rbus.vhd.

◆ ledzero

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

Definition at line 88 of file sn_humanio_emu_rbus.vhd.

◆ dpzero

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

Definition at line 89 of file sn_humanio_emu_rbus.vhd.

◆ datzero

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

Definition at line 90 of file sn_humanio_emu_rbus.vhd.

◆ regs_init

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

Definition at line 92 of file sn_humanio_emu_rbus.vhd.

◆ R_REGS

Definition at line 101 of file sn_humanio_emu_rbus.vhd.

◆ N_REGS

Definition at line 102 of file sn_humanio_emu_rbus.vhd.

◆ stat_rbf_emu

stat_rbf_emu integer := 15
Constant

Definition at line 104 of file sn_humanio_emu_rbus.vhd.

◆ stat_rbf_hdig

stat_rbf_hdig integer range 14 downto 12
Subtype

Definition at line 105 of file sn_humanio_emu_rbus.vhd.

◆ stat_rbf_hled

stat_rbf_hled integer range 11 downto 8
Subtype

Definition at line 106 of file sn_humanio_emu_rbus.vhd.

◆ stat_rbf_hbtn

stat_rbf_hbtn integer range 7 downto 4
Subtype

Definition at line 107 of file sn_humanio_emu_rbus.vhd.

◆ stat_rbf_hswi

stat_rbf_hswi integer range 3 downto 0
Subtype

Definition at line 108 of file sn_humanio_emu_rbus.vhd.

◆ cntl_rbf_dsp1_en

cntl_rbf_dsp1_en integer := 4
Constant

Definition at line 110 of file sn_humanio_emu_rbus.vhd.

◆ cntl_rbf_dsp0_en

cntl_rbf_dsp0_en integer := 3
Constant

Definition at line 111 of file sn_humanio_emu_rbus.vhd.

◆ cntl_rbf_dp_en

cntl_rbf_dp_en integer := 2
Constant

Definition at line 112 of file sn_humanio_emu_rbus.vhd.

◆ cntl_rbf_led_en

cntl_rbf_led_en integer := 1
Constant

Definition at line 113 of file sn_humanio_emu_rbus.vhd.

◆ cntl_rbf_swi_en

cntl_rbf_swi_en integer := 0
Constant

Definition at line 114 of file sn_humanio_emu_rbus.vhd.

◆ rbaddr_stat

rbaddr_stat slv3 := " 000 "
Constant

Definition at line 116 of file sn_humanio_emu_rbus.vhd.

◆ rbaddr_cntl

rbaddr_cntl slv3 := " 001 "
Constant

Definition at line 117 of file sn_humanio_emu_rbus.vhd.

◆ rbaddr_btn

rbaddr_btn slv3 := " 010 "
Constant

Definition at line 118 of file sn_humanio_emu_rbus.vhd.

◆ rbaddr_swi

rbaddr_swi slv3 := " 011 "
Constant

Definition at line 119 of file sn_humanio_emu_rbus.vhd.

◆ rbaddr_led

rbaddr_led slv3 := " 100 "
Constant

Definition at line 120 of file sn_humanio_emu_rbus.vhd.

◆ rbaddr_dp

rbaddr_dp slv3 := " 101 "
Constant

Definition at line 121 of file sn_humanio_emu_rbus.vhd.

◆ rbaddr_dsp0

rbaddr_dsp0 slv3 := " 110 "
Constant

Definition at line 122 of file sn_humanio_emu_rbus.vhd.

◆ rbaddr_dsp1

rbaddr_dsp1 slv3 := " 111 "
Constant

Definition at line 123 of file sn_humanio_emu_rbus.vhd.

◆ dspdat_msb

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

Definition at line 125 of file sn_humanio_emu_rbus.vhd.

◆ dspdat_lsb

dspdat_lsb integer range 15 downto 0
Subtype

Definition at line 126 of file sn_humanio_emu_rbus.vhd.


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