URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Subversion Repositories or1k_old
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 1736 to Rev 1737
- ↔ Reverse comparison
Rev 1736 → Rev 1737
/trunk/linux/linux-2.4/sim.cfg
39,14 → 39,6
Like normal configuration file, this file is divided in sections, |
where each section is described in detail also. |
|
Some section also have subsections. One example of such subsection is |
block: |
|
device <index> |
instance specific parameters... |
enddevice |
|
which creates a device instance. |
*/ |
|
|
67,33 → 59,29
pattern = <value> |
pattern to fill memory, used if type = pattern |
|
nmemories = <value> |
number of memory instances connected |
baseaddr = <hex_value> |
memory start address |
|
instance specific: |
baseaddr = <hex_value> |
memory start address |
size = <hex_value> |
memory size |
|
size = <hex_value> |
memory size |
name = "<string>" |
memory block name |
|
name = "<string>" |
memory block name |
ce = <value> |
chip enable index of the memory instance |
|
ce = <value> |
chip enable index of the memory instance |
delayr = <value> |
cycles, required for read access, -1 if instance does not support reading |
|
delayr = <value> |
cycles, required for read access, -1 if instance does not support reading |
delayw = <value> |
cycles, required for write access, -1 if instance does not support writing |
|
delayw = <value> |
cycles, required for write access, -1 if instance does not support writing |
16550 = 0/1 |
0, if this device is uart 16450 and 1, if it is 16550 |
|
16550 = 0/1 |
0, if this device is uart 16450 and 1, if it is 16550 |
|
log = "<filename>" |
filename, where to log memory accesses to, no log, if log command is not specified |
log = "<filename>" |
filename, where to log memory accesses to, no log, if log command is not specified |
*/ |
|
section memory |
101,9 → 89,6
type = random*/ |
pattern = 0x00 |
type = unknown /* Fastest */ |
|
nmemories = 3 |
device 0 |
name = "FLASH" |
ce = 0 |
baseaddr = 0xf0000000 |
110,10 → 95,10
size = 0x00800000 |
delayr = 1 |
delayw = -1 |
/* log = "flash.log"*/ |
enddevice |
log = "flash.log" |
end |
|
device 1 |
section memory |
name = "RAM" |
ce = 1 |
baseaddr = 0x00000000 |
122,8 → 107,9
delayr = 1 |
delayw = 2 |
/* log = "ram.log"*/ |
enddevice |
device 2 |
end |
|
section memory |
name = "SRAM" |
ce = 2 |
baseaddr = 0x08000000 |
131,7 → 117,6
delayr = 1 |
delayw = 2 |
/* log = "ram.log"*/ |
enddevice |
end |
|
/* IMMU SECTION |
415,43 → 400,34
|
This section configures UARTs |
|
nuarts = <value> |
make specified number of instances, configure each |
instance within device - enddevice construct. |
baseaddr = <hex_value> |
address of first UART register for this device |
|
instance specific: |
baseaddr = <hex_value> |
address of first UART register for this device |
rx_file = "<filename>" |
filename, where to read data from |
|
rx_file = "<filename>" |
filename, where to read data from |
tx_file = "<filename>" |
filename, where to write data to |
|
tx_file = "<filename>" |
filename, where to write data to |
irq = <value> |
irq number for this device |
|
irq = <value> |
irq number for this device |
16550 = 0/1 |
0, if this device is uart 16450 and 1, if it is 16550 |
|
16550 = 0/1 |
0, if this device is uart 16450 and 1, if it is 16550 |
jitter = <value> |
in msecs... time to block, -1 to disable it |
|
jitter = <value> |
in msecs... time to block, -1 to disable it |
|
vapi_id = <hex_value> |
VAPI id of this instance |
vapi_id = <hex_value> |
VAPI id of this instance |
*/ |
|
section uart |
nuarts = 1 |
|
device 0 |
baseaddr = 0x90000000 |
irq = 2 |
channel = "file:uart0.rx,uart0.tx" |
jitter = -1 /* async behaviour */ |
16550 = 1 |
enddevice |
end |
|
|
459,28 → 435,19
|
This section configures DMAs |
|
ndmas = <value> |
make specified number of instances, configure each |
instance within device - enddevice construct. |
baseaddr = <hex_value> |
address of first DMA register for this device |
|
instance specific: |
baseaddr = <hex_value> |
address of first DMA register for this device |
irq = <value> |
irq number for this device |
|
irq = <value> |
irq number for this device |
|
vapi_id = <hex_value> |
VAPI id of this instance |
vapi_id = <hex_value> |
VAPI id of this instance |
*/ |
|
section dma |
ndmas = 1 |
|
device 0 |
baseaddr = 0x9a000000 |
irq = 11 |
enddevice |
end |
|
|
491,40 → 458,32
enabled = 0/1 |
whether ethernets are enabled |
|
nethernets = <value> |
make specified number of instances, configure each |
instance within device - enddevice construct. |
baseaddr = <hex_value> |
address of first ethernet register for this device |
|
instance specific: |
baseaddr = <hex_value> |
address of first ethernet register for this device |
dma = <value> |
which controller is this ethernet "connected" to |
|
dma = <value> |
which controller is this ethernet "connected" to |
rtx_type = 0 ETH_RTX_FILE |
1 ETH_RTX_SOCK |
|
rtx_type = 0 ETH_RTX_FILE |
1 ETH_RTX_SOCK |
rx_channel = <value> |
DMA channel used for RX |
|
rx_channel = <value> |
DMA channel used for RX |
tx_channel = <value> |
DMA channel used for TX |
|
tx_channel = <value> |
DMA channel used for TX |
rx_file = "<filename>" |
filename, where to read data from |
|
rx_file = "<filename>" |
filename, where to read data from |
tx_file = "<filename>" |
filename, where to write data to |
|
tx_file = "<filename>" |
filename, where to write data to |
|
vapi_id = <hex_value> |
VAPI id of this instance |
vapi_id = <hex_value> |
VAPI id of this instance |
*/ |
|
section ethernet |
nethernets = 1 |
|
device 0 |
baseaddr = 0x92000000 |
dma = 0 |
irq = 4 |
534,7 → 493,6
rxfile = "eth0.rx" |
txfile = "eth0.tx" |
sockif = "eth0" |
enddevice |
end |
|
section fb |