Changeset 448 for branches/v5/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/src/tsar_xbar_cluster.cpp
- Timestamp:
- Jul 18, 2013, 5:51:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v5/platforms/tsar_generic_xbar/tsar_xbar_cluster/caba/source/src/tsar_xbar_cluster.cpp
r447 r448 89 89 p_rsp_in = alloc_elems<DspinInput<dspin_rsp_width> >("p_rsp_in", 2, 4); 90 90 p_rsp_out = alloc_elems<DspinOutput<dspin_rsp_width> >("p_rsp_out", 2, 4); 91 p_clack_in = alloc_elems<DspinInput<dspin_cmd_width> >("p_clack_in", 4); 92 p_clack_out = alloc_elems<DspinOutput<dspin_cmd_width> >("p_clack_out", 4); 91 93 92 94 ///////////////////////////////////////////////////////////////////////////// … … 296 298 4,4); // input & output fifo depths 297 299 300 ///////////////////////////////////////////////////////////////////////////// 301 router_clack = new DspinRouter<dspin_cmd_width>( 302 "router_clack", 303 x_id,y_id, // coordinates in mesh 304 x_width, y_width, // x & y fields width 305 4,4); // input & output fifo depths 306 298 307 // IO cluster components 299 308 if ( io ) … … 394 403 router_rsp->p_clk (this->p_clk); 395 404 router_rsp->p_resetn (this->p_resetn); 405 router_clack->p_clk (this->p_clk); 406 router_clack->p_resetn (this->p_resetn); 407 396 408 for (int x = 0; x < 2; x++) 397 409 { … … 405 417 } 406 418 419 for(int x = 0; x < 4; x++) 420 { 421 router_clack->p_out[x] (this->p_clack_out[x]); 422 router_clack->p_in[x] (this->p_clack_in[x]); 423 } 424 407 425 router_cmd->p_out[0][4] (signal_dspin_cmd_g2l_d); 408 426 router_cmd->p_out[1][4] (signal_dspin_m2p_g2l_c); … … 414 432 router_rsp->p_in[0][4] (signal_dspin_rsp_l2g_d); 415 433 router_rsp->p_in[1][4] (signal_dspin_p2m_l2g_c); 434 435 router_clack->p_out[4] (signal_dspin_clack_g2l_c); 436 router_clack->p_in[4] (signal_dspin_clack_l2g_c); 437 416 438 417 439 std::cout << " - CMD & RSP routers connected" << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.