--
You received this message because you are subscribed to the Google Groups "topaz-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topaz-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Try the second solution, modify the file I suggested in my previous mail. Anyway, for both solutions try with a larger network (8*8) and more cycles, deadlock should appear. Try also a non uniform traffic such as bit-reversal...
--
if( outputInterfaz(outPort)->isStopActive(virtualChannel) ) {
if( ! m_token ) m_token = inPort;
continue;
}
//if we are changing direction or injecting, bubble must be verified
/*
if( ! m_connections[outPort] && ( ! m_changeDirection[inPort] || bubbleReady(outPort+m_ports*(virtualChannel-1)) ) ) {
// Occupy the port
m_connections[outPort] = inPort;
#ifndef NO_TRAZA
TPZString texto = getComponent().asString() + " SW ARB [GRANT] ";
texto += " From ";
texto += m_routing[inPort]->asString() + " TIME: " + TPZString(getOwnerRouter().getCurrentTime());
texto += TPZString(" inPort: ") + TPZString(inPort) + TPZString(" outPort: ") + TPZString(outPort);
texto += TPZString(" VChannel: ") + TPZString(virtualChannel);
TPZWRITE2LOG(texto);
#endif
} */
// else
{
#ifndef NO_TRAZA
TPZString texto = getComponent().asString() + " SW ARB {REJECT] ";
texto += TP
..........
--