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

Subversion Repositories qaz_libs

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /qaz_libs/trunk/scripts
    from Rev 23 to Rev 31
    Reverse comparison

Rev 23 → Rev 31

/sim_env.do
0,0 → 1,15
# ------------------------------------
#
# ------------------------------------
 
global env
 
set env(LIB_BASE) qaz_libs
 
set env(ROOT_DIR) ../../../../..
set env(PROJECT_DIR) ../../..
 
set env(LIB_BASE_DIR) $env(ROOT_DIR)/$env(LIB_BASE)
 
# load sim procedures
do $env(LIB_BASE_DIR)/scripts/sim_procs.do
/sim_procs.do
28,6 → 28,26
 
# ------------------------------------
#
proc sim_compile_lib {lib target} {
 
global env
 
echo "INFO: compiling $target rtl"
foreach filename [glob -nocomplain -directory ${lib}/sim/libs/${target}_verilog/ *.f] {
echo "INFO: compiling $filename"
vlog -f $filename
}
foreach filename [glob -nocomplain -directory ${lib}/sim/libs/${target}_VHDL/ *.f] {
echo "INFO: compiling $filename"
vcom -explicit -f $filename
}
}
 
 
# ------------------------------------
#
proc sim_compile_all { target } {
 
global env

powered by: WebSVN 2.1.0

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