Skip to content

Commit 77eb2e8

Browse files
committed
Example output of ast_code_generator in README is updated.
1 parent 18c04c3 commit 77eb2e8

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -348,17 +348,16 @@ python3 test.py
348348
Then Verilog HDL code generated from the AST instances is displayed.
349349

350350
```verilog
351-
352351
module top
353-
(
354-
input [0:0] CLK,
355-
input [0:0] RST,
356-
output [7:0] led
352+
(
353+
input CLK,
354+
input RST,
355+
output [7:0] led
356+
);
357357
358-
);
359358
assign led = 8;
360-
endmodule
361359
360+
endmodule
362361
```
363362

364363

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,15 +374,15 @@ Then Verilog HDL code generated from the AST instances is displayed.
374374

375375
.. code:: verilog
376376
377-
378377
module top
379-
(
380-
input [0:0] CLK,
381-
input [0:0] RST,
382-
output [7:0] led
378+
(
379+
input CLK,
380+
input RST,
381+
output [7:0] led
382+
);
383383
384-
);
385384
assign led = 8;
385+
386386
endmodule
387387
388388
Related Project and Site

0 commit comments

Comments
 (0)