From 0a4bcaa4053aca16f21f899ba76b1b751cfb47b3 Mon Sep 17 00:00:00 2001 From: Adam Izraelevitz Date: Tue, 30 Oct 2018 19:30:03 -0700 Subject: Instance Annotations (#926) Formerly #865 Major Code Changes/Features Added: Added Target trait as replacement for Named Added TargetToken as token in building Target Added GenericTarget as a catch-all Target Added CircuitTarget, ModuleTarget, ReferenceTarget, and InstanceTarget Added ResolvePaths annotation Added EliminateTargetPaths (and helper class DuplicationHelper) Updated Dedup to work with instance annotations Updated RenameMap to work with instance annotations DCE & ConstantProp extend ResolveAnnotationPaths --- utils/bin/firrtl-profiling | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 utils/bin/firrtl-profiling (limited to 'utils') diff --git a/utils/bin/firrtl-profiling b/utils/bin/firrtl-profiling new file mode 100755 index 00000000..5aa73e00 --- /dev/null +++ b/utils/bin/firrtl-profiling @@ -0,0 +1,7 @@ +#!/bin/bash + +# This may be a brittle way to find $(root_dir)/utils/bin, is there a better way? +path=`dirname "$0"` +cmd="java -agentlib:hprof=cpu=samples,depth=100,interval=7,lineno=y,thread=y,file=output.hprof -cp ${path}/firrtl.jar firrtl.Driver ${@:1}" +eval $cmd + -- cgit v1.2.3