mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
de63dfd907
-stdcells moved to asiclib, doesn't make sense to be vectorized -common is a stupid name, renamed as stdlib
22 lines
472 B
Bash
Executable File
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
|
|
|
|
|