> xcode-select --install
This will provide basic command line tools such as gcc
and make
https://www.macports.org/install.php
The OSX Sierra install package will provide an open-source method of installing and upgrading additional software packages on the Mac platform. Think yum
or apt-get
for the Mac.
> sudo port install iverilog
$ iverilog
iverilog: no source files.
Usage: iverilog [-ESvV] [-B base] [-c cmdfile|-f cmdfile]
[-g1995|-g2001|-g2005] [-g<feature>]
[-D macro[=defn]] [-I includedir] [-M depfile] [-m module]
[-N file] [-o filename] [-p flag=value]
[-s topmodule] [-t target] [-T min|typ|max]
[-W class] [-y dir] [-Y suf] source_file(s)
See the man page for details.
$
You are now ready to compile and simulate your first Verilog file on the Mac.