Difference between revisions of "POD installation guide"

From ArmadeusWiki
Jump to: navigation, search
m (mandatory)
m
Line 1: Line 1:
== prerequisites ==
+
== Prerequisites ==
 
=== mandatory ===
 
=== mandatory ===
 
* python : POD is written in python.
 
* python : POD is written in python.
Line 5: Line 5:
  
 
=== optional ===
 
=== optional ===
* ghdl, gtkwave : it's not mandatory, POD can generate VHDL testbench ready for ghdl simulator, but it's standard VHDL then another simulator should work.
+
* ghdl, gtkwave : it's not mandatory, POD can generate VHDL testbench ready for ghdl simulator. As it's standard VHDL, another simulator should work.
* ISE Webpack : to generate synthesis project for xilinx.
+
* ISE Webpack : to generate synthesis project for Xilinx.
* Quartus : to generate synthesis project for altera.
+
* Quartus : to generate synthesis project for Altera.
* ARMadeus : to generate driver project for armadeus board.
+
* ARMadeus SDK : to generate driver project for the Armadeus boards.
  
== install from package ==
+
== Install from package ==
Decompress the package PeriphOnDemand-X.X.tar.gz in install directory:
+
* Decompress the package [http://sourceforge.net/projects/periphondemand/ PeriphOnDemand-X.X.tar.gz] in install directory:
 
<pre class="host">
 
<pre class="host">
 +
$ cd somewhere/
 
$ tar -zxvf PeriphOnDemand-X.X.tar.gz
 
$ tar -zxvf PeriphOnDemand-X.X.tar.gz
 
</pre>
 
</pre>
 
+
* Walk through ''periphondemand/'' directory:
Walk through periphondemand/ directory:
+
 
<pre class="host">
 
<pre class="host">
 
$ cd periphondemand
 
$ cd periphondemand
 
</pre>
 
</pre>
 
+
* Then install POD with root privilege:
Then install POD with root privilege:
+
 
<pre class="host">
 
<pre class="host">
root$> python setup.py install
+
$ sudo python setup.py install
 
</pre>
 
</pre>
  
== generate package from subversion tree ==
+
== Generate package from subversion tree ==
  
Checkout the source code with command (subversion is needed):
+
* Checkout the source code with following command (subversion is needed):
 
<pre class="host">
 
<pre class="host">
$svn co https://periphondemand.svn.sourceforge.net/svnroot/periphondemand periphondemand
+
$ svn co https://periphondemand.svn.sourceforge.net/svnroot/periphondemand periphondemand
 +
$ cd periphondemand
 
</pre>
 
</pre>
 
+
* Make python POD distribution:
Make python POD distribution:
+
 
+
 
<pre class="host">
 
<pre class="host">
$python setup.py sdist
+
$ python setup.py sdist
 
</pre>
 
</pre>
 
+
* The POD package can be found in directory ''dist/''
The POD package can be found in directory dist/
+

Revision as of 18:23, 7 May 2009

Prerequisites

mandatory

  • python : POD is written in python.
  • pyparsing : a python module to parse files.

optional

  • ghdl, gtkwave : it's not mandatory, POD can generate VHDL testbench ready for ghdl simulator. As it's standard VHDL, another simulator should work.
  • ISE Webpack : to generate synthesis project for Xilinx.
  • Quartus : to generate synthesis project for Altera.
  • ARMadeus SDK : to generate driver project for the Armadeus boards.

Install from package

$ cd somewhere/
$ tar -zxvf PeriphOnDemand-X.X.tar.gz
  • Walk through periphondemand/ directory:
$ cd periphondemand
  • Then install POD with root privilege:
 $ sudo python setup.py install

Generate package from subversion tree

  • Checkout the source code with following command (subversion is needed):
$ svn co https://periphondemand.svn.sourceforge.net/svnroot/periphondemand periphondemand
$ cd periphondemand
  • Make python POD distribution:
$ python setup.py sdist
  • The POD package can be found in directory dist/