Difference between revisions of "POD installation guide"
From ArmadeusWiki
m (→mandatory) |
m |
||
| Line 1: | Line 1: | ||
| − | == | + | == Prerequisites == |
=== mandatory === | === mandatory === | ||
* python : POD is written in python. | * python : POD is written in python. | ||
| Line 5: | Line 5: | ||
=== optional === | === optional === | ||
| − | * ghdl, gtkwave | + | * 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 | + | * ISE Webpack : to generate synthesis project for Xilinx. |
| − | * Quartus : to generate synthesis project for | + | * Quartus : to generate synthesis project for Altera. |
| − | * ARMadeus : to generate driver project for | + | * ARMadeus SDK : to generate driver project for the Armadeus boards. |
| − | == | + | == 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"> | ||
| − | + | $ sudo python setup.py install | |
</pre> | </pre> | ||
| − | == | + | == 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
Contents
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
- Decompress the package PeriphOnDemand-X.X.tar.gz in install directory:
$ 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/