Compiling a heterogenous config with IceNIC

51 views
Skip to first unread message

Varun Gandhi

unread,
Aug 26, 2020, 6:45:32 PM8/26/20
to chip...@googlegroups.com
Hi,

I’m getting compile-time errors when trying to build a heterogenous config that includes two boom cores and an IceNIC:

class DualBoomIceNicConfig extends Config(
  new chipyard.iobinders.WithUARTAdapter ++
  new chipyard.iobinders.WithTieOffInterrupts ++
  new chipyard.iobinders.WithBlackBoxSimMem ++
  new chipyard.iobinders.WithTiedOffDebug ++
  new chipyard.iobinders.WithSimSerial ++
  new testchipip.WithTSI ++
  new chipyard.config.WithBootROM ++
  new chipyard.config.WithUART ++
  new chipyard.config.WithL2TLBs(1024) ++
  new chipyard.config.WithRenumberHarts ++
  new icenet.WithIceNIC ++                                   
  new boom.common.WithLargeBooms ++
  new boom.common.WithNBoomCores(2) ++                       // 2 boom cores
  new freechips.rocketchip.subsystem.WithNoMMIOPort ++
  new freechips.rocketchip.subsystem.WithNoSlavePort ++
  new freechips.rocketchip.subsystem.WithInclusiveCache ++
  new freechips.rocketchip.subsystem.WithNExtTopInterrupts(0) ++
  new freechips.rocketchip.subsystem.WithNBigCores(0) ++
  new freechips.rocketchip.subsystem.WithCoherentBusTopology ++
  new freechips.rocketchip.system.BaseConfig)


Partial error log:

[error] (run-main-0) firrtl.passes.PassExceptions:                                                                                    
[error] firrtl.passes.CheckInitialization$RefNotInitializedException:@[ChipTop.scala 71:68:chipyard.TestHarness.DualBoomIceNicConfig.fir@894906.4] : [module ChipTop]  Reference system is not fully initialized.
[error]    : system.net.pauser.refresh <= VOID                                                                       
[error]firrtl.passes.CheckInitialization$RefNotInitializedException:@[ChipTop.scala71:68:chipyard.TestHarness.DualBoomIceNicConfig.fir@894906.4] : [module ChipTop]  Reference system is not fully initialized.  


I’ve compiled the toolchain with the riscv-tools option (not with esp-tools). Could that be the reason?

Best,
Varun

Jerry Zhao

unread,
Aug 26, 2020, 7:00:30 PM8/26/20
to chip...@googlegroups.com
You did not include a IOBinder which controls how the NIC IOs are connected. The options are chipyard.iobinders.WithLoopbackNIC or chipyard.iobinders.WithSimNIC. See the example RocketConfigs.

--
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/5F47F8AC-BC14-44CF-B12C-9A5F3E20F5FA%40g.harvard.edu.
Reply all
Reply to author
Forward
0 new messages