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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc3/] [or1ksim/] [sim.cfg] - Blame information for rev 310

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 264 markom
/* sim.cfg -- Simulator configuration script file
2
   Copyright (C) 2001, Marko Mlinar, markom@opencores.org
3
 
4
This file is part of OpenRISC 1000 Architectural Simulator.
5
 
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
10
 
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
GNU General Public License for more details.
15
 
16
You should have received a copy of the GNU General Public License
17
along with this program; if not, write to the Free Software
18
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
19
 
20 262 markom
section memory
21
  memory_table_file = "simmem.cfg"
22 264 markom
  /*random_seed = 12345
23
  type = random*/
24 269 markom
  pattern = 0x00
25
  type = unknown /* Fastest */
26 262 markom
end
27
 
28 263 markom
section cpu
29
  ver = 0x1200
30
  rev = 0x0001
31
  /* upr = */
32
  superscalar = 0
33
  hazards = 0
34
  history = 0
35
  dependstats = 0
36
  dependency = 0
37
  slp = 0
38 304 markom
  btic = 0
39 264 markom
  bpb = 0
40 263 markom
end
41
 
42 269 markom
section debug
43
  /*enabled = 0
44
  gdb_enabled = 0*/
45
  server_port = 9999
46
end
47
 
48 264 markom
section sim
49 310 markom
  /*verbose*/
50 264 markom
  debug = 0
51 294 markom
  profile = 0
52 264 markom
  prof_fn = "sim.profile"
53 294 markom
 
54 264 markom
  /* iprompt = 0 */
55 304 markom
  exe_log = 0
56 294 markom
  exe_log_fn = "executed.log"
57 264 markom
end
58
 
59 243 markom
section mc
60 304 markom
  enabled = 0
61 261 markom
  baseaddr = 0xa0000000
62
  POC = 0x00000008                 /* Power on configuration register */
63 243 markom
end
64 261 markom
 
65
section uart
66 304 markom
  enabled = 0
67 261 markom
  nuarts = 1
68
 
69
  device 0
70
    baseaddr = 0x80000000
71
    rxfile = "/tmp/uart0.rx"
72
    txfile = "/tmp/uart0.tx"
73
    jitter = -1                     /* async behaviour */
74
  enddevice
75
end
76
 
77
section dma
78 304 markom
  enabled = 0
79 261 markom
  ndmas = 1
80
 
81
  device 0
82
    baseaddr = 0x90000000
83
    irq = 4
84
  enddevice
85
end
86 293 markom
 
87 294 markom
section VAPI
88 293 markom
  enabled = 0
89 304 markom
  server_port = 9998
90 293 markom
end
91 304 markom
 
92
section ethernet
93
  enabled = 0
94 310 markom
  nethernets = 1
95
 
96
  device 0
97
    baseaddr = 0x88000000
98
    dma = 0
99
    tx_channel = 0
100
    rx_channel = 1
101
    rxfile = "/tmp/eth0.rx"
102
    txfile = "/tmp/eth0.tx"
103
  enddevice
104 304 markom
end

powered by: WebSVN 2.1.0

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