You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then you got the result as below. The result of syntax analysis is displayed.
@@ -265,7 +262,7 @@ Dataflow analyzer
265
262
Let's try dataflow analysis. Please type the command as below.
266
263
267
264
```
268
-
python pyverilog/examples/example_dataflow_analyzer.py -t top test.v
265
+
python3 pyverilog/examples/example_dataflow_analyzer.py -t top test.v
269
266
```
270
267
271
268
Then you got the result as below. The result of each signal definition and each signal assignment are displayed.
@@ -291,7 +288,7 @@ Bind:
291
288
Let's view the result of dataflow analysis as a picture file. Now we select 'led' as the target. Please type the command as below. In this example, Graphviz and Pygraphviz are installed.
292
289
293
290
```
294
-
python pyverilog/examples/example_graphgen.py -t top -s top.led test.v
291
+
python3 pyverilog/examples/example_graphgen.py -t top -s top.led test.v
295
292
```
296
293
297
294
Then you got a png file (out.png). The picture shows that the definition of 'led' is a part-selection of 'count' from 23-bit to 16-bit.
@@ -304,7 +301,7 @@ Control-flow analyzer
304
301
Let's try control-flow analysis. Please type the command as below. In this example, Graphviz and Pygraphviz are installed. If don't use Graphviz, please append "--nograph" option.
305
302
306
303
```
307
-
python pyverilog/examples/example_controlflow_analyzer.py -t top test.v
304
+
python3 pyverilog/examples/example_controlflow_analyzer.py -t top test.v
308
305
```
309
306
310
307
Then you got the result as below. The result shows that the state machine structure and transition conditions to the next state in the state machine.
@@ -400,7 +397,7 @@ if __name__ == '__main__':
400
397
Please type the command as below at the same directory with Pyverilog.
401
398
402
399
```
403
-
python test.py
400
+
python3 test.py
404
401
```
405
402
406
403
Then Verilog HDL code generated from the AST instances is displayed.
0 commit comments