OpenCores
URL https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk

Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc

[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [script/] [synfull/] [model.tcl] - Blame information for rev 54

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 54 alirezamon
#!/usr/bin/tclsh
2
 
3
#Get tcl shell path relative to current script
4
set tcl_path    [file dirname [info script]]
5
if { [info exists $::env(LM_WORK_PLACE)] } {
6
  puts "You need to define the work dir as LM_WORK_PLACE linux envirement variable \n"
7
  exit(1)
8
}
9
 
10
if { [info exists $::env(LM_FILE_LIST)] } {
11
  puts "You need to define the file list path as LM_FILE_LIST linux envirement variable \n"
12
  exit(1)
13
}
14
 
15
set path0       [pwd]
16
set DPI_LIB $path0/dpi_interface
17
 
18
#set top pck_injector_test
19
#set top multicast_test
20
set top synfull_top
21
 
22
set rtl_work $::env(LM_WORK_PLACE)/rtl_work
23
 
24
 
25
transcript on
26
if {[file exists $rtl_work]} {
27
        vdel -lib $rtl_work -all
28
}
29
vlib $rtl_work
30
vmap work $rtl_work
31
 
32
 
33
vlog  +acc=rn  -F $::env(LM_FILE_LIST)
34
 
35
vsim -t 1ps  -L $rtl_work -L work -voptargs="+acc"  $top -sv_lib $DPI_LIB
36
 
37
add wave *
38
view structure
39
view signals
40
run -all

powered by: WebSVN 2.1.0

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