davidepatti / noxim

Network on Chip Simulator
218 stars 118 forks source link

Error in the function: NoximTile *NoximNoC::searchNode(const int id) #116

Closed Bhagya-laxmi closed 3 years ago

Bhagya-laxmi commented 3 years ago

Dear Professor,

I am using the Noxim-2010 version for my project and I find that "searchNode" function in NoximTile throws an error. The error is because of the return value.

NoximTile *NoximNoC::searchNode(const int id) const
{
    for (int i = 0; i < NoximGlobalParams::mesh_dim_x; i++)
    for (int j = 0; j < NoximGlobalParams::mesh_dim_y; j++)
        if (t[i][j]->r->local_id == id)
        return t[i][j];

    return false;
}

I am wondering whether the mistake is from my side so that it can be rectified.

davidepatti commented 3 years ago

Noxim 2010 is currently unsupported.