From 82b1aa811607944912357d857e3711e4909c17ba Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Wed, 18 Oct 2017 16:52:35 -0700 Subject: [PATCH] coreplex: print the A first to look nicer --- src/main/scala/coreplex/BaseCoreplex.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/coreplex/BaseCoreplex.scala b/src/main/scala/coreplex/BaseCoreplex.scala index 09db8ba6..bb004313 100644 --- a/src/main/scala/coreplex/BaseCoreplex.scala +++ b/src/main/scala/coreplex/BaseCoreplex.scala @@ -169,11 +169,11 @@ abstract class BaseCoreplexModule[+L <: BaseCoreplex](_outer: L) extends BareCor println(fmt.format( range.base, range.base+range.size, + if (a) 'A' else ' ', if (r) 'R' else ' ', if (w) 'W' else ' ', if (x) 'X' else ' ', if (c) 'C' else ' ', - if (a) 'A' else ' ', names.mkString(", "))) s"""{"base":[${range.base}],"size":[${range.size}],"r":[$r],"w":[$w],"x":[$x],"c":[$c],"a":[$a],"names":[${names.map('"'+_+'"').mkString(",")}]}""" }