diff --git a/src/main/scala/ee/hrzn/chryse/platform/ecp5/ECP5Platform.scala b/src/main/scala/ee/hrzn/chryse/platform/ecp5/ECP5Platform.scala index cfe78aa..1b1baae 100644 --- a/src/main/scala/ee/hrzn/chryse/platform/ecp5/ECP5Platform.scala +++ b/src/main/scala/ee/hrzn/chryse/platform/ecp5/ECP5Platform.scala @@ -85,7 +85,14 @@ trait ECP5Platform { this: PlatformBoard[_ <: PlatformBoardResources] => ) runCu(CmdStepPNR, textcfgCu) - // TODO (ECP5): print statistics like ICE40Platform. + println() + println("Device utilisation:") + logFileBetween( + nextpnrLogPath, + raw"Info: Device utilisation:".r, + raw"Info: Placed .*".r, + Some("Info: "), + ) val bitPath = s"$buildDir/${platform.id}/$name.bit" val svfPath = s"$buildDir/${platform.id}/$name.svf"