Run pre-commit on all files
This commit is contained in:
1
LICENSE
1
LICENSE
@@ -27,4 +27,3 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|||||||
@@ -107,5 +107,3 @@ In this example, note how ``up(SomeKeyY, site)`` in ``WithXEqualsYUp`` will refe
|
|||||||
|
|
||||||
|
|
||||||
Also note that again, ``site`` must be recursively passed through the call to ``up``.
|
Also note that again, ``site`` must be recursively passed through the call to ``up``.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -103,4 +103,3 @@ Firesim Debugging
|
|||||||
Chisel printfs, asserts, Dromajo co-simulation, and waveform generation are also available in FireSim
|
Chisel printfs, asserts, Dromajo co-simulation, and waveform generation are also available in FireSim
|
||||||
FPGA-accelerated simulation. See the FireSim
|
FPGA-accelerated simulation. See the FireSim
|
||||||
`documentation <https://docs.fires.im/en/latest/>`__ for more detail.
|
`documentation <https://docs.fires.im/en/latest/>`__ for more detail.
|
||||||
|
|
||||||
|
|||||||
@@ -16,4 +16,3 @@ They expect you to know about Chisel, Parameters, configs, etc.
|
|||||||
CDEs
|
CDEs
|
||||||
Harness-Clocks
|
Harness-Clocks
|
||||||
Managing-Published-Scala-Dependencies
|
Managing-Published-Scala-Dependencies
|
||||||
|
|
||||||
|
|||||||
@@ -19,5 +19,3 @@ Hit next to get started!
|
|||||||
Development-Ecosystem
|
Development-Ecosystem
|
||||||
Configs-Parameters-Mixins
|
Configs-Parameters-Mixins
|
||||||
Initial-Repo-Setup
|
Initial-Repo-Setup
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -35,5 +35,3 @@ Once we've created our top-level module including the DMA widget, we can create
|
|||||||
:language: scala
|
:language: scala
|
||||||
:start-after: DOC include start: InitZeroRocketConfig
|
:start-after: DOC include start: InitZeroRocketConfig
|
||||||
:end-before: DOC include end: InitZeroRocketConfig
|
:end-before: DOC include end: InitZeroRocketConfig
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -75,5 +75,3 @@ We can use this config fragment when composing our configs.
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Readers who want more information on the configuration system may be interested in reading :ref:`cdes`.
|
Readers who want more information on the configuration system may be interested in reading :ref:`cdes`.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -138,5 +138,3 @@ Now with all of that done, we can go ahead and run our simulation.
|
|||||||
|
|
||||||
cd sims/verilator
|
cd sims/verilator
|
||||||
make CONFIG=GCDTLRocketConfig BINARY=../../tests/gcd.riscv run-binary
|
make CONFIG=GCDTLRocketConfig BINARY=../../tests/gcd.riscv run-binary
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -67,4 +67,3 @@ For instance, if we wanted to add the previously defined accelerator and route c
|
|||||||
new RocketConfig)
|
new RocketConfig)
|
||||||
|
|
||||||
To add RoCC instructions in your program, use the RoCC C macros provided in ``tests/rocc.h``. You can find examples in the files ``tests/accum.c`` and ``charcount.c``.
|
To add RoCC instructions in your program, use the RoCC C macros provided in ``tests/rocc.h``. You can find examples in the files ``tests/accum.c`` and ``charcount.c``.
|
||||||
|
|
||||||
|
|||||||
@@ -7,4 +7,3 @@ Gemmini enables architects to make useful insights into how different components
|
|||||||
Check out `Gemmini's documentation <https://github.com/ucb-bar/gemmini/blob/master/README.md>`__ to learn how to generate, simulate, and profile DNN accelerators with Gemmini and Chipyard.
|
Check out `Gemmini's documentation <https://github.com/ucb-bar/gemmini/blob/master/README.md>`__ to learn how to generate, simulate, and profile DNN accelerators with Gemmini and Chipyard.
|
||||||
|
|
||||||
.. image:: ../_static/images/gemmini-system.png
|
.. image:: ../_static/images/gemmini-system.png
|
||||||
|
|
||||||
|
|||||||
@@ -79,5 +79,3 @@ this config fragment is shown here:
|
|||||||
|
|
||||||
The SHA3 example baremetal and Linux tests are located in the SHA3 repository.
|
The SHA3 example baremetal and Linux tests are located in the SHA3 repository.
|
||||||
Please refer to its `README.md <https://github.com/ucb-bar/sha3/blob/master/README.md>`_ for more information on how to run/build the tests.
|
Please refer to its `README.md <https://github.com/ucb-bar/sha3/blob/master/README.md>`_ for more information on how to run/build the tests.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -34,4 +34,3 @@ so changes to the generators themselves will automatically be used when building
|
|||||||
NVDLA
|
NVDLA
|
||||||
Sodor
|
Sodor
|
||||||
Mempress
|
Mempress
|
||||||
|
|
||||||
|
|||||||
@@ -465,6 +465,3 @@ if you want multi-beat reads/writes.
|
|||||||
AXI4RAM only supports AXI4-Lite operations, so multi-beat reads/writes and
|
AXI4RAM only supports AXI4-Lite operations, so multi-beat reads/writes and
|
||||||
reads/writes smaller than full-width are not supported. Use an ``AXI4Fragmenter``
|
reads/writes smaller than full-width are not supported. Use an ``AXI4Fragmenter``
|
||||||
if you want to use the full AXI4 protocol.
|
if you want to use the full AXI4 protocol.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -50,5 +50,3 @@ Running the VLSI tool flow
|
|||||||
|
|
||||||
For the full documentation on how to use the VLSI tool flow, see the `Hammer Documentation <https://hammer-vlsi.readthedocs.io/>`__.
|
For the full documentation on how to use the VLSI tool flow, see the `Hammer Documentation <https://hammer-vlsi.readthedocs.io/>`__.
|
||||||
For an example of how to use the VLSI in the context of Chipyard, see :ref:`VLSI/ASAP7-Tutorial:ASAP7 Tutorial`.
|
For an example of how to use the VLSI in the context of Chipyard, see :ref:`VLSI/ASAP7-Tutorial:ASAP7 Tutorial`.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -38,4 +38,3 @@ class ArtyFPGATestHarness(override implicit val p: Parameters) extends ArtyShell
|
|||||||
ApplyHarnessBinders(this, d.lazySystem, d.portMap)
|
ApplyHarnessBinders(this, d.lazySystem, d.portMap)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -107,4 +107,3 @@ class DDR2VCU118ShellPlacer(shell: VCU118FPGATestHarness, val shellInput: DDRShe
|
|||||||
extends DDRShellPlacer[VCU118FPGATestHarness] {
|
extends DDRShellPlacer[VCU118FPGATestHarness] {
|
||||||
def place(designInput: DDRDesignInput) = new DDR2VCU118PlacedOverlay(shell, valName.name, designInput, shellInput)
|
def place(designInput: DDRDesignInput) = new DDR2VCU118PlacedOverlay(shell, valName.name, designInput, shellInput)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,4 +33,3 @@ class ChipTop(implicit p: Parameters) extends LazyModule with BindingScope
|
|||||||
// anyways, they probably need to be explicitly clocked.
|
// anyways, they probably need to be explicitly clocked.
|
||||||
lazy val module: LazyModuleImpLike = new LazyRawModuleImp(this) { }
|
lazy val module: LazyModuleImpLike = new LazyRawModuleImp(this) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -83,4 +83,3 @@ class ChipyardSubsystemModuleImp[+L <: ChipyardSubsystem](_outer: L) extends Bas
|
|||||||
// This is included in the `dromajo_params.h` header file
|
// This is included in the `dromajo_params.h` header file
|
||||||
DromajoHelper.addArtefacts(InSubsystem)
|
DromajoHelper.addArtefacts(InSubsystem)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -108,4 +108,3 @@ class TestHarness(implicit val p: Parameters) extends Module with HasHarnessSign
|
|||||||
implicitHarnessClockBundle.reset := reset
|
implicitHarnessClockBundle.reset := reset
|
||||||
p(HarnessClockInstantiatorKey).instantiateHarnessDividerPLL(implicitHarnessClockBundle)
|
p(HarnessClockInstantiatorKey).instantiateHarnessDividerPLL(implicitHarnessClockBundle)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -86,4 +86,3 @@ trait HasChipyardPRCI { this: BaseSubsystem with InstantiatesTiles =>
|
|||||||
:= tileResetSetter
|
:= tileResetSetter
|
||||||
:= allClockGroupsNode)
|
:= allClockGroupsNode)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,4 +20,3 @@ class Sha3RocketPrintfConfig extends Config(
|
|||||||
new sha3.WithSha3Accel ++ // add SHA3 rocc accelerator
|
new sha3.WithSha3Accel ++ // add SHA3 rocc accelerator
|
||||||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
|
||||||
new chipyard.config.AbstractConfig)
|
new chipyard.config.AbstractConfig)
|
||||||
|
|
||||||
|
|||||||
@@ -75,4 +75,3 @@ class WithSerialTLBackingMemory extends Config((site, here, up) => {
|
|||||||
class WithExtMemIdBits(n: Int) extends Config((site, here, up) => {
|
class WithExtMemIdBits(n: Int) extends Config((site, here, up) => {
|
||||||
case ExtMem => up(ExtMem, site).map(x => x.copy(master = x.master.copy(idBits = n)))
|
case ExtMem => up(ExtMem, site).map(x => x.copy(master = x.master.copy(idBits = n)))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -68,4 +68,3 @@ class WithRocketDCacheScratchpad extends Config((site, here, up) => {
|
|||||||
))
|
))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -11,4 +11,3 @@ class TraceGenTop(implicit p: Parameters) extends TraceGenSystem
|
|||||||
class WithTracegenSystem extends Config((site, here, up) => {
|
class WithTracegenSystem extends Config((site, here, up) => {
|
||||||
case BuildSystem => (p: Parameters) => new TraceGenTop()(p)
|
case BuildSystem => (p: Parameters) => new TraceGenTop()(p)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -145,4 +145,3 @@ trait CanHavePeripheryStreamingPassthrough { this: BaseSubsystem =>
|
|||||||
class WithStreamingPassthrough extends Config((site, here, up) => {
|
class WithStreamingPassthrough extends Config((site, here, up) => {
|
||||||
case StreamingPassthroughKey => Some(StreamingPassthroughParams(depth = 8))
|
case StreamingPassthroughKey => Some(StreamingPassthroughParams(depth = 8))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -23,4 +23,3 @@ private[stage] object UnderscoreDelimitedConfigsAnnotation extends HasShellOptio
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,4 +11,3 @@ fi
|
|||||||
|
|
||||||
# in any case, set the soft limit to the same value as the hard limit
|
# in any case, set the soft limit to the same value as the hard limit
|
||||||
ulimit -Sn $(ulimit -Hn)
|
ulimit -Sn $(ulimit -Hn)
|
||||||
|
|
||||||
|
|||||||
@@ -8,4 +8,3 @@ with open(outfile, 'wb') as f:
|
|||||||
for i in range(0,0x100000,4):
|
for i in range(0,0x100000,4):
|
||||||
check = 0xdeadbeef - i
|
check = 0xdeadbeef - i
|
||||||
f.write(check.to_bytes(4,'little'))
|
f.write(check.to_bytes(4,'little'))
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ par.generate_power_straps_options:
|
|||||||
- met5
|
- met5
|
||||||
blockage_spacing_met2: 4.0
|
blockage_spacing_met2: 4.0
|
||||||
blockage_spacing_met4: 2.0
|
blockage_spacing_met4: 2.0
|
||||||
blockage_spacing_met4: 2.0
|
|
||||||
track_width: 3
|
track_width: 3
|
||||||
track_width_met5: 1
|
track_width_met5: 1
|
||||||
track_spacing: 5
|
track_spacing: 5
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ par.generate_power_straps_options:
|
|||||||
- met5
|
- met5
|
||||||
blockage_spacing_met2: 4.0
|
blockage_spacing_met2: 4.0
|
||||||
blockage_spacing_met4: 2.0
|
blockage_spacing_met4: 2.0
|
||||||
blockage_spacing_met4: 2.0
|
|
||||||
track_width: 3
|
track_width: 3
|
||||||
track_width_met5: 1
|
track_width_met5: 1
|
||||||
track_spacing: 5
|
track_spacing: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user