From 8c5a743259480ebd0cfdbb17fbde8584e34b2aa4 Mon Sep 17 00:00:00 2001 From: Bert Lange Date: Wed, 15 Apr 2015 13:54:39 +0200 Subject: clean up --- treemap/Makefile | 67 -------------------------------- treemap/convert.xsl | 110 ---------------------------------------------------- 2 files changed, 177 deletions(-) delete mode 100644 treemap/Makefile delete mode 100644 treemap/convert.xsl (limited to 'treemap') diff --git a/treemap/Makefile b/treemap/Makefile deleted file mode 100644 index 386bc20..0000000 --- a/treemap/Makefile +++ /dev/null @@ -1,67 +0,0 @@ -#TOP = top -#DIR = ../s3estarter/syn/xst -#SCREENSHOT = s3estarter_ressources - -TOP = top -DIR = ../beam_position_monitor/hardware/board_sp601_amba/synthsis/xst -SCREENSHOT = bpm_sp601_amba - -#TOP = top -#DIR = ../beam_position_monitor/hardware/board_sp605/synthsis/xst -#SCREENSHOT = bpm_sp605 - -#TOP = top -#DIR = ../central_trigger_generator/syn/xst -#SCREENSHOT = central_trigger_ressources - - -# derived Variables -MAPREPORTXML = $(DIR)/$(TOP)_map.xrpt -MAPREPORT = $(DIR)/$(TOP)_map.mrp - - -start = $(shell grep --line-number "^Logic Utilization:" $(DIR)/$(TOP)_map.mrp | cut -d":" -f1) -end = $(shell grep --line-number "^Peak Memory Usage:" $(DIR)/$(TOP)_map.mrp | cut -d":" -f1) - - -help: - @echo "run - run Treeviz" - @echo "convert - convert data (on unix)" - @echo "util - grep for utilization" - @echo "combine - two screenshots for better overview" - @echo "clean - tidy up" - -run: ressources.xml - @echo "save screeshot as $(SCREENSHOT)_grob.png and $(SCREENSHOT)_fein.png" - java -jar Treeviz/dist/Treeviz.jar $< - -convert: ressources.xml - - -# useful for printing with graphic report -# cut lines beetween "Logic Utilization" and "Average Fanout..." -util: $(MAPREPORT) - @sed -n '/Logic Utilization:/,/^Average Fanout of Non-Clock Nets:/p' $(MAPREPORT) - -# not so useful -> confusing if hierachy to deep -# cut lines from "Section 13" (2nd occurence) and end of file -util_hier: $(MAPREPORT) - @tail -n +$(shell grep --line-number "^Section 13" $(MAPREPORT) | tail -1 | cut -d":" -f1) $(MAPREPORT) - - - -ressources.xml: $(MAPREPORTXML) convert.xsl - saxon-xslt $(MAPREPORTXML) convert.xsl > tmp.xml - # prune empty lines with sed - sed -e '/^[ ]*$$/d' tmp.xml > ressources.xml - # cleanup - rm -f tmp.xml - - -combine: $(SCREENSHOT)_fein.png $(SCREENSHOT)_grob.png - composite -blend 33 $(SCREENSHOT)_fein.png $(SCREENSHOT)_grob.png $(SCREENSHOT)_mixed.png - - -clean: - rm -f ressources.xml - diff --git a/treemap/convert.xsl b/treemap/convert.xsl deleted file mode 100644 index 080bd00..0000000 --- a/treemap/convert.xsl +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.1