From 223c1b6ddd6907787853c7b7cce3a8f4910d2089 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 25 Dec 2021 22:07:55 +0800 Subject: import(life): ... --- works/life/computer-organization-experiment/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'works/life/computer-organization-experiment/Makefile') 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 -- cgit v1.2.3