From 5940dfff14b76ba1000afb4fef5b72a50dc77517 Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Mon, 7 Oct 2019 17:27:47 -0700 Subject: [PATCH] [system] Comment on hart-ordering restriction --- generators/utilities/src/main/scala/Subsystem.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generators/utilities/src/main/scala/Subsystem.scala b/generators/utilities/src/main/scala/Subsystem.scala index e3755704..560caa4c 100644 --- a/generators/utilities/src/main/scala/Subsystem.scala +++ b/generators/utilities/src/main/scala/Subsystem.scala @@ -46,6 +46,8 @@ trait HasBoomAndRocketTiles extends HasTiles // Note that we also inject new nodes into the tile itself, // also based on the crossing type. // This MUST be performed in order of hartid + // There is something weird with registering tile-local interrupt controllers to the CLINT. + // TODO: investigate why val tiles = allTilesInfo.sortWith(_._1.hartId < _._1.hartId).map { case (param, crossing) => { val (tile, rocketLogicalTree) = param match {