@@ -53,39 +53,40 @@ control-flow analyzer and (4) code generator**. You can create your own
5353design analyzer, code translator and code generator of Verilog HDL based
5454on this toolkit.
5555
56- Software Requirements
57- =====================
58-
59- - Python (2.7, 3.3 or later)
60- - Icarus Verilog (0.9.6 or later)
61- - pyverilog.vparser.preprocessor.py uses 'iverilog -E' command as the
62- preprocessor.
63- - 'apt-get install iverilog'
64- - Graphviz and Pygraphviz (Python3 does not support Pygraphviz)
65- - pyverilog.dataflow.graphgen and pyverilog.controlflow.controlflow
66- (without --nograph option) use Pygraphviz (on Python 2.7).
67- - If you do not use graphgen and controlflow (without --nograph)
68- option, Python 3.x is fine.
69- - Jinja2 (2.7 or later)
70- - ast\_ code\_ generator requires jinja2 module.
71- - 'pip3 install jinja2' (for Python 3.x) or 'pip install jinja2' (for
72- Python 2.7)
73-
7456Installation
7557============
7658
77- If you want to use Pyverilog as a general library, you can install on
78- your environment by using setup.py. If Python 2.7 is used,
59+ Software Requirements
60+ ---------------------
61+
62+ - Python: 2.7, 3.4 or later
63+
64+ - Icarus Verilog: 0.9.7 or later
65+
66+ Install on your platform. For exmple, on Ubuntu:
7967
8068::
8169
82- python setup.py install
70+ sudo apt-get install iverilog
71+
72+ - Jinja2: 2.8 or later
73+ - pytest: 2.8.2 or later
74+ - pytest-pythonpath: 0.7 or lator
75+ - Pygraphviz: 1.3.1 or later (Option for graph visualization in
76+ dataflow/graphgen.py and controlflow/controlflow\_ analyzer.py)
8377
84- If Python 3.x is used,
78+ Install on your python environment by using pip.
8579
8680::
8781
88- python3 setup.py install
82+ pip install jinja2 pytest pytest-pythonpath
83+ (pip install pygraphviz) # option
84+
85+ Finally, install Pyverilog.
86+
87+ ::
88+
89+ python setup.py install
8990
9091Tools
9192=====
0 commit comments