OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [testbench/] [mmu.cfg] - Diff between revs 541 and 549

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 541 Rev 549
Line 397... Line 397...
  baseaddr = 0xa0000000
  baseaddr = 0xa0000000
  POC = 0x00000008                 /* Power on configuration register */
  POC = 0x00000008                 /* Power on configuration register */
end
end
 
 
 
 
/* UART SECTION
 
 
 
   This section configures UARTs
 
 
 
   enabled = 0/1
 
      whether uarts are enabled
 
 
 
   nuarts = 
 
      make specified number of instances, configure each
 
      instance within device - enddevice construct.
 
 
 
   instance specific:
 
     baseaddr = 
 
        address of first UART register for this device
 
 
 
     rx_file = ""
 
        filename, where to read data from
 
 
 
     tx_file = ""
 
        filename, where to write data to
 
 
 
     irq = 
 
        irq number for this device
 
 
 
     16550 = 0/1
 
        0, if this device is uart 16450 and 1, if it is 16550
 
 
 
     jitter = 
 
        in msecs... time to block, -1 to disable it
 
 
 
     vapi_id = 
 
        VAPI id of this instance
 
*/
 
 
 
section uart
 
  enabled = 0
 
  nuarts = 1
 
 
 
  device 0
 
    baseaddr = 0x80000000
 
    irq = 2
 
    rxfile = "/tmp/uart0.rx"
 
    txfile = "/tmp/uart0.tx"
 
    jitter = -1                     /* async behaviour */
 
  enddevice
 
end
 
 
 
 
 
/* DMA SECTION
 
 
 
   This section configures DMAs
 
 
 
   enabled = 0/1
 
      whether DMAs are enabled
 
 
 
   ndmas = 
 
      make specified number of instances, configure each
 
      instance within device - enddevice construct.
 
 
 
   instance specific:
 
     baseaddr = 
 
        address of first DMA register for this device
 
 
 
     irq = 
 
        irq number for this device
 
 
 
     vapi_id = 
 
        VAPI id of this instance
 
*/
 
 
 
section dma
 
  enabled = 0
 
  ndmas = 1
 
 
 
  device 0
 
    baseaddr = 0x90000000
 
    irq = 4
 
  enddevice
 
end
 
 
 
 
 
/* ETHERNET SECTION
 
 
 
   This section configures ethernets
 
 
 
   enabled = 0/1
 
      whether ethernets are enabled
 
 
 
   nethernets = 
 
      make specified number of instances, configure each
 
      instance within device - enddevice construct.
 
 
 
   instance specific:
 
     baseaddr = 
 
        address of first ethernet register for this device
 
 
 
     dma = 
 
        which controller is this ethernet "connected" to
 
 
 
     rx_channel = 
 
        DMA channel used for RX
 
 
 
     tx_channel = 
 
        DMA channel used for TX
 
 
 
     rx_file = ""
 
        filename, where to read data from
 
 
 
     tx_file = ""
 
        filename, where to write data to
 
 
 
     vapi_id = 
 
        VAPI id of this instance
 
*/
 
 
 
section ethernet
 
  enabled = 0
 
  nethernets = 1
 
 
 
  device 0
 
    baseaddr = 0x88000000
 
    dma = 0
 
    tx_channel = 0
 
    rx_channel = 1
 
    rxfile = "/tmp/eth0.rx"
 
    txfile = "/tmp/eth0.tx"
 
  enddevice
 
end
 
 
 
/* TICK TIMER SECTION
/* TICK TIMER SECTION
 
 
    This section configures tick timer
    This section configures tick timer
 
 
    enabled = 0/1
    enabled = 0/1

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.