Changes between Version 2 and Version 3 of VgmnNoirqMono


Ignore:
Timestamp:
Jul 5, 2011, 3:08:48 PM (13 years ago)
Author:
Joel Porquet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VgmnNoirqMono

    v2 v3  
    2424    pf.create('common:loader', 'loader')
    2525
    26     vgmn = pf.create('caba:vci_vgmn', 'vgmn0', ...)
     26    vgmn = pf.create('caba:vci_vgmn', 'vgmn0', min_latency = 10, fifo_depth = 8, mt = mt)
    2727
    2828    cpu = pf.create('caba:vci_xcache_wrapper', 'cpu0',
     
    4242#   instanciate the coprocessor and its controller
    4343#
    44 #   tg = dsx.TaskModel.getByName('tg').getImpl(soclib.HwTask)
    45 #        # The creation returns two components
    46 #   ctrl, coproc = tg.instanciate(pf, 'tg0')
    47 #        # We need now to assign an address to the controller and to connect it
    48 #        to the interconnect (there is two ports to connect)
    49 #   ctrl.addSegment('tg_ctrl', 0x70400000, 0x100, False)
    50 #   ctrl.vci_initiator // vgmn.to_initiator.new()
    51 #   ctrl.vci_target // vgmn.to_target.new()
     44#    tg = dsx.TaskModel.getByName('tg').getImpl(soclib.HwTask)
     45#    # The creation returns two components
     46#    ctrl, coproc = tg.instanciate(pf, 'tg0')
     47#    # We need now to assign an address to the controller and to connect it
     48#    # to the interconnect (there is two ports to connect)
     49#    ctrl.addSegment('tg_ctrl', 0x70400000, 0x100, False)
     50#    ctrl.vci_initiator // vgmn.to_initiator.new()
     51#    ctrl.vci_target // vgmn.to_target.new()
    5252#
    53 #        # same with ramdac
    54 #   ramdac = dsx.TaskModel.getByName('ramdac').getImpl(soclib.HwTask)
    55 #   ctrl, coproc = ramdac.instanciate(pf, 'ramdac0')
    56 #   ctrl.addSegment('ramdac_ctrl', 0x71400000, 0x100, False)
    57 #   ctrl.vci_initiator // vgmn.to_initiator.new()
    58 #   ctrl.vci_target // vgmn.to_target.new()
     53#    # same with ramdac
     54#    ramdac = dsx.TaskModel.getByName('ramdac').getImpl(soclib.HwTask)
     55#    ctrl, coproc = ramdac.instanciate(pf, 'ramdac0')
     56#    ctrl.addSegment('ramdac_ctrl', 0x71400000, 0x100, False)
     57#    ctrl.vci_initiator // vgmn.to_initiator.new()
     58#    ctrl.vci_target // vgmn.to_target.new()
    5959
    6060
     
    6565        ram.addSegment('uram%d'%i, base + 0x400000, 0x100000, False)
    6666        ram.vci // vgmn.to_target.new()
    67     ram.addSegment('boot', ...) # Mips boot address, 0x1000 octets, cacheable
    68     ram.addSegment('excep', ...) # Mips exception address, 0x1000 octets, cacheable
     67    ram.addSegment('boot', 0xbfc00000, 0x1000, True) # Mips boot address, 0x1000 octets, cacheable
     68    ram.addSegment('excep', 0x80000080, 0x1000, True) # Mips exception address, 0x1000 octets, cacheable
    6969
    7070    tty = pf.create('caba:vci_multi_tty', 'tty0', names = ['tty0'])