Changeset 607 for trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba
- Timestamp:
- Dec 19, 2013, 9:39:53 AM (11 years ago)
- Location:
- trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/include/tsar_iob_cluster.h
r550 r607 78 78 sc_signal<bool> signal_proc_it[8]; 79 79 sc_signal<bool> signal_irq_mdma[8]; 80 sc_signal<bool> signal_irq_memc; 80 81 81 82 // INT network DSPIN signals between DSPIN routers and DSPIN local_crossbars -
trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp
r599 r607 84 84 assert( (x_id < xmax) and (y_id < ymax) and "Illegal cluster coordinates"); 85 85 86 size_t cluster_id = x_id * ymax+ y_id;87 88 size_t cluster_iob0 = 0; // South-West cluster89 size_t cluster_iob1 = xmax*ymax-1; // North-East cluster86 size_t cluster_id = (x_id<<4) + y_id; 87 88 size_t cluster_iob0 = 0; // South-West cluster 89 size_t cluster_iob1 = ((xmax-1)<<4) + ymax-1; // North-East cluster 90 90 91 91 // Vectors of DSPIN ports for inter-cluster communications … … 621 621 memc->p_dspin_m2p (signal_int_dspin_m2p_memc); 622 622 memc->p_dspin_clack (signal_int_dspin_clack_memc); 623 memc->p_irq (signal_irq_memc); 623 624 624 625 // wrapper to INT network
Note: See TracChangeset
for help on using the changeset viewer.