aboutsummaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-12-24 13:03:25 +0100
committerWojciech Kosior <kwojtus@protonmail.com>2020-12-24 13:03:25 +0100
commit5ed2dafa6910e211cae1d83d364d5c24d3b21b4c (patch)
treeadda605f1895f9287ae45b7a71f0fb037f48631e /Makefile.example
parent10392220fd4ed6c9fdbb108260d9fdb6cf5d9d8f (diff)
downloadAGH-engineering-thesis-5ed2dafa6910e211cae1d83d364d5c24d3b21b4c.tar.gz
AGH-engineering-thesis-5ed2dafa6910e211cae1d83d364d5c24d3b21b4c.zip
add example, that measures time and prints it to screen
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.example b/Makefile.example
index e44cf9c..c85dc8f 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -26,6 +26,7 @@ example.vvp : $(DESIGN_DIR)/*.v soc_with_peripherals.v flash_memory.v sram.v \
simulate : example.vvp
$(VVP) $<
+ if [ -f VGAdump.mem ]; then $(MAKE) VGAdump.ppm; fi
design.v : instructions.mem $(DESIGN_DIR)/*.v $(FONT)
$(IV) $(IVFLAGS) $(ROM_DEFINES) -E $(filter %.v,$^) -o $@