Commit b0724575 authored by Jens Korinth's avatar Jens Korinth

Closes #99 - Allow selective Core building in itapasco

* as requested, HLS runs will only be initiated for Platforms and
  Architectures selected in the corresponding tabs
parent 2dd2b14f
......@@ -71,10 +71,10 @@ class CorePanelController extends {
_logger.trace("starting HLS execution in background ...")
Future {
HighLevelSynthesisJob(
_implementation = "VivadoHLS", // Vivado HLS by default
_architectures = None, // all Architectures
_platforms = None, // all Platforms
_kernels = Some(Seq(k.name)) // only Kernel k
_implementation = "VivadoHLS", // Vivado HLS by default
_architectures = Job.job.architectureNames, // all selected Architectures
_platforms = Job.job.platformNames, // all selected Platforms
_kernels = Some(Seq(k.name)) // only Kernel k
).execute
}
_logger.trace("HLS running for {}", k)
......
......@@ -130,10 +130,16 @@ final case class DesignSpaceExplorationJob(
def architectures: Set[Architecture] =
FileAssetManager.entities.architectures filter (a => _architectures map (_.contains(a.name)) getOrElse true)
/** Returns the name filter for [[base.Architecture]] instances. */
def architectureNames = _architectures
/** Returns the list of [[base.Platform]] instances selected in this job. */
def platforms: Set[Platform] =
FileAssetManager.entities.platforms filter (p => _platforms map (_.contains(p.name)) getOrElse true)
/** Returns the name filter for [[base.Platform]] instances. */
def platformNames = _platforms
/** Returns the first target (alphabetically Arch - Platform). */
def target: Target = targets.head
......
Markdown is supported
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