Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.09 KB

DTU.md

File metadata and controls

30 lines (23 loc) · 1.09 KB

Sources

  • Scratchpad implementation located at src/mem/ (scratchpad.cc, scratchpad.hh, Sratchpad.py)
  • Dtu implementation located at src/mem/dtu/
  • Tester CPU located at /src/cpu/testers/dtutest
  • Configuration script configs/example/dtutest.py

Build

  • Dependencies are listed here.
  • The build system is described here.
  • For now I simply use this target to build: scons build/ALPHA/gem5.debug

Run

For testing I use this comand: build/ALPHA/gem5.debug --debug-flags=DtuTest,Dtu,MemoryAccess,XBar configs/example/dtutest.py --num-pes=2 [--atomic]

The test script creates a simple system consisting of num_pes (--num-pes) processing elements. Each PE consists of a CPU, a Scratchpad-Memory, and a DTU. These units are connected via a simple crossbar. All the PEs are also connected via a crossbar.

For now the DTU simply forwards all requests from the CPU to the local Scratchpad. The Tester-CPU simply performs a view read and write accesses directly on the Scratchpad-Memory and indirectly via the DTU.