chipyard.config.AbstractConfig

183 views
Skip to first unread message

Junaid amjad

unread,
Oct 5, 2022, 6:30:17 AM10/5/22
to Chipyard
Is it necessary to add this config (chipyard.config.AbstractConfig) to build any SoC? Like what I'm understanding from it's source code is that it adds some peripherals/IPs depending upon either they are enable or not.
But in case of CVA6 which itself is a sort of SoC having some peripherals integrated in it (like UART ), can't we just ignore this config and still be able to generate an SoC ( with CVA6 config)? I'm trying to do this but getting error, can anyone guide about this.
Attaching the Config which I'm using: 

class CVA6Config extends Config(
  new cva6.WithNCVA6Cores(1))

Thanks!

Abraham Gonzalez

unread,
Oct 6, 2022, 1:02:51 PM10/6/22
to chip...@googlegroups.com
In Chipyard, this config. is always needed (though can be a bit reduced depending on what peripherals/IPs you minimally need). We have integrated only the core part of CVA6 into Chipyard and thus do not use any of the peripherals/etc that it includes. If you would like to minimize the number of extra peripherals on the SoC, you can try to delete/modify some of these lines in the AbstractConfig (https://github.com/ucb-bar/chipyard/blob/03083507d3c47ffb943bb4162f7b992082f84363/generators/chipyard/src/main/scala/config/AbstractConfig.scala#L44-L61).

--
You received this message because you are subscribed to the Google Groups "Chipyard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chipyard+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chipyard/328e3de3-12f0-4440-92ea-418580f7055cn%40googlegroups.com.


--
Abraham J. Gonzalez
Electrical Engineering and Computer Science Ph.D. Student
The University of California at Berkeley

Darshak Sheladiya

unread,
Apr 28, 2023, 7:57:26 AM4/28/23
to Chipyard
Hi,
I am new to chipyard. I did FPGA prototyping of MegaBoom core on VCU118. As suggested in Chipyard documentation: 

class BoomVCU118Config extends Config(
  new WithFPGAFrequency(50) ++
  new WithVCU118Tweaks ++
  new chipyard.MegaBoomConfig)

This works fine. However, I want add CVA6 place  of MegaBoom.

I tried:

class BoomVCU118Config extends Config(
  new WithFPGAFrequency(50) ++
  new WithVCU118Tweaks ++
  new cva6.WithNCVA6Cores(1))

But this config gives an error. I would be really grateful  if you guide me here.
Thanks in advance.
Reply all
Reply to author
Forward
0 new messages