1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00
oh/scripts/build.sh
aolofsson de63dfd907 Major reorg!
-stdcells moved to asiclib, doesn't make sense to be vectorized
-common is a stupid name, renamed as stdlib
2021-07-29 11:20:44 -04:00

22 lines
472 B
Bash
Executable File

#!/bin/bash
############################################################################
# Icarus Verilog build script for OH!
#
# Requires $OH_HOME variable to be set
#
# Example: ./scripts/build.sh elink/hdl/dut_elink.v
#
############################################################################
##############################
#Build
###############################
iverilog -g2005\
-DTARGET_SIM=1\
-DCFG_ASIC=0\
-f $OH_HOME/scripts/libs.cmd \
-o dut.bin $1