Skip to content

Commit 2e4f313

Browse files
committed
2 parents b0dd2eb + c434dfc commit 2e4f313

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

README.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,34 @@ You can also install scansion instead of gtkwave.
2222
brew 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

3355
example
@@ -40,6 +62,8 @@ This will generate wave and vcd files to the waves directory.
4062

4163
Then open generated .ghw or .vcd file with gtkwave.
4264

65+
### Options
66+
4367
To change simulation time pass `S_TIME = <time>` to make command. Time can be in ns, us, and ms.
4468

4569
example:

0 commit comments

Comments
 (0)