Commit 638b8f6c authored by Jens Korinth's avatar Jens Korinth
Browse files

Closes #65 - Composition directory structure: Target first?

* changed order to: Arch/Platform/Kernels/Counts/Freq
* makes a lot of sense, easier to find bitstreams for a given target
parent 1a762feb
......@@ -55,11 +55,11 @@ trait Configuration {
* _Example_: `arrayinit__counter/020_042/075.0/baseline/pynq`
def outputDir(composition: Composition, target: Target, freq: Heuristics.Frequency): Path = compositionDir
.resolve(composition.composition map (_.kernel.replaceAll(" ", "_")) mkString "__")
.resolve(composition.composition map (ce => "%03d".format(ce.count)) mkString "_")
/** Returns the default output directory for the given core and target. */
def outputDir(core: Core, target: Target): Path =
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment