coreplex: print the A first to look nicer
This commit is contained in:
parent
a1ac23d7ec
commit
82b1aa8116
@ -169,11 +169,11 @@ abstract class BaseCoreplexModule[+L <: BaseCoreplex](_outer: L) extends BareCor
|
|||||||
println(fmt.format(
|
println(fmt.format(
|
||||||
range.base,
|
range.base,
|
||||||
range.base+range.size,
|
range.base+range.size,
|
||||||
|
if (a) 'A' else ' ',
|
||||||
if (r) 'R' else ' ',
|
if (r) 'R' else ' ',
|
||||||
if (w) 'W' else ' ',
|
if (w) 'W' else ' ',
|
||||||
if (x) 'X' else ' ',
|
if (x) 'X' else ' ',
|
||||||
if (c) 'C' else ' ',
|
if (c) 'C' else ' ',
|
||||||
if (a) 'A' else ' ',
|
|
||||||
names.mkString(", ")))
|
names.mkString(", ")))
|
||||||
s"""{"base":[${range.base}],"size":[${range.size}],"r":[$r],"w":[$w],"x":[$x],"c":[$c],"a":[$a],"names":[${names.map('"'+_+'"').mkString(",")}]}"""
|
s"""{"base":[${range.base}],"size":[${range.size}],"r":[$r],"w":[$w],"x":[$x],"c":[$c],"a":[$a],"names":[${names.map('"'+_+'"').mkString(",")}]}"""
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user