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 , IB_MREQ , CE_USEC , CE_MSEC , EXTEVT , CPUSUSP , EI_ACK )

Constants

ibaddr_kw11p  slv16 := slv ( to_unsigned ( 8#172540# , 16 ) )
ibaddr_csr  slv2 := " 00 "
ibaddr_csb  slv2 := " 01 "
ibaddr_ctr  slv2 := " 10 "
csr_ibf_err  integer := 15
csr_ibf_ir  integer := 10
csr_ibf_done  integer := 7
csr_ibf_ie  integer := 6
csr_ibf_fix  integer := 5
csr_ibf_updn  integer := 4
csr_ibf_mode  integer := 3
csr_ibf_run  integer := 0
rate_100k  slv2 := " 00 "
rate_10k  slv2 := " 01 "
rate_line  slv2 := " 10 "
rate_ext  slv2 := " 11 "
erate_sclk  slv2 := " 00 "
erate_usec  slv2 := " 01 "
erate_ext  slv2 := " 10 "
erate_noop  slv2 := " 11 "
dwidth  natural := 4
ddivide  natural := 10
lwidth  natural := 5
ldivide  natural := 20
ctrzero  slv16 := ( others = > ' 0 ' )
regs_init  regs_type := ( ' 0 ' , " 00 " , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , " 00 " , ' 0 ' , ( others = > ' 0 ' ) , ( others = > ' 0 ' ) , ' 0 ' , ( others = > ' 0 ' ) , ( others = > ' 0 ' ) , ( others = > ' 0 ' ) , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' )

Subtypes

csr_ibf_erate  integer range 9 downto 8
csr_ibf_rate  integer range 2 downto 1

Signals

R_REGS  regs_type := regs_init
N_REGS  regs_type := regs_init

Records

regs_type 
ibsel slbit
erate slv2
err slbit
done slbit
ie slbit
updn slbit
mode slbit
rate slv2
run slbit
csb slv16
ctr slv16
intreq slbit
lcnt slv ( lwidth - 1 downto 0 )
d1cnt slv ( dwidth - 1 downto 0 )
d2cnt slv ( dwidth - 1 downto 0 )
evt100k slbit
evt10k slbit
evtline slbit
evtext slbit
evtfix slbit
evtload slbit

Detailed Description

Definition at line 50 of file ibd_kw11p.vhd.

Member Function/Procedure/Process Documentation

◆ proc_regs()

proc_regs (   CLK  
)
Process

Definition at line 130 of file ibd_kw11p.vhd.

◆ proc_next()

proc_next (   R_REGS ,
  IB_MREQ ,
  CE_USEC ,
  CE_MSEC ,
  EXTEVT ,
  CPUSUSP ,
  EI_ACK  
)
Process

Definition at line 147 of file ibd_kw11p.vhd.

Member Data Documentation

◆ ibaddr_kw11p

ibaddr_kw11p slv16 := slv ( to_unsigned ( 8#172540# , 16 ) )
Constant

Definition at line 52 of file ibd_kw11p.vhd.

◆ ibaddr_csr

ibaddr_csr slv2 := " 00 "
Constant

Definition at line 54 of file ibd_kw11p.vhd.

◆ ibaddr_csb

ibaddr_csb slv2 := " 01 "
Constant

Definition at line 55 of file ibd_kw11p.vhd.

◆ ibaddr_ctr

ibaddr_ctr slv2 := " 10 "
Constant

Definition at line 56 of file ibd_kw11p.vhd.

◆ csr_ibf_err

csr_ibf_err integer := 15
Constant

Definition at line 58 of file ibd_kw11p.vhd.

◆ csr_ibf_ir

csr_ibf_ir integer := 10
Constant

Definition at line 59 of file ibd_kw11p.vhd.

◆ csr_ibf_erate

csr_ibf_erate integer range 9 downto 8
Subtype

Definition at line 60 of file ibd_kw11p.vhd.

◆ csr_ibf_done

csr_ibf_done integer := 7
Constant

Definition at line 61 of file ibd_kw11p.vhd.

◆ csr_ibf_ie

csr_ibf_ie integer := 6
Constant

Definition at line 62 of file ibd_kw11p.vhd.

◆ csr_ibf_fix

csr_ibf_fix integer := 5
Constant

Definition at line 63 of file ibd_kw11p.vhd.

◆ csr_ibf_updn

csr_ibf_updn integer := 4
Constant

Definition at line 64 of file ibd_kw11p.vhd.

◆ csr_ibf_mode

csr_ibf_mode integer := 3
Constant

Definition at line 65 of file ibd_kw11p.vhd.

◆ csr_ibf_rate

csr_ibf_rate integer range 2 downto 1
Subtype

Definition at line 66 of file ibd_kw11p.vhd.

◆ csr_ibf_run

csr_ibf_run integer := 0
Constant

Definition at line 67 of file ibd_kw11p.vhd.

◆ rate_100k

rate_100k slv2 := " 00 "
Constant

Definition at line 69 of file ibd_kw11p.vhd.

◆ rate_10k

rate_10k slv2 := " 01 "
Constant

Definition at line 70 of file ibd_kw11p.vhd.

◆ rate_line

rate_line slv2 := " 10 "
Constant

Definition at line 71 of file ibd_kw11p.vhd.

◆ rate_ext

rate_ext slv2 := " 11 "
Constant

Definition at line 72 of file ibd_kw11p.vhd.

◆ erate_sclk

erate_sclk slv2 := " 00 "
Constant

Definition at line 74 of file ibd_kw11p.vhd.

◆ erate_usec

erate_usec slv2 := " 01 "
Constant

Definition at line 75 of file ibd_kw11p.vhd.

◆ erate_ext

erate_ext slv2 := " 10 "
Constant

Definition at line 76 of file ibd_kw11p.vhd.

◆ erate_noop

erate_noop slv2 := " 11 "
Constant

Definition at line 77 of file ibd_kw11p.vhd.

◆ dwidth

dwidth natural := 4
Constant

Definition at line 79 of file ibd_kw11p.vhd.

◆ ddivide

ddivide natural := 10
Constant

Definition at line 80 of file ibd_kw11p.vhd.

◆ lwidth

lwidth natural := 5
Constant

Definition at line 81 of file ibd_kw11p.vhd.

◆ ldivide

ldivide natural := 20
Constant

Definition at line 82 of file ibd_kw11p.vhd.

◆ ctrzero

ctrzero slv16 := ( others = > ' 0 ' )
Constant

Definition at line 84 of file ibd_kw11p.vhd.

◆ regs_type

regs_type
Record

Definition at line 86 of file ibd_kw11p.vhd.

◆ ibsel

ibsel slbit
Record

Definition at line 87 of file ibd_kw11p.vhd.

◆ erate

erate slv2
Record

Definition at line 88 of file ibd_kw11p.vhd.

◆ err

err slbit
Record

Definition at line 89 of file ibd_kw11p.vhd.

◆ done

done slbit
Record

Definition at line 90 of file ibd_kw11p.vhd.

◆ ie

ie slbit
Record

Definition at line 91 of file ibd_kw11p.vhd.

◆ updn

updn slbit
Record

Definition at line 92 of file ibd_kw11p.vhd.

◆ mode

mode slbit
Record

Definition at line 93 of file ibd_kw11p.vhd.

◆ rate

rate slv2
Record

Definition at line 94 of file ibd_kw11p.vhd.

◆ run

run slbit
Record

Definition at line 95 of file ibd_kw11p.vhd.

◆ csb

csb slv16
Record

Definition at line 96 of file ibd_kw11p.vhd.

◆ ctr

ctr slv16
Record

Definition at line 97 of file ibd_kw11p.vhd.

◆ intreq

intreq slbit
Record

Definition at line 98 of file ibd_kw11p.vhd.

◆ lcnt

lcnt slv ( lwidth - 1 downto 0 )
Record

Definition at line 99 of file ibd_kw11p.vhd.

◆ d1cnt

d1cnt slv ( dwidth - 1 downto 0 )
Record

Definition at line 100 of file ibd_kw11p.vhd.

◆ d2cnt

d2cnt slv ( dwidth - 1 downto 0 )
Record

Definition at line 101 of file ibd_kw11p.vhd.

◆ evt100k

evt100k slbit
Record

Definition at line 102 of file ibd_kw11p.vhd.

◆ evt10k

evt10k slbit
Record

Definition at line 103 of file ibd_kw11p.vhd.

◆ evtline

evtline slbit
Record

Definition at line 104 of file ibd_kw11p.vhd.

◆ evtext

evtext slbit
Record

Definition at line 105 of file ibd_kw11p.vhd.

◆ evtfix

evtfix slbit
Record

Definition at line 106 of file ibd_kw11p.vhd.

◆ evtload

evtload slbit
Record

Definition at line 107 of file ibd_kw11p.vhd.

◆ regs_init

regs_init regs_type := ( ' 0 ' , " 00 " , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , " 00 " , ' 0 ' , ( others = > ' 0 ' ) , ( others = > ' 0 ' ) , ' 0 ' , ( others = > ' 0 ' ) , ( others = > ' 0 ' ) , ( others = > ' 0 ' ) , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' , ' 0 ' )
Constant

Definition at line 110 of file ibd_kw11p.vhd.

◆ R_REGS

Definition at line 125 of file ibd_kw11p.vhd.

◆ N_REGS

Definition at line 126 of file ibd_kw11p.vhd.


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