diff options
| author | crupest <crupest@outlook.com> | 2021-11-23 09:51:36 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2021-11-23 09:51:36 +0800 |
| commit | d08a3a340a42bbd9616ea910fbad020d7aac212d (patch) | |
| tree | 15c4fffcfde722f1e328d763bb22b9f7c65321f6 /computer-organization-experiment/Makefile | |
| parent | 744f15a11ce9eec4e8b5b7cae1b614835210fa01 (diff) | |
| download | life-d08a3a340a42bbd9616ea910fbad020d7aac212d.tar.gz life-d08a3a340a42bbd9616ea910fbad020d7aac212d.tar.bz2 life-d08a3a340a42bbd9616ea910fbad020d7aac212d.zip | |
Add computer organization experiment 4.
Diffstat (limited to 'computer-organization-experiment/Makefile')
| -rw-r--r-- | computer-organization-experiment/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/computer-organization-experiment/Makefile b/computer-organization-experiment/Makefile index 1335118..96a830d 100644 --- a/computer-organization-experiment/Makefile +++ b/computer-organization-experiment/Makefile @@ -3,6 +3,15 @@ all: build/test_bench build: mkdir -p build +build/adder_1.o: build adder_1.vhdl + ghdl analyze --workdir=build -fsynopsys adder_1.vhdl + +build/adder_8.o: build adder_8.vhdl + ghdl analyze --workdir=build -fsynopsys adder_8.vhdl + +build/adder_32.o: build adder_32.vhdl + ghdl analyze --workdir=build -fsynopsys adder_32.vhdl + build/counter_4.o: build counter_4.vhdl ghdl analyze --workdir=build -fsynopsys counter_4.vhdl @@ -18,7 +27,7 @@ build/multiplexer_8_2.o: build multiplexer_8_2.vhdl build/multiplexer_32_2.o: build multiplexer_32_2.vhdl ghdl analyze --workdir=build -fsynopsys multiplexer_32_2.vhdl -build/test_bench.o: build test_bench.vhdl build/counter_4.o build/full_adder_1.o build/multiplexer_1_2.o build/multiplexer_8_2.o build/multiplexer_32_2.o +build/test_bench.o: build test_bench.vhdl build/counter_4.o build/full_adder_1.o build/multiplexer_1_2.o build/multiplexer_8_2.o build/multiplexer_32_2.o build/adder_1.o build/adder_8.o build/adder_32.o ghdl analyze --workdir=build -fsynopsys test_bench.vhdl build/test_bench: build/test_bench.o |
