summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/or1k/generic_or1k/sim.cfg
blob: 1032f0d4ce67884036ec7199e8f95cb5e0f6f053 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
section memory
  name     =      "RAM"
  random_seed = 12345
  type        = random
  ce       =          0
  mc       =          0
  baseaddr = 0x00000000
  size     = 0x08000000
  delayr   =          1
  delayw   =          2
end

section immu
  enabled = 0
  nsets = 64
  nways = 1
  pagesize = 8192
  hitdelay = 0
  missdelay = 0
end

section dmmu
  enabled = 0
  nsets = 64
  nways = 1
  pagesize = 8192
  hitdelay = 0
  missdelay = 0
end
section mc
  enabled = 0
  baseaddr = 0x90000000
  POC = 0x0000000a                 /* 32 bit SSRAM */
  index = 0
end

section ic
  enabled   =   1
  nsets     = 256
  nways     =   1
  blocksize =  32
  hitdelay  =  20
  missdelay =  60
end

section dc
  enabled = 1
  nsets = 256
  nways = 1
  blocksize = 32
  load_hitdelay = 40
  load_missdelay = 120
  store_hitdelay = 40
  store_missdelay = 120
end

section pic
  enabled = 1
  edge_trigger = 1
end

section sim
  verbose  =  1
  debug    =  0
  profile  =  0
  history  =  0
  clkcycle = 10ns		/* 100MHz clock */
end

section VAPI
  enabled = 1
  server_port = 50000
  log_enabled = 1
  vapi_log_file = "vapi.log"
end

section cpu
  ver = 0x12
  cfg = 0x00
  rev = 0x0001
  upr = 0x0000075f
  superscalar = 0
  hazards = 0
  dependstats = 0
  sbuf_len = 100
end

section debug
 enabled = 1
 rsp_enabled = 1
 rsp_port = 50001
end

section uart
  enabled  = 1
  baseaddr = 0x90000000
 #channel = "xterm"
  channel = "file:uart0.rx,uart0.tx"
  irq = 2
  16550    = 1
end

section pm
  enabled = 1
end