Ignore:
Timestamp:
Jul 26, 2013, 3:44:43 PM (11 years ago)
Author:
lambert
Message:

Introducing Vci_Chbuf_Dma in tsar_generic_xbar platform :

  • The number of channels of the is dma is 2* nic_channels
  • Adding one argument to the tsar_xbar_cluster for dma TGTID
  • Chbuf Dma default address is 0x00B6000000

Changing Vci_Multi_Nic default Mac address to BABEBEEF0000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_xbar/top.cpp

    r468 r475  
    2727// - the disk controller (BDEV)
    2828// - the multi-channel network controller (MNIC)
     29// - the multi-channel chained buffer dma controller (CHBUF)
    2930// - the multi-channel tty controller (MTTY)
    3031// - the frame buffer controller (FBUF)
     
    249250#define MNIC_SIZE       0x0000080000   // 512 Kbytes (for 8 channels)
    250251
     252#define CHBUF_BASE       0x00B6000000     
     253#define CHBUF_SIZE       0x0000004000  // For 16 Channels
     254
    251255// replicated segments : address is incremented by a cluster offset
    252256//     offset  = cluster(x,y) << (address_width-x_width-y_width);
     
    274278#define MNIC_TGTID      6
    275279#define BROM_TGTID      7
     280#define CHBUF_TGTID      8
    276281
    277282/////////////////////////////////
     
    499504            maptabd.add(Segment("seg_mnic", MNIC_BASE, MNIC_SIZE,
    500505                        IntTab(cluster(x,y),MNIC_TGTID), false));
     506            maptabd.add(Segment("seg_chbuf", CHBUF_BASE, CHBUF_SIZE,
     507                        IntTab(cluster(x,y),CHBUF_TGTID), false));
    501508            maptabd.add(Segment("seg_brom", BROM_BASE, BROM_SIZE,
    502509                        IntTab(cluster(x,y),BROM_TGTID), true));
     
    630637                BROM_TGTID,
    631638                MNIC_TGTID,
     639                CHBUF_TGTID,
    632640                BDEV_TGTID,
    633641                MEMC_WAYS,
Note: See TracChangeset for help on using the changeset viewer.