macsim/macsim-seq.c
// Simulate all cores and the periodical interconnect for one cycle only
Simulate all cores and the periodical interconnect for one cycle only
Simulate all cores and the periodical interconnect for one cycle only
void simulation_step()
{
    noc_route_all(nodes, conf_max_rank);
    if (nodes[0]->core_type==CT_netrace)
        netrace_inject_messages(nodes);
    rank_t r;
    for (r=0; r<conf_max_rank; r++) {
        simulate_one_instruction(nodes[r]);
    }
}
void simulation_step ( ) { noc_route_all ( nodes , conf_max_rank ) ; if ( nodes [ 0 ] -> core_type == CT_netrace ) netrace_inject_messages ( nodes ) ; rank_t r ; for ( r = 0 ; r < conf_max_rank ; r ++ ) { simulate_one_instruction ( nodes [ r ] ) ; } }
Simulate all cores and the periodical interconnect for one cycle only
Simulate all cores and the periodical interconnect for one cycle only
// simulate interconnect // only netrace simulation: inject messages // simulate all cores for one cycle