0

I'm buiding a single-core rocket chip, which use an Gemmini interface to do systollic array, and I use board Arty-Z7 to run demo on FPGA. My problem here is I don't know how to choose a suitable config.

I have custom the config like this:

class ArtyGemminiConfig extends Config(
  new gemmini.GemminiCustomConfig ++
  new freechips.rocketchip.rocket.WithNHugeCores(1) ++
  new chipyard.config.WithSystemBusWidth(64) ++
  new chipyard.config.AbstractConfig
)

for GemminiCustomConfig, I setup like this:

val artyConfig = defaultConfig.copy(
    meshRows = 8, meshColumns = 8,
    tileRows = 1, tileColumns = 1,

    sp_capacity = CapacityInKilobytes(32),
    acc_capacity = CapacityInKilobytes(16),


    dataflow = Dataflow.WS,

    dma_buswidth = 64,
    max_in_flight_mem_reqs = 8,

    has_training_convs = false,
    has_max_pool = false,
    has_nonlinear_activations = false,

    spatialArrayOutputType = SInt(32.W),
  )

  val customConfig = artyConfig```
Is this suitable for running an AI demo like LeNet 5 on the board Arty-Z720?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.