|
|
(16 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
− | {{Under Construction}}
| |
| | | |
− | == Prerequisites ==
| |
− | === Mandatory ===
| |
− | * python : POD is written in python.
| |
− | * pyparsing : a python module to parse files.
| |
− |
| |
− | On ubuntu, python is already installed, just install pyparsing package with command :
| |
− |
| |
− | <pre class="host">
| |
− | [ ] $ sudo apt-get install python-parsing
| |
− | </pre>
| |
− |
| |
− | === 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 ==
| |
− | {{Note| For this moment, package must be created from svn repository. Release will be downloadable soon}}
| |
− | * Decompress the package PeriphOnDemand-X.X.tar.gz in install directory:
| |
− | <pre class="host">
| |
− | $ cd somewhere/
| |
− | $ tar -zxvf PeriphOnDemand-X.X.tar.gz
| |
− | </pre>
| |
− | * Walk through ''periphondemand/'' directory:
| |
− | <pre class="host">
| |
− | $ cd periphondemand
| |
− | </pre>
| |
− | * Then install POD with root privilege:
| |
− | <pre class="host">
| |
− | $ sudo python setup.py install
| |
− | </pre>
| |
− |
| |
− | == Generate package from subversion tree ==
| |
− |
| |
− | * Checkout the source code with following command (subversion is needed):
| |
− | <pre class="host">
| |
− | $ svn co https://periphondemand.svn.sourceforge.net/svnroot/periphondemand/trunk periphondemand
| |
− | $ cd periphondemand/
| |
− | </pre>
| |
− | * Make python POD distribution:
| |
− | <pre class="host">
| |
− | $ python setup.py sdist
| |
− | </pre>
| |
− | * The POD package can be found in directory ''dist/''
| |