@@ -62,43 +62,54 @@ Requirements
6262
6363- Icarus Verilog: 10.1 or later
6464
65- sudo apt install iverilog
65+ ```
66+ sudo apt install iverilog
67+ ```
6668
6769- Jinja2: 2.10 or later
6870- Pyverilog: 1.1.2 or later
6971
70- pip3 install jinja2 pyverilog
71-
72+ ```
73+ pip3 install jinja2 pyverilog
74+ ```
7275
7376Install
7477--------------------
7578
7679Install IPgen.
7780
78- python3 setup.py install
81+ ```
82+ python3 setup.py install
83+ ```
7984
8085
8186Getting Started
8287==============================
8388
8489You can use the ipgen command from your console.
8590
86- ipgen
91+ ```
92+ ipgen
93+ ```
8794
8895You can find the sample projects in 'tests'. Now let's see 'tests/memcpy'. There is an input source code.
8996
9097- memcpy.v : User-defined Verilog code using IPgen abstract memory interfaces
9198
9299Then type 'make' and 'make run' to simulate sample system.
93100
94- make build
95- make sim
101+ ```
102+ make build
103+ make sim
104+ ```
96105
97106Or type commands as below directly.
98107
99- ipgen default.config -t memcpy -I include tests/memcpy/memcpy.v
100- iverilog -I memcpy_ip_v1_00_a/hdl/verilog/ memcpy_ip_v1_00_a/test/test_memcpy_ip.v
101- ./a.out
108+ ```
109+ ipgen default.config -t memcpy -I include tests/memcpy/memcpy.v
110+ iverilog -I memcpy_ip_v1_00_a/hdl/verilog/ memcpy_ip_v1_00_a/test/test_memcpy_ip.v
111+ ./a.out
112+ ```
102113
103114IPgen compiler generates a directory for IP-core (memcpy\_ ip\_ v1\_ 00\_ a, in this example).
104115
@@ -118,7 +129,9 @@ IPgen Command Options
118129Command
119130------------------------------
120131
121- ipgen [config] [-t topmodule] [--ipname=ipname] [--memimg=memimg_name] [--usertest=usertest_name] [-I include]+ [-D define]+ [file]+
132+ ```
133+ ipgen [config] [-t topmodule] [--ipname=ipname] [--memimg=memimg_name] [--usertest=usertest_name] [-I include]+ [-D define]+ [file]+
134+ ```
122135
123136
124137Description
0 commit comments