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

Processes

proc_stim 
proc_moni 

Procedures

( 1 to amtbl_size ) amrec_type   get_addr( L: inout line , addr: out slv16 )
  cmd_waitdone
  setup_check_n( pbcnt: in integer )
  setup_check_d
  setup_check_s
  cmd_start(
pcmd: in slv3
paddr: in slv16 ( others = > ' 0 ' )
pdata: in slv16 ( others = > ' 0 ' )
pbcnt: in integer 1
)

Constants

clock_period  Delay_length := 20 ns
clock_offset  Delay_length := 200 ns
setup_time  Delay_length := 5 ns
c2out_time  Delay_length := 10 ns

Signals

CLK  slbit := ' 0 '
CE_MSEC  slbit := ' 0 '
RESET  slbit := ' 0 '
TBA_CNTL  rlink_tba_cntl_type := rlink_tba_cntl_init
TBA_DI  slv16 := ( others = > ' 0 ' )
TBA_STAT  rlink_tba_stat_type := rlink_tba_stat_init
TBA_DO  slv16 := ( others = > ' 0 ' )
RL_DI  slv9 := ( others = > ' 0 ' )
RL_ENA  slbit := ' 0 '
RL_BUSY  slbit := ' 0 '
RL_DO  slv9 := ( others = > ' 0 ' )
RL_VAL  slbit := ' 0 '
RL_HOLD  slbit := ' 0 '
RL_MONI  rl_moni_type := rl_moni_init
RB_MREQ  rb_mreq_type := rb_mreq_init
RB_SRES  rb_sres_type := rb_sres_init
RB_LAM  slv16 := ( others = > ' 0 ' )
RB_STAT  slv4 := ( others = > ' 0 ' )
RB_MREQ_aval  slbit := ' 0 '
RB_MREQ_re  slbit := ' 0 '
RB_MREQ_we  slbit := ' 0 '
RB_MREQ_initt  slbit := ' 0 '
RB_MREQ_addr  slv16 := ( others = > ' 0 ' )
RB_MREQ_din  slv16 := ( others = > ' 0 ' )
RB_SRES_ack  slbit := ' 0 '
RB_SRES_busy  slbit := ' 0 '
RB_SRES_err  slbit := ' 0 '
RB_SRES_dout  slv16 := ( others = > ' 0 ' )
RLMON_EN  slbit := ' 0 '
RBMON_EN  slbit := ' 0 '
N_CMD_CODE  string ( 1 to 4 ) := ( others = > ' ' )
N_CMD_ADDR  slv16 := ( others = > ' 0 ' )
N_CMD_DATA  slv16 := ( others = > ' 0 ' )
N_CHK_DATA  boolean := false
N_REF_DATA  slv16 := ( others = > ' 0 ' )
N_MSK_DATA  slv16 := ( others = > ' 0 ' )
N_CHK_DONE  boolean := false
N_REF_DONE  slv16 := ( others = > ' 0 ' )
N_CHK_STAT  boolean := false
N_REF_STAT  slv8 := ( others = > ' 0 ' )
N_MSK_STAT  slv8 := ( others = > ' 0 ' )
R_CMD_CODE  string ( 1 to 4 ) := ( others = > ' ' )
R_CMD_ADDR  slv16 := ( others = > ' 0 ' )
R_CMD_DATA  slv16 := ( others = > ' 0 ' )
R_CHK_DATA  boolean := false
R_REF_DATA  slv16 := ( others = > ' 0 ' )
R_MSK_DATA  slv16 := ( others = > ' 0 ' )
R_CHK_DONE  boolean := false
R_REF_DONE  slv16 := ( others = > ' 0 ' )
R_CHK_STAT  boolean := false
R_REF_STAT  slv8 := ( others = > ' 0 ' )
R_MSK_STAT  slv8 := ( others = > ' 0 ' )
CLK_STOP  slbit := ' 0 '
CLK_CYCLE  integer := 0

Shared Variables

sv_dbasi  shared integer := := 2
sv_dbaso  shared integer := := 2

Instantiations

clkgen  simclk <Entity simclk>
clkcnt  simclkcnt <Entity simclkcnt>
clkdiv  clkdivce_tb <Entity clkdivce_tb>
tba  rlink_tba <Entity rlink_tba>
rlink  rlink_core <Entity rlink_core>
uut  rbtba_aif
rlmon  rlink_mon <Entity rlink_mon>
rbmon  rb_mon <Entity rb_mon>

Detailed Description

Definition at line 72 of file tb_rlink_tba.vhd.

Member Function/Procedure/Process Documentation

◆ get_addr()

( 1 to amtbl_size) amrec_type get_addr ( inout line   L,
out slv16   addr 
)

Definition at line 301 of file tb_rlink_tba.vhd.

◆ cmd_waitdone()

cmd_waitdone ( )
Procedure

Definition at line 339 of file tb_rlink_tba.vhd.

◆ setup_check_n()

setup_check_n (   pbcnt in integer  
)
Procedure

Definition at line 350 of file tb_rlink_tba.vhd.

◆ setup_check_d()

setup_check_d ( )
Procedure

Definition at line 366 of file tb_rlink_tba.vhd.

◆ setup_check_s()

setup_check_s ( )
Procedure

Definition at line 377 of file tb_rlink_tba.vhd.

◆ cmd_start()

cmd_start (   pcmd in slv3 ,
  paddr in slv16 ( others => ' 0 ') ,
  pdata in slv16 ( others => ' 0 ') ,
  pbcnt in integer 1  
)
Procedure

Definition at line 394 of file tb_rlink_tba.vhd.

◆ proc_stim()

proc_stim ( )
Process

◆ proc_moni()

proc_moni ( )
Process

Definition at line 678 of file tb_rlink_tba.vhd.

Member Data Documentation

◆ CLK

CLK slbit := ' 0 '
Signal

Definition at line 74 of file tb_rlink_tba.vhd.

◆ CE_MSEC

CE_MSEC slbit := ' 0 '
Signal

Definition at line 75 of file tb_rlink_tba.vhd.

◆ RESET

RESET slbit := ' 0 '
Signal

Definition at line 76 of file tb_rlink_tba.vhd.

◆ TBA_CNTL

TBA_CNTL rlink_tba_cntl_type := rlink_tba_cntl_init
Signal

Definition at line 77 of file tb_rlink_tba.vhd.

◆ TBA_DI

TBA_DI slv16 := ( others = > ' 0 ' )
Signal

Definition at line 78 of file tb_rlink_tba.vhd.

◆ TBA_STAT

TBA_STAT rlink_tba_stat_type := rlink_tba_stat_init
Signal

Definition at line 79 of file tb_rlink_tba.vhd.

◆ TBA_DO

TBA_DO slv16 := ( others = > ' 0 ' )
Signal

Definition at line 80 of file tb_rlink_tba.vhd.

◆ RL_DI

RL_DI slv9 := ( others = > ' 0 ' )
Signal

Definition at line 81 of file tb_rlink_tba.vhd.

◆ RL_ENA

RL_ENA slbit := ' 0 '
Signal

Definition at line 82 of file tb_rlink_tba.vhd.

◆ RL_BUSY

RL_BUSY slbit := ' 0 '
Signal

Definition at line 83 of file tb_rlink_tba.vhd.

◆ RL_DO

RL_DO slv9 := ( others = > ' 0 ' )
Signal

Definition at line 84 of file tb_rlink_tba.vhd.

◆ RL_VAL

RL_VAL slbit := ' 0 '
Signal

Definition at line 85 of file tb_rlink_tba.vhd.

◆ RL_HOLD

RL_HOLD slbit := ' 0 '
Signal

Definition at line 86 of file tb_rlink_tba.vhd.

◆ RL_MONI

RL_MONI rl_moni_type := rl_moni_init
Signal

Definition at line 87 of file tb_rlink_tba.vhd.

◆ RB_MREQ

RB_MREQ rb_mreq_type := rb_mreq_init
Signal

Definition at line 89 of file tb_rlink_tba.vhd.

◆ RB_SRES

RB_SRES rb_sres_type := rb_sres_init
Signal

Definition at line 90 of file tb_rlink_tba.vhd.

◆ RB_LAM

RB_LAM slv16 := ( others = > ' 0 ' )
Signal

Definition at line 91 of file tb_rlink_tba.vhd.

◆ RB_STAT

RB_STAT slv4 := ( others = > ' 0 ' )
Signal

Definition at line 92 of file tb_rlink_tba.vhd.

◆ RB_MREQ_aval

RB_MREQ_aval slbit := ' 0 '
Signal

Definition at line 94 of file tb_rlink_tba.vhd.

◆ RB_MREQ_re

RB_MREQ_re slbit := ' 0 '
Signal

Definition at line 95 of file tb_rlink_tba.vhd.

◆ RB_MREQ_we

RB_MREQ_we slbit := ' 0 '
Signal

Definition at line 96 of file tb_rlink_tba.vhd.

◆ RB_MREQ_initt

RB_MREQ_initt slbit := ' 0 '
Signal

Definition at line 97 of file tb_rlink_tba.vhd.

◆ RB_MREQ_addr

RB_MREQ_addr slv16 := ( others = > ' 0 ' )
Signal

Definition at line 98 of file tb_rlink_tba.vhd.

◆ RB_MREQ_din

RB_MREQ_din slv16 := ( others = > ' 0 ' )
Signal

Definition at line 99 of file tb_rlink_tba.vhd.

◆ RB_SRES_ack

RB_SRES_ack slbit := ' 0 '
Signal

Definition at line 100 of file tb_rlink_tba.vhd.

◆ RB_SRES_busy

RB_SRES_busy slbit := ' 0 '
Signal

Definition at line 101 of file tb_rlink_tba.vhd.

◆ RB_SRES_err

RB_SRES_err slbit := ' 0 '
Signal

Definition at line 102 of file tb_rlink_tba.vhd.

◆ RB_SRES_dout

RB_SRES_dout slv16 := ( others = > ' 0 ' )
Signal

Definition at line 103 of file tb_rlink_tba.vhd.

◆ RLMON_EN

RLMON_EN slbit := ' 0 '
Signal

Definition at line 105 of file tb_rlink_tba.vhd.

◆ RBMON_EN

RBMON_EN slbit := ' 0 '
Signal

Definition at line 106 of file tb_rlink_tba.vhd.

◆ N_CMD_CODE

N_CMD_CODE string ( 1 to 4 ) := ( others = > ' ' )
Signal

Definition at line 108 of file tb_rlink_tba.vhd.

◆ N_CMD_ADDR

N_CMD_ADDR slv16 := ( others = > ' 0 ' )
Signal

Definition at line 109 of file tb_rlink_tba.vhd.

◆ N_CMD_DATA

N_CMD_DATA slv16 := ( others = > ' 0 ' )
Signal

Definition at line 110 of file tb_rlink_tba.vhd.

◆ N_CHK_DATA

N_CHK_DATA boolean := false
Signal

Definition at line 111 of file tb_rlink_tba.vhd.

◆ N_REF_DATA

N_REF_DATA slv16 := ( others = > ' 0 ' )
Signal

Definition at line 112 of file tb_rlink_tba.vhd.

◆ N_MSK_DATA

N_MSK_DATA slv16 := ( others = > ' 0 ' )
Signal

Definition at line 113 of file tb_rlink_tba.vhd.

◆ N_CHK_DONE

N_CHK_DONE boolean := false
Signal

Definition at line 114 of file tb_rlink_tba.vhd.

◆ N_REF_DONE

N_REF_DONE slv16 := ( others = > ' 0 ' )
Signal

Definition at line 115 of file tb_rlink_tba.vhd.

◆ N_CHK_STAT

N_CHK_STAT boolean := false
Signal

Definition at line 116 of file tb_rlink_tba.vhd.

◆ N_REF_STAT

N_REF_STAT slv8 := ( others = > ' 0 ' )
Signal

Definition at line 117 of file tb_rlink_tba.vhd.

◆ N_MSK_STAT

N_MSK_STAT slv8 := ( others = > ' 0 ' )
Signal

Definition at line 118 of file tb_rlink_tba.vhd.

◆ R_CMD_CODE

R_CMD_CODE string ( 1 to 4 ) := ( others = > ' ' )
Signal

Definition at line 120 of file tb_rlink_tba.vhd.

◆ R_CMD_ADDR

R_CMD_ADDR slv16 := ( others = > ' 0 ' )
Signal

Definition at line 121 of file tb_rlink_tba.vhd.

◆ R_CMD_DATA

R_CMD_DATA slv16 := ( others = > ' 0 ' )
Signal

Definition at line 122 of file tb_rlink_tba.vhd.

◆ R_CHK_DATA

R_CHK_DATA boolean := false
Signal

Definition at line 123 of file tb_rlink_tba.vhd.

◆ R_REF_DATA

R_REF_DATA slv16 := ( others = > ' 0 ' )
Signal

Definition at line 124 of file tb_rlink_tba.vhd.

◆ R_MSK_DATA

R_MSK_DATA slv16 := ( others = > ' 0 ' )
Signal

Definition at line 125 of file tb_rlink_tba.vhd.

◆ R_CHK_DONE

R_CHK_DONE boolean := false
Signal

Definition at line 126 of file tb_rlink_tba.vhd.

◆ R_REF_DONE

R_REF_DONE slv16 := ( others = > ' 0 ' )
Signal

Definition at line 127 of file tb_rlink_tba.vhd.

◆ R_CHK_STAT

R_CHK_STAT boolean := false
Signal

Definition at line 128 of file tb_rlink_tba.vhd.

◆ R_REF_STAT

R_REF_STAT slv8 := ( others = > ' 0 ' )
Signal

Definition at line 129 of file tb_rlink_tba.vhd.

◆ R_MSK_STAT

R_MSK_STAT slv8 := ( others = > ' 0 ' )
Signal

Definition at line 130 of file tb_rlink_tba.vhd.

◆ CLK_STOP

CLK_STOP slbit := ' 0 '
Signal

Definition at line 132 of file tb_rlink_tba.vhd.

◆ CLK_CYCLE

CLK_CYCLE integer := 0
Signal

Definition at line 133 of file tb_rlink_tba.vhd.

◆ sv_dbasi

sv_dbasi shared integer := := 2
Shared Variable

Definition at line 135 of file tb_rlink_tba.vhd.

◆ sv_dbaso

sv_dbaso shared integer := := 2
Shared Variable

Definition at line 136 of file tb_rlink_tba.vhd.

◆ clock_period

clock_period Delay_length := 20 ns
Constant

Definition at line 138 of file tb_rlink_tba.vhd.

◆ clock_offset

clock_offset Delay_length := 200 ns
Constant

Definition at line 139 of file tb_rlink_tba.vhd.

◆ setup_time

setup_time Delay_length := 5 ns
Constant

Definition at line 140 of file tb_rlink_tba.vhd.

◆ c2out_time

c2out_time Delay_length := 10 ns
Constant

Definition at line 141 of file tb_rlink_tba.vhd.

◆ clkgen

clkgen simclk
Instantiation

Definition at line 152 of file tb_rlink_tba.vhd.

◆ clkcnt

clkcnt simclkcnt
Instantiation

Definition at line 154 of file tb_rlink_tba.vhd.

◆ clkdiv

clkdiv clkdivce_tb
Instantiation

Definition at line 165 of file tb_rlink_tba.vhd.

◆ tba

tba rlink_tba
Instantiation

Definition at line 181 of file tb_rlink_tba.vhd.

◆ rlink

rlink rlink_core
Instantiation

Definition at line 203 of file tb_rlink_tba.vhd.

◆ uut

uut rbtba_aif
Instantiation

Definition at line 233 of file tb_rlink_tba.vhd.

◆ rlmon

rlmon rlink_mon
Instantiation

Definition at line 248 of file tb_rlink_tba.vhd.

◆ rbmon

rbmon rb_mon
Instantiation

Definition at line 259 of file tb_rlink_tba.vhd.


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