@@ -58,64 +58,53 @@ Installation
5858Requirements
5959--------------------
6060
61- - Python: 2.7, 3.5 or later
61+ - Python3: 3.6 or later
6262
63- Python3 is recommended.
63+ - Icarus Verilog: 10.1 or later
6464
65- - Icarus Verilog: 0.9.7 or later (but 10.0 is not recommended)
66-
67- Install on your platform. For exmple, on Ubuntu:
68-
69- sudo apt-get install iverilog
70-
71- - Jinja2: 2.8 or later
72-
73- Install on your python environment by using pip:
74-
75- pip install jinja2
76-
77- - Pyverilog: 1.1.1 or later
78-
79- Install from pip (or download and install from GitHub):
80-
81- pip install pyverilog
82-
83- - IPgen: 0.3.1 or later
65+ ```
66+ sudo apt install iverilog
67+ ```
8468
85- Install from pip (or download and install from GitHub):
69+ - Jinja2: 2.10 or later
70+ - pytest: 3.2 or later
71+ - pytest-pythonpath: 0.7 or later
72+ - Pyverilog: 1.1.2 or later
73+ - IPgen: 1.0.0 or later
8674
87- pip install ipgen
75+ ```
76+ pip3 install jinja2 pytest pytest-pythonpath pyverilog ipgen
77+ ```
8878
8979Options
9080--------------------
9181
92- - pytest: 2.8.2 or later
93- - pytest-pythonpath: 0.7 or later
94-
95- These softwares are required for running the tests in tests and examples:
96-
97- pip install pytest pytest-pythonpath
98-
9982- Graphviz: 2.38.0 or later
10083- Pygraphviz: 1.3.1 or later
10184
10285These softwares are required for graph visualization by veriloggen.dataflow:
10386
104- sudo apt-get install graphviz
105- pip install pygraphviz
87+ ```
88+ sudo apt install graphviz
89+ pip3 install pygraphviz
90+ ```
10691
10792- NumPy: 1.14 or later
10893
10994This is required for the memory image generation function of types.axi.AxiMemoryModel from Python list or numpy.ndarray:
11095
111- pip install numpy
96+ ```
97+ pip3 install numpy
98+ ```
11299
113100Install
114101--------------------
115102
116103Install Veriloggen:
117104
118- python setup.py install
105+ ```
106+ python3 setup.py install
107+ ```
119108
120109On Docker
121110--------------------
@@ -211,7 +200,7 @@ if __name__ == '__main__':
211200Run the script.
212201
213202```
214- python hello_led.py
203+ python3 hello_led.py
215204```
216205
217206You will have a complete Verilog HDL source code named 'tmp.v' as below, which is generated by the source code generator.
0 commit comments