Beispiel #1
0
static void connectWaveformTracer(Core &core, WaveformTracer &waveformTracer)
{
  for (Core::port_iterator it = core.port_begin(), e = core.port_end();
       it != e; ++it) {
    waveformTracer.add(core.getCoreName(), *it);
  }
  waveformTracer.finalizePorts();
}
Beispiel #2
0
static void
connectWaveformTracer(SystemState &system, WaveformTracer &waveformTracer)
{
  for (Node *node : system.getNodes()) {
    if (!node->isProcessorNode())
      continue;
    for (Core *core : static_cast<ProcessorNode*>(node)->getCores()) {
      connectWaveformTracer(*core, waveformTracer);
    }
  }
  waveformTracer.finalizePorts();
}
Beispiel #3
0
static void connectWaveformTracer(Core &core, WaveformTracer &waveformTracer)
{
  for (Port *port : core.getPorts()) {
    waveformTracer.add(core.getCoreName(), port);
  }
}