diff --git a/src/main/scala/ee/hrzn/chryse/platform/Platform.scala b/src/main/scala/ee/hrzn/chryse/platform/Platform.scala index 3f35be6..a60cf5d 100644 --- a/src/main/scala/ee/hrzn/chryse/platform/Platform.scala +++ b/src/main/scala/ee/hrzn/chryse/platform/Platform.scala @@ -20,5 +20,5 @@ package ee.hrzn.chryse.platform trait Platform { val id: String - val clockHz: Int + val clockHz: BigInt } diff --git a/src/main/scala/ee/hrzn/chryse/platform/resource/ClockSource.scala b/src/main/scala/ee/hrzn/chryse/platform/resource/ClockSource.scala index 3ae1a2a..8f664d5 100644 --- a/src/main/scala/ee/hrzn/chryse/platform/resource/ClockSource.scala +++ b/src/main/scala/ee/hrzn/chryse/platform/resource/ClockSource.scala @@ -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) }