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

  get_cmd_ea( L: inout line , picmd: out slv8 )
  get_seq_ea(
L: inout line
pcode: in slv3
picmd: out slv8
)
  do_tx9( data: in slv9 )
  do_tx8( data: in slv8 )
  do_tx16( data: in slv16 )
  do_txcrc
  do_txsop
  do_txeop
  do_txc( picmd: in slv8 )
  do_txca( picmd: in slv8 , piaddr: in slv16 )
  do_txcad(
picmd: in slv8
piaddr: in slv16
pidata: in slv16
)
  do_txblks( pnblk: in natural , pstart: in slv16 )
  checkmiss_rx
  do_rx9( data: in slv9 )
  do_rx8( data: in slv8 )
  do_rx16( data: in slv16 )
  do_rxattn
  do_rxcrc
  do_rxsop
  do_rxeop
  do_rxcs( picmd: in slv8 , pistat: in slv8 )
  do_rxcds(
picmd: in slv8
pidata: in slv16
pistat: in slv8
)
  do_rxcbs(
picmd: in slv8
pibabo: in slv8
pistat: in slv8
)
  do_rxrbeg( picmd: in slv8 , pnblk: in natural )
  do_rxrend( pnblk: in natural , pistat: in slv8 )
  do_rxblks( pnblk: in natural , pstart: in slv16 )

Components

tbd_rlink_gen 

Constants

d_f_cflag  integer := 8
rxlist_size  positive := 4096
txlist_size  positive := 4096
datlist_size  positive := 2048
slv9_zero  slv9 := ( others = > ' 0 ' )
slv16_zero  slv16 := ( others = > ' 0 ' )
clock_period  Delay_length := 20 ns
clock_offset  Delay_length := 200 ns
setup_time  Delay_length := 5 ns
c2out_time  Delay_length := 10 ns

Types

rxlist_array_type  ( 0 to rxlist_size - 1 ) slv9
txlist_array_type  ( 0 to txlist_size - 1 ) slv9
datlist_array_type  ( 0 to datlist_size - 1 ) slv16

Subtypes

d_f_data  integer range 7 downto 0
f_byte1  integer range 15 downto 8
f_byte0  integer range 7 downto 0

Signals

CLK  slbit := ' 0 '
CE_USEC  slbit := ' 0 '
CE_MSEC  slbit := ' 0 '
RESET  slbit := ' 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 '
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 ' )
RB_LAM_TBENCH  slv16 := ( others = > ' 0 ' )
RB_LAM_TESTER  slv16 := ( others = > ' 0 ' )
RB_LAM  slv16 := ( others = > ' 0 ' )
RB_STAT  slv4 := ( others = > ' 0 ' )
TXRXACT  slbit := ' 0 '
RB_MREQ  rb_mreq_type := rb_mreq_init
RB_SRES  rb_sres_type := rb_sres_init
CLK_STOP  slbit := ' 0 '
CLK_CYCLE  integer := 0

Shared Variables

sv_rxlist  shared rxlist_array_type := := ( others = > slv9_zero )
sv_nrxlist  shared natural := := 0
sv_rxind  shared natural := := 0

Instantiations

clkgen  simclk <Entity simclk>
clkcnt  simclkcnt <Entity simclkcnt>
clkdiv  clkdivce_tb <Entity clkdivce_tb>
rbtest  rbd_tester <Entity rbd_tester>
uut  tbd_rlink_gen

Detailed Description

Definition at line 136 of file tb_rlink.vhd.

Member Function/Procedure/Process Documentation

◆ get_cmd_ea()

get_cmd_ea ( inout line   L,
out slv8   picmd 
)

Definition at line 331 of file tb_rlink.vhd.

◆ get_seq_ea()

get_seq_ea (   L inout line ,
  pcode in slv3 ,
  picmd out slv8  
)
Procedure

Definition at line 363 of file tb_rlink.vhd.

◆ do_tx9()

do_tx9 (   data in slv9  
)
Procedure

Definition at line 378 of file tb_rlink.vhd.

◆ do_tx8()

do_tx8 (   data in slv8  
)
Procedure

Definition at line 384 of file tb_rlink.vhd.

◆ do_tx16()

do_tx16 (   data in slv16  
)
Procedure

Definition at line 390 of file tb_rlink.vhd.

◆ do_txcrc()

do_txcrc ( )
Procedure

Definition at line 396 of file tb_rlink.vhd.

◆ do_txsop()

do_txsop ( )
Procedure

Definition at line 402 of file tb_rlink.vhd.

◆ do_txeop()

do_txeop ( )
Procedure

Definition at line 408 of file tb_rlink.vhd.

◆ do_txc()

do_txc (   picmd in slv8  
)
Procedure

Definition at line 413 of file tb_rlink.vhd.

◆ do_txca()

do_txca (   picmd in slv8 ,
  piaddr in slv16  
)
Procedure

Definition at line 419 of file tb_rlink.vhd.

◆ do_txcad()

do_txcad (   picmd in slv8 ,
  piaddr in slv16 ,
  pidata in slv16  
)
Procedure

Definition at line 428 of file tb_rlink.vhd.

◆ do_txblks()

do_txblks (   pnblk in natural ,
  pstart in slv16  
)
Procedure

Definition at line 439 of file tb_rlink.vhd.

◆ checkmiss_rx()

checkmiss_rx ( )
Procedure

Definition at line 452 of file tb_rlink.vhd.

◆ do_rx9()

do_rx9 (   data in slv9  
)
Procedure

Definition at line 467 of file tb_rlink.vhd.

◆ do_rx8()

do_rx8 (   data in slv8  
)
Procedure

Definition at line 473 of file tb_rlink.vhd.

◆ do_rx16()

do_rx16 (   data in slv16  
)
Procedure

Definition at line 481 of file tb_rlink.vhd.

◆ do_rxattn()

do_rxattn ( )
Procedure

Definition at line 487 of file tb_rlink.vhd.

◆ do_rxcrc()

do_rxcrc ( )
Procedure

Definition at line 493 of file tb_rlink.vhd.

◆ do_rxsop()

do_rxsop ( )
Procedure

Definition at line 501 of file tb_rlink.vhd.

◆ do_rxeop()

do_rxeop ( )
Procedure

Definition at line 510 of file tb_rlink.vhd.

◆ do_rxcs()

do_rxcs (   picmd in slv8 ,
  pistat in slv8  
)
Procedure

Definition at line 515 of file tb_rlink.vhd.

◆ do_rxcds()

do_rxcds (   picmd in slv8 ,
  pidata in slv16 ,
  pistat in slv8  
)
Procedure

Definition at line 524 of file tb_rlink.vhd.

◆ do_rxcbs()

do_rxcbs (   picmd in slv8 ,
  pibabo in slv8 ,
  pistat in slv8  
)
Procedure

Definition at line 535 of file tb_rlink.vhd.

◆ do_rxrbeg()

do_rxrbeg (   picmd in slv8 ,
  pnblk in natural  
)
Procedure

Definition at line 546 of file tb_rlink.vhd.

◆ do_rxrend()

do_rxrend (   pnblk in natural ,
  pistat in slv8  
)
Procedure

Definition at line 554 of file tb_rlink.vhd.

◆ do_rxblks()

do_rxblks (   pnblk in natural ,
  pstart in slv16  
)
Procedure

Definition at line 563 of file tb_rlink.vhd.

◆ proc_stim()

proc_stim ( )
Process

◆ proc_moni()

proc_moni ( )
Process

Definition at line 937 of file tb_rlink.vhd.

Member Data Documentation

◆ d_f_cflag

d_f_cflag integer := 8
Constant

Definition at line 138 of file tb_rlink.vhd.

◆ d_f_data

d_f_data integer range 7 downto 0
Subtype

Definition at line 139 of file tb_rlink.vhd.

◆ f_byte1

f_byte1 integer range 15 downto 8
Subtype

Definition at line 141 of file tb_rlink.vhd.

◆ f_byte0

f_byte0 integer range 7 downto 0
Subtype

Definition at line 142 of file tb_rlink.vhd.

◆ CLK

CLK slbit := ' 0 '
Signal

Definition at line 144 of file tb_rlink.vhd.

◆ CE_USEC

CE_USEC slbit := ' 0 '
Signal

Definition at line 145 of file tb_rlink.vhd.

◆ CE_MSEC

CE_MSEC slbit := ' 0 '
Signal

Definition at line 146 of file tb_rlink.vhd.

◆ RESET

RESET slbit := ' 0 '
Signal

Definition at line 147 of file tb_rlink.vhd.

◆ RL_DI

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

Definition at line 148 of file tb_rlink.vhd.

◆ RL_ENA

RL_ENA slbit := ' 0 '
Signal

Definition at line 149 of file tb_rlink.vhd.

◆ RL_BUSY

RL_BUSY slbit := ' 0 '
Signal

Definition at line 150 of file tb_rlink.vhd.

◆ RL_DO

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

Definition at line 151 of file tb_rlink.vhd.

◆ RL_VAL

RL_VAL slbit := ' 0 '
Signal

Definition at line 152 of file tb_rlink.vhd.

◆ RL_HOLD

RL_HOLD slbit := ' 0 '
Signal

Definition at line 153 of file tb_rlink.vhd.

◆ RB_MREQ_aval

RB_MREQ_aval slbit := ' 0 '
Signal

Definition at line 154 of file tb_rlink.vhd.

◆ RB_MREQ_re

RB_MREQ_re slbit := ' 0 '
Signal

Definition at line 155 of file tb_rlink.vhd.

◆ RB_MREQ_we

RB_MREQ_we slbit := ' 0 '
Signal

Definition at line 156 of file tb_rlink.vhd.

◆ RB_MREQ_initt

RB_MREQ_initt slbit := ' 0 '
Signal

Definition at line 157 of file tb_rlink.vhd.

◆ RB_MREQ_addr

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

Definition at line 158 of file tb_rlink.vhd.

◆ RB_MREQ_din

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

Definition at line 159 of file tb_rlink.vhd.

◆ RB_SRES_ack

RB_SRES_ack slbit := ' 0 '
Signal

Definition at line 160 of file tb_rlink.vhd.

◆ RB_SRES_busy

RB_SRES_busy slbit := ' 0 '
Signal

Definition at line 161 of file tb_rlink.vhd.

◆ RB_SRES_err

RB_SRES_err slbit := ' 0 '
Signal

Definition at line 162 of file tb_rlink.vhd.

◆ RB_SRES_dout

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

Definition at line 163 of file tb_rlink.vhd.

◆ RB_LAM_TBENCH

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

Definition at line 164 of file tb_rlink.vhd.

◆ RB_LAM_TESTER

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

Definition at line 165 of file tb_rlink.vhd.

◆ RB_LAM

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

Definition at line 166 of file tb_rlink.vhd.

◆ RB_STAT

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

Definition at line 167 of file tb_rlink.vhd.

◆ TXRXACT

TXRXACT slbit := ' 0 '
Signal

Definition at line 168 of file tb_rlink.vhd.

◆ RB_MREQ

RB_MREQ rb_mreq_type := rb_mreq_init
Signal

Definition at line 170 of file tb_rlink.vhd.

◆ RB_SRES

RB_SRES rb_sres_type := rb_sres_init
Signal

Definition at line 171 of file tb_rlink.vhd.

◆ CLK_STOP

CLK_STOP slbit := ' 0 '
Signal

Definition at line 173 of file tb_rlink.vhd.

◆ CLK_CYCLE

CLK_CYCLE integer := 0
Signal

Definition at line 174 of file tb_rlink.vhd.

◆ rxlist_size

rxlist_size positive := 4096
Constant

Definition at line 176 of file tb_rlink.vhd.

◆ txlist_size

txlist_size positive := 4096
Constant

Definition at line 177 of file tb_rlink.vhd.

◆ datlist_size

datlist_size positive := 2048
Constant

Definition at line 178 of file tb_rlink.vhd.

◆ slv9_zero

slv9_zero slv9 := ( others = > ' 0 ' )
Constant

Definition at line 180 of file tb_rlink.vhd.

◆ slv16_zero

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

Definition at line 181 of file tb_rlink.vhd.

◆ rxlist_array_type

rxlist_array_type ( 0 to rxlist_size - 1 ) slv9
Type

Definition at line 183 of file tb_rlink.vhd.

◆ txlist_array_type

txlist_array_type ( 0 to txlist_size - 1 ) slv9
Type

Definition at line 184 of file tb_rlink.vhd.

◆ datlist_array_type

Definition at line 185 of file tb_rlink.vhd.

◆ sv_rxlist

sv_rxlist shared rxlist_array_type := := ( others = > slv9_zero )
Shared Variable

Definition at line 187 of file tb_rlink.vhd.

◆ sv_nrxlist

sv_nrxlist shared natural := := 0
Shared Variable

Definition at line 188 of file tb_rlink.vhd.

◆ sv_rxind

sv_rxind shared natural := := 0
Shared Variable

Definition at line 189 of file tb_rlink.vhd.

◆ clock_period

clock_period Delay_length := 20 ns
Constant

Definition at line 191 of file tb_rlink.vhd.

◆ clock_offset

clock_offset Delay_length := 200 ns
Constant

Definition at line 192 of file tb_rlink.vhd.

◆ setup_time

setup_time Delay_length := 5 ns
Constant

Definition at line 193 of file tb_rlink.vhd.

◆ c2out_time

c2out_time Delay_length := 10 ns
Constant

Definition at line 194 of file tb_rlink.vhd.

◆ tbd_rlink_gen

tbd_rlink_gen
Component

Definition at line 196 of file tb_rlink.vhd.

◆ clkgen

clkgen simclk
Instantiation

Definition at line 233 of file tb_rlink.vhd.

◆ clkcnt

clkcnt simclkcnt
Instantiation

Definition at line 235 of file tb_rlink.vhd.

◆ clkdiv

clkdiv clkdivce_tb
Instantiation

Definition at line 246 of file tb_rlink.vhd.

◆ rbtest

rbtest rbd_tester
Instantiation

Definition at line 270 of file tb_rlink.vhd.

◆ uut

uut tbd_rlink_gen
Instantiation

Definition at line 299 of file tb_rlink.vhd.


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