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

Commit 6571721

Browse files
committed
hz from Int to BigInt. good lord.
1 parent 353c7f1 commit 6571721

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/scala/ee/hrzn/chryse/platform/Platform.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ package ee.hrzn.chryse.platform
2020

2121
trait Platform {
2222
val id: String
23-
val clockHz: Int
23+
val clockHz: BigInt
2424
}

src/main/scala/ee/hrzn/chryse/platform/resource/ClockSource.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ package ee.hrzn.chryse.platform.resource
2020

2121
import chisel3._
2222

23-
case class ClockSource(hz: Int) extends ResourceData(Input(Clock())) {}
23+
case class ClockSource(hz: BigInt) extends ResourceData(Input(Clock())) {}
2424

2525
object ClockSource {
26-
def apply(hz: Int) = new ClockSource(hz)
26+
def apply(hz: BigInt) = new ClockSource(hz)
2727
}

0 commit comments

Comments
 (0)