OpenCores
URL https://opencores.org/ocsvn/funbase_ip_library/funbase_ip_library/trunk

Subversion Repositories funbase_ip_library

[/] [funbase_ip_library/] [trunk/] [TUT/] [ip.hwp.communication/] [n2h2/] [1.0/] [tb/] [setup_tb_n2h2_rx.do] - Blame information for rev 145

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 lanttu
# Tests N2H2 reception
2
#
3
# Compiles all files, starts simulation and adds signals to wave window
4
#
5
# The traffic is configured with following ASCII file formats:
6
#
7
# tbrx_conf_hibisend.dat : dest_agent delay_cycles num_of_words
8
#
9
# tbrx_conf_rx.dat       : mem_addr, noc_addr, irq_amount (=words to receive)
10
# tbrx_data_file.dat     : mem_addr, noc_addr, irq_amount (=words to receive)
11
#
12
#
13
 
14
 
15
 
16
quit -sim
17
 
18
vlib work
19
 
20
# HW files
21
 
22
vcom -check_synthesis -pedantic ../vhd/one_hot_mux.vhd
23
vcom -check_synthesis -pedantic ../vhd/step_counter2.vhd
24
vcom -check_synthesis -pedantic ../vhd/n2h2_rx_chan.vhd
25
vcom -check_synthesis -pedantic ../vhd/n2h2_rx_channels.vhd
26
vcom -check_synthesis -pedantic ../vhd/n2h2_tx_vl.vhd
27
vcom -check_synthesis -pedantic ../vhd/n2h2_chan.vhd
28
 
29
 
30
# TB files
31
 
32
vcom ./blocks/txt_util.vhd
33
vcom ./blocks/fifo.vhd
34
vcom ./blocks/tb_n2h2_pkg.vhd
35
vcom ./blocks/hibi_sender_n2h2.vhd
36
vcom ./blocks/avalon_cfg_reader.vhd
37
vcom ./blocks/avalon_cfg_writer.vhd
38
vcom ./blocks/avalon_reader.vhd
39
vcom ./blocks/sram_scalable_v3.vhd
40
vcom ./blocks/tb_n2h2_rx.vhd
41
 
42
 
43
# Start simulation
44
 
45
vsim -t 1ns -novopt work.tb_n2h2_rx
46
do ./blocks/wave_tb_n2h2_rx.do

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.