#!/bin/sh # ------------------------------------------------ unit_to_run="tb_pcm_vhd" # ------------------------------------------------ std_opt="--workdir=work --std=93c --ieee=synopsys" srcdir=./src # ------------------------------------------------ ghdl --remove $std_opt ghdl -i $std_opt $srcdir/*.vhd ghdl -a $std_opt $srcdir/*.vhd ghdl -m $std_opt $unit_to_run ghdl -r $unit_to_run --vcd=$unit_to_run.vcd --assert-level=error # ------------------------------------------------