Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
ecp5: print device utilisation from pnr.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed Jun 3, 2024
1 parent 8f7a15a commit 20d33dd
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 20d33dd

Please sign in to comment.