compiler/mapper/CGRALink.cpp
// The occupancy is special for the ue-cgra.
// The current design can only support one bypass and
// one computation. So at most two bypass.
The occupancy is special for the ue-cgra.
The current design can only support one bypass and
one computation. So at most two bypass.
The occupancy is special for the ue - cgra . The current design can only support one bypass and one computation . So at most two bypass .
bool CGRALink::canOccupy(int t_cycle, int t_II) {
  if (m_currentCtrlMemItems + 1 > m_ctrlMemSize)
    return false;
  if (m_occupied[t_cycle])
    return false;
  if (!satisfyBypassConstraint(t_cycle, t_II))
    return false;
  return true;
}
bool CGRALink :: canOccupy ( int t_cycle , int t_II ) { if ( m_currentCtrlMemItems + 1 > m_ctrlMemSize ) return false ; if ( m_occupied [ t_cycle ] ) return false ; if ( ! satisfyBypassConstraint ( t_cycle , t_II ) ) return false ; return true ; }
The occupancy is special for the ue-cgra.
The occupancy is special for the ue - cgra .