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

Commit

Permalink
hz from Int to BigInt. good lord.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed Jun 2, 2024
1 parent 353c7f1 commit 6571721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/ee/hrzn/chryse/platform/Platform.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ package ee.hrzn.chryse.platform

trait Platform {
val id: String
val clockHz: Int
val clockHz: BigInt
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ package ee.hrzn.chryse.platform.resource

import chisel3._

case class ClockSource(hz: Int) extends ResourceData(Input(Clock())) {}
case class ClockSource(hz: BigInt) extends ResourceData(Input(Clock())) {}

object ClockSource {
def apply(hz: Int) = new ClockSource(hz)
def apply(hz: BigInt) = new ClockSource(hz)
}

0 comments on commit 6571721

Please sign in to comment.