Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HartId/ResetVector: Correct the input width calculation #2543

Merged
merged 3 commits into from
Jun 30, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/scala/tile/Core.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package freechips.rocketchip.tile

import Chisel._

import Chisel.ImplicitConversions._
mwachs5 marked this conversation as resolved.
Show resolved Hide resolved
mwachs5 marked this conversation as resolved.
Show resolved Hide resolved
import freechips.rocketchip.config._
import freechips.rocketchip.rocket._
import freechips.rocketchip.util._
Expand Down Expand Up @@ -131,8 +131,8 @@ class CoreInterrupts(implicit p: Parameters) extends TileInterrupts()(p) {
trait HasCoreIO extends HasTileParameters {
implicit val p: Parameters
val io = new CoreBundle()(p) {
val hartid = UInt(hartIdLen).asInput
val reset_vector = UInt(resetVectorLen).asInput
val hartid = UInt(hartIdLen.W).asInput
val reset_vector = UInt(resetVectorLen.W).asInput
val interrupts = new CoreInterrupts().asInput
val imem = new FrontendIO
val dmem = new HellaCacheIO
Expand Down