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/] [model.tcl] - Diff between revs 48 and 54

Only display areas with differences | Details | Blame | View Log

Rev 48 Rev 54
#!/usr/bin/tclsh
#!/usr/bin/tclsh
 
 
#Get tcl shell path relative to current script
#Get tcl shell path relative to current script
set tcl_path    [file dirname [info script]]
set tcl_path    [file dirname [info script]]
if { [info exists $::env(LM_WORK_PLACE)] } {
if { [info exists $::env(LM_WORK_PLACE)] } {
  puts "You need to define the work dir as LM_WORK_PLACE linux envirement variable \n"
  puts "You need to define the work dir as LM_WORK_PLACE linux envirement variable \n"
  exit(1)
  exit(1)
}
}
 
 
if { [info exists $::env(LM_FILE_LIST)] } {
if { [info exists $::env(LM_FILE_LIST)] } {
  puts "You need to define the file list path as LM_FILE_LIST linux envirement variable \n"
  puts "You need to define the file list path as LM_FILE_LIST linux envirement variable \n"
  exit(1)
  exit(1)
}
}
 
 
 
set top pck_injector_test
 
#set top multicast_test
 
 
set rtl_work $::env(LM_WORK_PLACE)/rtl_work
set rtl_work $::env(LM_WORK_PLACE)/rtl_work
 
 
 
 
transcript on
transcript on
if {[file exists $rtl_work]} {
if {[file exists $rtl_work]} {
        vdel -lib $rtl_work -all
        vdel -lib $rtl_work -all
}
}
vlib $rtl_work
vlib $rtl_work
vmap work $rtl_work
vmap work $rtl_work
 
 
 
 
vlog  +acc=rn  -F $::env(LM_FILE_LIST)
vlog  +acc=rn  -F $::env(LM_FILE_LIST)
 
 
vsim -t 1ps  -L $rtl_work -L work -voptargs="+acc"  pck_injector_test
vsim -t 1ps  -L $rtl_work -L work -voptargs="+acc"  $top
 
 
add wave *
add wave *
view structure
view structure
view signals
view signals
run -all
run -all
 
 

powered by: WebSVN 2.1.0

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