File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,34 @@ You can also install scansion instead of gtkwave.
2222brew install ghdl gtkwave
2323```
2424
25+ - Windows
26+
27+ Install make, ghdl and gtkwave using [ msys2] ( https://www.msys2.org/ )
28+
29+ [ make] ( https://packages.msys2.org/package/make )
30+
31+ [ ghdl] ( https://packages.msys2.org/base/mingw-w64-ghdl )
32+
33+ [ gtkwave] ( https://packages.msys2.org/base/mingw-w64-gtkwave )
34+
2535### Usage
2636
27- Create your vhdl file and it's test bench, then run the following command.
37+ Clone this repo
38+ ``` bash
39+ git clone https://github.com/JulyWitch/vhdl_ghdl_examples.git
40+ ```
41+
42+ navigate to repo directory
43+ ``` bash
44+ cd vhdl_ghdl_examples
45+ ```
46+
47+ Create your vhdl file and it's test bench,
48+
49+ then run the following command.
2850
2951```
30- make I=<input_file> T=<test_bench_file> E=<entity_name >
52+ make I=<input_file> T=<test_bench_file> E=<test_bench_entity_name >
3153```
3254
3355example
@@ -40,6 +62,8 @@ This will generate wave and vcd files to the waves directory.
4062
4163Then open generated .ghw or .vcd file with gtkwave.
4264
65+ ### Options
66+
4367To change simulation time pass ` S_TIME = <time> ` to make command. Time can be in ns, us, and ms.
4468
4569example:
You can’t perform that action at this time.
0 commit comments