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

Subversion Repositories wisbone_2_ahb

[/] [wisbone_2_ahb/] [trunk/] [script/] [run.mti] - Rev 2

Go to most recent revision | Compare with Previous | Blame | View Log


#!/bin/bash

ahb_wb=../   #project directory 
src=$ahb_wb/src         #source code directory
bench=$ahb_wb/bench     #test bench directory


vlog \
        -work ahb_wb \
        +incldir+$src   \
        $src/ahbmas_wbslv_top.v

vlog \
        -work ahb_wb \
        +incldir+$bench \
        $bench/AHBMAS_WBSLV_TOP_tb.v


vsim -c ahb_wb.AHBMAS_WBSLV_TOP_tb -do " log -r /* ; run -all; quit -f " 2>&1 | tee transcript.log
echo "Converting to VCD format..........."
wlf2vcd vsim.wlf > vsim.vcd
gtkwave vsim.vcd &

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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