From b79590bb698a230c24e62ee320622ee36c3a7455 Mon Sep 17 00:00:00 2001 From: "-T.K.-" Date: Sat, 10 Feb 2024 22:38:59 -0800 Subject: [PATCH] REFACTOR: fix spacing --- .../src/main/scala/config/AbstractConfig.scala | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/generators/chipyard/src/main/scala/config/AbstractConfig.scala b/generators/chipyard/src/main/scala/config/AbstractConfig.scala index 9b10458c..751915e2 100644 --- a/generators/chipyard/src/main/scala/config/AbstractConfig.scala +++ b/generators/chipyard/src/main/scala/config/AbstractConfig.scala @@ -31,6 +31,7 @@ class AbstractConfig extends Config( new chipyard.harness.WithResetFromHarness ++ /** reset controlled by harness */ new chipyard.harness.WithAbsoluteFreqHarnessClockInstantiator ++ /** generate clocks in harness with unsynthesizable ClockSourceAtFreqMHz */ + // ================================================ // Set up I/O cells + punch I/Os in ChipTop // ================================================ @@ -58,6 +59,7 @@ class AbstractConfig extends Config( new chipyard.iobinders.WithUARTTSIPunchthrough ++ new chipyard.iobinders.WithNMITiedOff ++ + // ================================================ // Set up External Memory and IO Devices // ================================================ @@ -75,6 +77,7 @@ class AbstractConfig extends Config( // MMIO device section new chipyard.config.WithUART ++ /** add a UART */ + // ================================================ // Set up Debug/Bringup/Testing Features // ================================================ @@ -86,17 +89,20 @@ class AbstractConfig extends Config( new testchipip.boot.WithCustomBootPin ++ /** add a custom-boot-pin to support pin-driven boot address */ new testchipip.boot.WithBootAddrReg ++ /** add a boot-addr-reg for configurable boot address */ + // ================================================ // Set up Interrupts // ================================================ // CLINT and PLIC related settings goes here new freechips.rocketchip.subsystem.WithNExtTopInterrupts(0) ++ /** no external interrupts */ + // ================================================ // Set up Tiles // ================================================ // tile-local settings goes here + // ================================================ // Set up Memory system // ================================================ @@ -107,11 +113,12 @@ class AbstractConfig extends Config( size = 64 * 1024) ++ // Coherency settings - new freechips.rocketchip.subsystem.WithInclusiveCache ++ /** use Sifive LLC cache as root of coherence*/ + new freechips.rocketchip.subsystem.WithInclusiveCache ++ /** use Sifive LLC cache as root of coherence */ // Bus/interconnect settings new freechips.rocketchip.subsystem.WithCoherentBusTopology ++ /** hierarchical buses including sbus/mbus/pbus/fbus/cbus/l2 */ + // ================================================ // Set up power, reset and clocking // ================================================ @@ -140,6 +147,7 @@ class AbstractConfig extends Config( // power + // ================================== // Base Settings // ==================================