Skip to content
Snippets Groups Projects
Verified Commit 246611b2 authored by Minyong Li's avatar Minyong Li :speech_balloon:
Browse files

core: remove default values in parameters

The top level should pass all parameter down.
parent f21b78bc
No related branches found
No related tags found
No related merge requests found
......@@ -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())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment