FIX: remove default UART and add new with desired parameters
This commit is contained in:
@@ -18,6 +18,7 @@ class dmiSpikeConfig extends Config(
|
||||
// Avoids polling on the UART registers
|
||||
class SpikeFastUARTConfig extends Config(
|
||||
new chipyard.WithNSpikeCores(1) ++
|
||||
new chipyard.config.WithNoUART() ++
|
||||
new chipyard.config.WithUART(txEntries=128, rxEntries=128) ++
|
||||
new chipyard.config.WithMemoryBusFrequency(2) ++
|
||||
new chipyard.config.WithPeripheryBusFrequency(2) ++
|
||||
@@ -27,6 +28,7 @@ class SpikeFastUARTConfig extends Config(
|
||||
class SpikeUltraFastConfig extends Config(
|
||||
new chipyard.WithSpikeTCM ++
|
||||
new chipyard.WithNSpikeCores(1) ++
|
||||
new chipyard.config.WithNoUART() ++
|
||||
new chipyard.config.WithUART(txEntries=128, rxEntries=128) ++
|
||||
new chipyard.config.WithMemoryBusFrequency(2) ++
|
||||
new chipyard.config.WithPeripheryBusFrequency(2) ++
|
||||
@@ -47,6 +49,7 @@ class SpikeUltraFastDevicesConfig extends Config(
|
||||
|
||||
new chipyard.WithSpikeTCM ++
|
||||
new chipyard.WithNSpikeCores(1) ++
|
||||
new chipyard.config.WithNoUART() ++
|
||||
new chipyard.config.WithUART(txEntries=128, rxEntries=128) ++
|
||||
new chipyard.config.WithMemoryBusFrequency(2) ++
|
||||
new chipyard.config.WithPeripheryBusFrequency(2) ++
|
||||
|
||||
Reference in New Issue
Block a user