Skip to content

Instantly share code, notes, and snippets.

@mshr-h
Last active January 15, 2016 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mshr-h/c465d9b25a3b2326fbcc to your computer and use it in GitHub Desktop.
Save mshr-h/c465d9b25a3b2326fbcc to your computer and use it in GitHub Desktop.
Install iverilog
#!/bin/bash
if [ $# -eq 1 ]; then
INSTALLPATH=$1
else
INSTALLPATH=`pwd`/local
fi
CORE=`expr \`nproc\` + 1`
git clone https://github.com/steveicarus/iverilog
cd iverilog
autoconf
./configure --prefix=$INSTALLPATH
make -j$CORE
make install
cd ..
echo $INSTALLPATH/bin
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment