aboutsummaryrefslogtreecommitdiff
path: root/works/life/computer-organization-experiment/Makefile
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-28 23:13:39 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-28 23:13:39 +0800
commitdc1f0c4c0096013799416664894c5194dc7e1f52 (patch)
tree2f5d235f778cd720f4c39ec3e56b77ba6d99f375 /works/life/computer-organization-experiment/Makefile
parent7299d424d90b1effb6db69e3476ddd5af72eeba4 (diff)
downloadcrupest-dc1f0c4c0096013799416664894c5194dc7e1f52.tar.gz
crupest-dc1f0c4c0096013799416664894c5194dc7e1f52.tar.bz2
crupest-dc1f0c4c0096013799416664894c5194dc7e1f52.zip
chore(store): move everything to store.
Diffstat (limited to 'works/life/computer-organization-experiment/Makefile')
-rw-r--r--works/life/computer-organization-experiment/Makefile51
1 files changed, 0 insertions, 51 deletions
diff --git a/works/life/computer-organization-experiment/Makefile b/works/life/computer-organization-experiment/Makefile
deleted file mode 100644
index 0b4db7f..0000000
--- a/works/life/computer-organization-experiment/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-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
-
-build:
- mkdir -p build
-
-build/adder_1.o: build adder_1.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys adder_1.vhdl
-
-build/adder_8.o: build adder_8.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys adder_8.vhdl
-
-build/adder_32.o: build adder_32.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys adder_32.vhdl
-
-build/alu.o: build alu.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys alu.vhdl
-
-build/counter_4.o: build counter_4.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys counter_4.vhdl
-
-build/full_adder_1.o: build full_adder_1.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys full_adder_1.vhdl
-
-build/multiplexer_1_2.o: build multiplexer_1_2.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys multiplexer_1_2.vhdl
-
-build/multiplexer_8_2.o: build multiplexer_8_2.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys multiplexer_8_2.vhdl
-
-build/multiplexer_32_2.o: build multiplexer_32_2.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys multiplexer_32_2.vhdl
-
-build/shift_32.o: build shift_32.vhdl
- ghdl analyze --std=08 --workdir=build -fsynopsys shift_32.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/adder_1.o build/adder_8.o build/adder_32.o build/shift_32.o build/alu.o
- ghdl analyze --std=08 --workdir=build -fsynopsys test_bench.vhdl
-
-build/test_bench: build/test_bench.o
- ghdl elaborate --std=08 --workdir=build -fsynopsys -o build/test_bench test_bench
-
-.PHONY: all clean
-
-clean:
- rm -r build