aboutsummaryrefslogtreecommitdiff
path: root/works/life/computer-organization-experiment/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'works/life/computer-organization-experiment/Makefile')
-rw-r--r--works/life/computer-organization-experiment/Makefile25
1 files changed, 14 insertions, 11 deletions
diff --git a/works/life/computer-organization-experiment/Makefile b/works/life/computer-organization-experiment/Makefile
index 96a830d..8777267 100644
--- a/works/life/computer-organization-experiment/Makefile
+++ b/works/life/computer-organization-experiment/Makefile
@@ -4,34 +4,37 @@ build:
mkdir -p build
build/adder_1.o: build adder_1.vhdl
- ghdl analyze --workdir=build -fsynopsys adder_1.vhdl
+ ghdl analyze --std=08 --workdir=build -fsynopsys adder_1.vhdl
build/adder_8.o: build adder_8.vhdl
- ghdl analyze --workdir=build -fsynopsys adder_8.vhdl
+ ghdl analyze --std=08 --workdir=build -fsynopsys adder_8.vhdl
build/adder_32.o: build adder_32.vhdl
- ghdl analyze --workdir=build -fsynopsys adder_32.vhdl
+ ghdl analyze --std=08 --workdir=build -fsynopsys adder_32.vhdl
build/counter_4.o: build counter_4.vhdl
- ghdl analyze --workdir=build -fsynopsys 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 --workdir=build -fsynopsys 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 --workdir=build -fsynopsys 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 --workdir=build -fsynopsys 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 --workdir=build -fsynopsys multiplexer_32_2.vhdl
+ ghdl analyze --std=08 --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/adder_1.o build/adder_8.o build/adder_32.o
- ghdl analyze --workdir=build -fsynopsys test_bench.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
+ ghdl analyze --std=08 --workdir=build -fsynopsys test_bench.vhdl
build/test_bench: build/test_bench.o
- ghdl elaborate --workdir=build -fsynopsys -o build/test_bench test_bench
+ ghdl elaborate --std=08 --workdir=build -fsynopsys -o build/test_bench test_bench
.PHONY: all clean