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 ...@@ -3,8 +3,8 @@ package uk.ac.soton.ecs.can.core
case class CanCoreConfiguration( case class CanCoreConfiguration(
programMemoryWords: Int, programMemoryWords: Int,
dataMemoryWords: Int, dataMemoryWords: Int,
syncReadMemory: Boolean = true, syncReadMemory: Boolean,
regAfterBlockInitializer: Boolean = true, regAfterBlockInitializer: Boolean,
regBetweenRounds: Boolean = true, regBetweenRounds: Boolean,
regAfterAdder: Boolean = true regAfterAdder: Boolean
) )
...@@ -9,7 +9,7 @@ class DataMemory( ...@@ -9,7 +9,7 @@ class DataMemory(
addrWidth: Int, addrWidth: Int,
dataWidth: Int, dataWidth: Int,
size: Int, size: Int,
syncMem: Boolean = true syncMem: Boolean
) extends MultiIOModule { ) extends MultiIOModule {
val read = IO( val read = IO(
Vec( Vec(
......
...@@ -9,7 +9,7 @@ class ProgramMemory( ...@@ -9,7 +9,7 @@ class ProgramMemory(
addrWidth: Int, addrWidth: Int,
cwWidth: Int, cwWidth: Int,
nWords: Int, nWords: Int,
syncMem: Boolean = true syncMem: Boolean
) extends MultiIOModule { ) extends MultiIOModule {
val br = IO(new Bundle { val br = IO(new Bundle {
val abs = Input(Bool()) 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