diff options
author | crupest <crupest@outlook.com> | 2021-12-25 22:07:55 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-12-25 22:07:55 +0800 |
commit | 223c1b6ddd6907787853c7b7cce3a8f4910d2089 (patch) | |
tree | c00df1529a0405f64c339924f2797923493ba528 /works/life/computer-organization-experiment/Makefile | |
parent | 9af60bca5cb83866cba9f04aba7e71ac1f83dd16 (diff) | |
download | crupest-223c1b6ddd6907787853c7b7cce3a8f4910d2089.tar.gz crupest-223c1b6ddd6907787853c7b7cce3a8f4910d2089.tar.bz2 crupest-223c1b6ddd6907787853c7b7cce3a8f4910d2089.zip |
import(life): ...
Diffstat (limited to 'works/life/computer-organization-experiment/Makefile')
-rw-r--r-- | works/life/computer-organization-experiment/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/works/life/computer-organization-experiment/Makefile b/works/life/computer-organization-experiment/Makefile index fe68a53..0b4db7f 100644 --- a/works/life/computer-organization-experiment/Makefile +++ b/works/life/computer-organization-experiment/Makefile @@ -1,5 +1,8 @@ -build/cpu.o: build - ghdl analyze --std=08 --workdir=build -fsynopsys cpu.vhdl +build/cpu_test_bench: build/cpu.o + ghdl elaborate -g --std=08 --workdir=build -fsynopsys -o build/cpu_test_bench cpu_test_bench + +build/cpu.o: build cpu.vhdl + ghdl analyze -g --std=08 --workdir=build -fsynopsys cpu.vhdl all: build/test_bench |