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

Commit

Permalink
chrysetop is our name, not theirs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed May 23, 2024
1 parent e3a5f1e commit 5b181c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/ee/hrzn/chryse/platform/ice40/ICE40Top.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ class ICE40Top[Top <: Module](

private val top =
withClockAndReset(clk, finalReset)(Module(genTop))
if (top.desiredName == desiredName)
throw new IllegalArgumentException(s"user top is called $desiredName")

// TODO (iCE40): allow clock source override.

Expand Down

0 comments on commit 5b181c3

Please sign in to comment.