mirror of
https://github.com/aolofsson/oh.git
synced 2025-02-07 06:44:09 +08:00
117a4fee0d
- Adding entries to a list gets old real fast....
14 lines
264 B
Bash
Executable File
14 lines
264 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Compiles all dut*.v files in this directory
|
|
|
|
DV=../../common/dv/dv_top.v
|
|
LIBS=$OH_HOME/common/dv/libs.cmd
|
|
CFG="cfg_random.v"
|
|
|
|
for file in dut*.v
|
|
do
|
|
root=${file%%.*}
|
|
iverilog -g2005 -DTARGET_SIM=1 $CFG $file $DV -f $LIBS -o $root.bin
|
|
done
|