add 2 and 4 memory channel configs
This commit is contained in:
parent
0d245741bc
commit
51116e0674
@ -189,6 +189,17 @@ class With2Banks extends Config(knobValues = { case "NBANKS" => 2 })
|
|||||||
class With4Banks extends Config(knobValues = { case "NBANKS" => 4 })
|
class With4Banks extends Config(knobValues = { case "NBANKS" => 4 })
|
||||||
class With8Banks extends Config(knobValues = { case "NBANKS" => 8 })
|
class With8Banks extends Config(knobValues = { case "NBANKS" => 8 })
|
||||||
|
|
||||||
|
class With2MemoryChannels extends Config(
|
||||||
|
(pname,site,here) => pname match {
|
||||||
|
case NMemoryChannels => Dump("N_MEM_CHANNELS", 2)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
class With4MemoryChannels extends Config(
|
||||||
|
(pname,site,here) => pname match {
|
||||||
|
case NMemoryChannels => Dump("N_MEM_CHANNELS", 4)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
class WithL2Cache extends Config(
|
class WithL2Cache extends Config(
|
||||||
(pname,site,here) => pname match {
|
(pname,site,here) => pname match {
|
||||||
case "L2_CAPACITY_IN_KB" => Knob("L2_CAPACITY_IN_KB")
|
case "L2_CAPACITY_IN_KB" => Knob("L2_CAPACITY_IN_KB")
|
||||||
|
Loading…
Reference in New Issue
Block a user