Verified Commit 246611b2 authored by Minyong Li's avatar Minyong Li 💬
Browse files

core: remove default values in parameters

The top level should pass all parameter down.
parent f21b78bc
......@@ -3,8 +3,8 @@ package uk.ac.soton.ecs.can.core
case class CanCoreConfiguration(
programMemoryWords: Int,
dataMemoryWords: Int,
syncReadMemory: Boolean = true,
regAfterBlockInitializer: Boolean = true,
regBetweenRounds: Boolean = true,
regAfterAdder: Boolean = true
syncReadMemory: Boolean,
regAfterBlockInitializer: Boolean,
regBetweenRounds: Boolean,
regAfterAdder: Boolean
)
......@@ -9,7 +9,7 @@ class DataMemory(
addrWidth: Int,
dataWidth: Int,
size: Int,
syncMem: Boolean = true
syncMem: Boolean
) extends MultiIOModule {
val read = IO(
Vec(
......
......@@ -9,7 +9,7 @@ class ProgramMemory(
addrWidth: Int,
cwWidth: Int,
nWords: Int,
syncMem: Boolean = true
syncMem: Boolean
) extends MultiIOModule {
val br = IO(new Bundle {
val abs = Input(Bool())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment