Skip to content

Commit 7c42ca5

Browse files
committed
put waves to another dir
1 parent 8a5a30e commit 7c42ca5

File tree

8 files changed

+5
-108
lines changed

8 files changed

+5
-108
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ S_TIME = 1us
1414
compile:
1515
$(GHDL_CMD) -a $(GHDL_FLAGS) $(I) $(T)
1616
$(GHDL_CMD) -e $(GHDL_FLAGS) $(E)
17-
$(GHDL_CMD) -r $(GHDL_FLAGS) $(E) --vcd=$(dir $(I))$(E).vcd --wave=$(dir $(I))$(E).ghw --stop-time=$(S_TIME)
17+
$(GHDL_CMD) -r $(GHDL_FLAGS) $(E) --vcd=waves/$(E).vcd --wave=waves/$(E).ghw --stop-time=$(S_TIME)
1818

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ make I=<input_file> T=<test_bench_file> E=<entity_name>
3333
example
3434

3535
```
36-
make compile I=test/counter.vhdl T=test/counter.test.vhdl E=counter_tb
36+
make I=test/counter.vhdl T=test/counter.test.vhdl E=counter_tb
3737
```
3838

39-
This will generate wave and vcd files to the input directory.
39+
This will generate wave and vcd files to the waves directory.
4040

4141
Then open generated .ghw or .vcd file with gtkwave.
4242

@@ -45,5 +45,5 @@ To change simulation time pass `S_TIME = <time>` to make command. Time can be in
4545
example:
4646

4747
```
48-
make compile I=test/counter.vhdl T=test/counter.test.vhdl E=counter_tb S_TIME=1ms
48+
make I=test/counter.vhdl T=test/counter.test.vhdl E=counter_tb S_TIME=1ms
4949
```

decoder/testbench.ghw

-577 Bytes
Binary file not shown.

decoder/testbench.vcd

Lines changed: 0 additions & 64 deletions
This file was deleted.

test/counter_tb.ghw

-537 Bytes
Binary file not shown.

test/counter_tb.vcd

Lines changed: 0 additions & 39 deletions
This file was deleted.
File renamed without changes.

mux/mux8x1_conditional_test.vcd renamed to waves/mux8x1_conditional_test.vcd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$date
2-
Sat Mar 12 15:08:15 2022
2+
Sat Mar 12 15:13:12 2022
33
$end
44
$version
55
GHDL v0

0 commit comments

Comments
 (0)