Skip to content

Commit

Permalink
scripts: build.sh: Enable warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Ola Jeppsson <[email protected]>
  • Loading branch information
olajep committed May 30, 2016
1 parent 74dca55 commit 53e56bb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@ DUT=$1
##############################
$OH_HOME/scripts/link.sh

WARNING_FLAGS="-Wimplicit -Wselect-range -Wsensitivity-entire-vector -Wsensitivity-entire-array"

##############################
#Build
###############################
iverilog -g2005\
iverilog \
${WARNING_FLAGS} \
-g2005\
-DTARGET_SIM=1\
$DUT\
$OH_HOME/symlinks/dv/dv_top.v\
-y .\
-y $OH_HOME/symlinks/hdl\
-y $OH_HOME/symlinks/dv\
-I $OH_HOME/symlinks/hdl\
-o dut.bin\
-o dut.bin

0 comments on commit 53e56bb

Please sign in to comment.