Actions

FOSS Verilog tool installation: Difference between revisions

From HacDC Wiki

No edit summary
(Undo revision 4137 by Yrewevaca (talk))
 
Line 1: Line 1:
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://ocilufic.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
----
=[http://ocilufic.co.cc CLICK HERE]=
----
</div>
=== Direct Installation (Ubuntu version) ===
=== Direct Installation (Ubuntu version) ===


Line 44: Line 36:
* Install macports from macports.org.  I don't know how macports plays with fink, so be wary if your using fink.
* Install macports from macports.org.  I don't know how macports plays with fink, so be wary if your using fink.
* Install Icarus verilog with macports
* Install Icarus verilog with macports
&lt;pre>sudo port install iverilog&lt;/pre>
<pre>sudo port install iverilog</pre>
* Install GTKWave with macports.  This will actually take a while on a fresh install of macports, so go and watch a tv show.
* Install GTKWave with macports.  This will actually take a while on a fresh install of macports, so go and watch a tv show.
&lt;pre>sudo port install gtkwave&lt;/pre>
<pre>sudo port install gtkwave</pre>
* You can now launch iverilog, vvp and gtkwave from the command line, and use the makefile provided with the workshop.
* You can now launch iverilog, vvp and gtkwave from the command line, and use the makefile provided with the workshop.




[[Category:FPGAWorkshop]]
[[Category:FPGAWorkshop]]

Latest revision as of 08:25, 24 November 2010

Direct Installation (Ubuntu version)

--- Gtkwave ---

gtkwave is good in the Universe repository. If you've already got that linked in your /etc/apt/sources.list file, then installation is as simple as:

 sudo apt-get install gtkwave


--- Compiling icarus verilog ---

Icarus verilog, on the other hand, is buggy in the Jaunty repository. So you'll want to compile it by hand.

  • Fetch the .tar.gz file:
 wget ftp://ftp.icarus.com/pub/eda/verilog/snapshots/verilog-20090923.tar.gz
 tar xvzf verilog-20090923.tar.gz
 cd verilog-20090923
  • Make sure you have the necessary compile tools:
 sudo apt-get install build-essential flex bison g++
  • Compile and install:
 ./configure 
 make
 sudo make install   
  • Go get a cup of tea after you type "make", because compiling takes a while. But when you get back, you should be good to go. Copy William's makefile into your code directory and get to work. Now you have your usual development tools at your fingertips. (Emacs and Gedit have sweet colorization modes for verilog.)

Direct Installation (Mac OSX Version)

Spartan instructions follow...

  • Install XCode tools from developer.apple.com
  • Install macports from macports.org. I don't know how macports plays with fink, so be wary if your using fink.
  • Install Icarus verilog with macports
sudo port install iverilog
  • Install GTKWave with macports. This will actually take a while on a fresh install of macports, so go and watch a tv show.
sudo port install gtkwave
  • You can now launch iverilog, vvp and gtkwave from the command line, and use the makefile provided with the workshop.