Changeset 360 for branches/v5
- Timestamp:
- Apr 10, 2013, 11:54:18 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v5/platforms/tsarv5_generic_mmu/tsarv5_cluster_mmu/caba/source/src/tsarv5_cluster_mmu.cpp
r351 r360 167 167 loader, 168 168 xram_latency); 169 169 /* 170 170 std::ostringstream swtx; 171 171 swtx << "wt_xram_" << x_id << "_" << y_id; … … 173 173 swtx.str().c_str(), 174 174 x_width + y_width ); 175 175 */ 176 176 ///////////////////////////////////////////////////////////////////////////// 177 177 std::cout << " - building xicu_" << x_id << "_" << y_id << std::endl; … … 205 205 IntTab(cluster_id, tgtid_mdma), // TGTID 206 206 64, // burst size 207 nb_ procs); // number of IRQs207 nb_dmas); // number of IRQs 208 208 209 209 std::ostringstream swta; … … 489 489 xbar_m2p_c->p_global_out (signal_dspin_m2p_l2g_c); 490 490 xbar_m2p_c->p_global_in (signal_dspin_m2p_g2l_c); 491 xbar_m2p_c->p_local_in[ nb_procs](signal_dspin_m2p_memc);491 xbar_m2p_c->p_local_in[0] (signal_dspin_m2p_memc); 492 492 for (size_t p = 0; p < nb_procs; p++) 493 493 xbar_m2p_c->p_local_out[p] (signal_dspin_m2p_proc[p]); … … 500 500 xbar_p2m_c->p_global_out (signal_dspin_p2m_l2g_c); 501 501 xbar_p2m_c->p_global_in (signal_dspin_p2m_g2l_c); 502 xbar_p2m_c->p_local_out[ nb_procs](signal_dspin_p2m_memc);502 xbar_p2m_c->p_local_out[0] (signal_dspin_p2m_memc); 503 503 for (size_t p = 0; p < nb_procs; p++) 504 504 xbar_p2m_c->p_local_in[p] (signal_dspin_p2m_proc[p]); … … 558 558 559 559 // wrapper XICU 560 wt_xicu->p_clk 561 wt_xicu->p_resetn 562 wt_xicu->p_dspin_cmd 563 wt_xicu->p_dspin_rsp 564 wt_xicu->p_vci 560 wt_xicu->p_clk (this->p_clk); 561 wt_xicu->p_resetn (this->p_resetn); 562 wt_xicu->p_dspin_cmd (signal_dspin_cmd_xicu_t); 563 wt_xicu->p_dspin_rsp (signal_dspin_rsp_xicu_t); 564 wt_xicu->p_vci (signal_vci_tgt_xicu); 565 565 566 566 std::cout << " - XICU connected" << std::endl; … … 575 575 576 576 // wrapper MEMC 577 wt_ xicu->p_clk (this->p_clk);578 wt_ xicu->p_resetn (this->p_resetn);579 wt_ xicu->p_dspin_cmd (signal_dspin_cmd_memc_t);580 wt_ xicu->p_dspin_rsp (signal_dspin_rsp_memc_t);581 wt_ xicu->p_vci (signal_vci_tgt_memc);577 wt_memc->p_clk (this->p_clk); 578 wt_memc->p_resetn (this->p_resetn); 579 wt_memc->p_dspin_cmd (signal_dspin_cmd_memc_t); 580 wt_memc->p_dspin_rsp (signal_dspin_rsp_memc_t); 581 wt_memc->p_vci (signal_vci_tgt_memc); 582 582 583 583 std::cout << " - MEMC connected" << std::endl; … … 590 590 std::cout << " - XRAM connected" << std::endl; 591 591 592 ////////////////////////////////////////////// CDMA592 ////////////////////////////////////////////// MDMA 593 593 mdma->p_clk (this->p_clk); 594 594 mdma->p_resetn (this->p_resetn); … … 597 597 for (size_t i=0 ; i<nb_dmas ; i++) 598 598 mdma->p_irq[i] (signal_irq_mdma[i]); 599 600 // wrapper tgt MDMA 601 wt_mdma->p_clk (this->p_clk); 602 wt_mdma->p_resetn (this->p_resetn); 603 wt_mdma->p_dspin_cmd (signal_dspin_cmd_mdma_t); 604 wt_mdma->p_dspin_rsp (signal_dspin_rsp_mdma_t); 605 wt_mdma->p_vci (signal_vci_tgt_mdma); 606 607 // wrapper ini MDMA 608 wi_mdma->p_clk (this->p_clk); 609 wi_mdma->p_resetn (this->p_resetn); 610 wi_mdma->p_dspin_cmd (signal_dspin_cmd_mdma_i); 611 wi_mdma->p_dspin_rsp (signal_dspin_rsp_mdma_i); 612 wi_mdma->p_vci (signal_vci_ini_mdma); 599 613 600 614 std::cout << " - MDMA connected" << std::endl; … … 611 625 bdev->p_vci_initiator (signal_vci_ini_bdev); 612 626 627 // wrapper tgt BDEV 628 wt_bdev->p_clk (this->p_clk); 629 wt_bdev->p_resetn (this->p_resetn); 630 wt_bdev->p_dspin_cmd (signal_dspin_cmd_bdev_t); 631 wt_bdev->p_dspin_rsp (signal_dspin_rsp_bdev_t); 632 wt_bdev->p_vci (signal_vci_tgt_bdev); 633 634 // wrapper ini BDEV 635 wi_bdev->p_clk (this->p_clk); 636 wi_bdev->p_resetn (this->p_resetn); 637 wi_bdev->p_dspin_cmd (signal_dspin_cmd_bdev_i); 638 wi_bdev->p_dspin_rsp (signal_dspin_rsp_bdev_i); 639 wi_bdev->p_vci (signal_vci_ini_bdev); 640 613 641 std::cout << " - BDEV connected" << std::endl; 614 642 … … 617 645 fbuf->p_resetn (this->p_resetn); 618 646 fbuf->p_vci (signal_vci_tgt_fbuf); 647 648 // wrapper tgt FBUF 649 wt_fbuf->p_clk (this->p_clk); 650 wt_fbuf->p_resetn (this->p_resetn); 651 wt_fbuf->p_dspin_cmd (signal_dspin_cmd_fbuf_t); 652 wt_fbuf->p_dspin_rsp (signal_dspin_rsp_fbuf_t); 653 wt_fbuf->p_vci (signal_vci_tgt_fbuf); 619 654 620 655 std::cout << " - FBUF connected" << std::endl; … … 630 665 } 631 666 667 // wrapper tgt MNIC 668 wt_mnic->p_clk (this->p_clk); 669 wt_mnic->p_resetn (this->p_resetn); 670 wt_mnic->p_dspin_cmd (signal_dspin_cmd_mnic_t); 671 wt_mnic->p_dspin_rsp (signal_dspin_rsp_mnic_t); 672 wt_mnic->p_vci (signal_vci_tgt_mnic); 673 632 674 std::cout << " - MNIC connected" << std::endl; 633 675 … … 636 678 brom->p_resetn (this->p_resetn); 637 679 brom->p_vci (signal_vci_tgt_brom); 680 681 // wrapper tgt BROM 682 wt_brom->p_clk (this->p_clk); 683 wt_brom->p_resetn (this->p_resetn); 684 wt_brom->p_dspin_cmd (signal_dspin_cmd_brom_t); 685 wt_brom->p_dspin_rsp (signal_dspin_rsp_brom_t); 686 wt_brom->p_vci (signal_vci_tgt_brom); 638 687 639 688 std::cout << " - BROM connected" << std::endl; … … 648 697 } 649 698 699 // wrapper tgt MTTY 700 wt_mtty->p_clk (this->p_clk); 701 wt_mtty->p_resetn (this->p_resetn); 702 wt_mtty->p_dspin_cmd (signal_dspin_cmd_mtty_t); 703 wt_mtty->p_dspin_rsp (signal_dspin_rsp_mtty_t); 704 wt_mtty->p_vci (signal_vci_tgt_mtty); 705 650 706 std::cout << " - MTTY connected" << std::endl; 651 707 }
Note: See TracChangeset
for help on using the changeset viewer.