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

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [designs/] [leon3-avnet-3s1500/] [README.txt] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dimamali
 
2
This leon3 design is tailored to the Avnet Spartan3 Eval board
3
---------------------------------------------------------------------
4
 
5
Design specifics:
6
 
7
* System reset is mapped to the SW[4]
8
 
9
* The console UART (UART 1) is connected to the P3 DB-9 connector.
10
 
11
* The JTAG DSU interface is enabled and works well with
12
  GRMON and Xilinx parallel cabel III or IV .
13
 
14
* The GRETH core is enabled and runs without problems at 100 Mbit.
15
  Ethernet debug link is enabled, default IP is 192.168.0.51.
16
 
17
* The SRAM (1 Mbyte) is attached using a modified version
18
  of the leon2 memory controller (mctrl_avnet). This is
19
  because the address bus is work based rather than byte based
20
  and needs to be shifted 2 steps. It is possible to start
21
  grmon with -normw for better performance. The byte-enable
22
  strobes for the sram are connected and read-modify-write
23
  is not needed.
24
 
25
* The Avnet flash/sram/sdram mezzanine (ADS-FLASH-DAU-G) is
26
  supported. It provides 16 Mbyte flash and 1 Mbyte additional
27
  sram. The sdram is attached but does not work - if somebody
28
  can fix this then let me know.  The FLASH memory can be
29
  programmed using GRMON.
30
 
31
* The LEON3 processor can run up to 40 - 50 MHz on the board
32
  in the typical configuartion.
33
 
34
 
35
* Sample output from GRMON info sys is:
36
 
37
$ grmon -eth -u -normw
38
 
39
 GRMON LEON debug monitor v1.1.19b
40
 
41
 Copyright (C) 2004,2005 Gaisler Research - all rights reserved.
42
 For latest updates, go to http://www.gaisler.com/
43
 Comments or bug-reports to support@gaisler.com
44
 
45
 
46
 ethernet startup.
47
 GRLIB build version: 2125
48
 
49
 initialising .............
50
 detected frequency:  40 MHz
51
 
52
 Component                            Vendor
53
 LEON3 SPARC V8 Processor             Gaisler Research
54
 AHB Debug JTAG TAP                   Gaisler Research
55
 SVGA frame buffer                    Gaisler Research
56
 Simple 32-bit PCI Target             Gaisler Research
57
 GR Ethernet MAC                      Gaisler Research
58
 LEON2 Memory Controller              European Space Agency
59
 AHB/APB Bridge                       Gaisler Research
60
 LEON3 Debug Support Unit             Gaisler Research
61
 Generic APB UART                     Gaisler Research
62
 Multi-processor Interrupt Ctrl       Gaisler Research
63
 Modular Timer Unit                   Gaisler Research
64
 Keyboard PS/2 interface              Gaisler Research
65
 Keyboard PS/2 interface              Gaisler Research
66
 
67
 Use command 'info sys' to print a detailed report of attached cores
68
 
69
grlib> inf sys
70
00.01:003   Gaisler Research  LEON3 SPARC V8 Processor (ver 0x0)
71
             ahb master 0
72
01.01:01c   Gaisler Research  AHB Debug JTAG TAP (ver 0x0)
73
             ahb master 1
74
02.01:063   Gaisler Research  SVGA frame buffer (ver 0x0)
75
             ahb master 2
76
             apb: 80000600 - 80000700
77
             clk0: 25.17 MHz
78
03.01:012   Gaisler Research  Simple 32-bit PCI Target (ver 0x0)
79
             ahb master 3
80
04.01:01d   Gaisler Research  GR Ethernet MAC (ver 0x0)
81
             ahb master 4, irq 12
82
             apb: 80000b00 - 80000c00
83
             edcl ip 192.168.0.51, buffer 2 kbyte
84
00.04:00f   European Space Agency  LEON2 Memory Controller (ver 0x1)
85
             ahb: 00000000 - 20000000
86
             ahb: 20000000 - 40000000
87
             ahb: 40000000 - 80000000
88
             apb: 80000000 - 80000100
89
             32-bit prom @ 0x00000000
90
             32-bit static ram: 2 * 1024 kbyte @ 0x40000000
91
01.01:006   Gaisler Research  AHB/APB Bridge (ver 0x0)
92
             ahb: 80000000 - 80100000
93
02.01:004   Gaisler Research  LEON3 Debug Support Unit (ver 0x1)
94
             ahb: 90000000 - a0000000
95
             AHB trace 256 lines, stack pointer 0x401ffff0
96
             CPU#0 win 8, hwbp 2, itrace 256, V8 mul/div, lddel 1
97
                   icache 1 * 4 kbyte, 32 byte/line
98
                   dcache 1 * 4 kbyte, 32 byte/line
99
01.01:00c   Gaisler Research  Generic APB UART (ver 0x1)
100
             irq 2
101
             apb: 80000100 - 80000200
102
             baud rate 38400, DSU mode
103
02.01:00d   Gaisler Research  Multi-processor Interrupt Ctrl (ver 0x3)
104
             apb: 80000200 - 80000300
105
03.01:011   Gaisler Research  Modular Timer Unit (ver 0x0)
106
             irq 8
107
             apb: 80000300 - 80000400
108
             8-bit scaler, 2 * 32-bit timers, divisor 40
109
04.01:060   Gaisler Research  Keyboard PS/2 interface (ver 0x1)
110
             irq 4
111
             apb: 80000400 - 80000500
112
05.01:060   Gaisler Research  Keyboard PS/2 interface (ver 0x1)
113
             irq 5
114
             apb: 80000500 - 80000600
115
grlib> fla
116
 
117
 Intel-style 32-bit (2x16-bit) flash
118
 
119
 Manuf.    Intel               Intel
120
 Type      MT28F640J3          MT28F640J3
121
 
122
 Device ID d1210850e2c6c0c1    91210930e2c6c0c1
123
 User   ID ffffffffffffffff    ffffffffffffffff
124
 
125
 2 x 8 Mbyte = 16 Mbyte total @ 0x00000000
126
 
127
 CFI information
128
 
129
 flash family  : 1
130
 flash size    : 64 Mbit
131
 erase regions : 1
132
 erase blocks  : 64
133
 write buffer  : 32 bytes
134
 region  0     : 64 blocks of 128 Kbytes
135
 
136
 
137
grlib> lo ~/examples/soft/v8/dhry.exe
138
section: .text at 0x40000000, size 47568 bytes
139
section: .data at 0x4000b9d0, size 2408 bytes
140
total size: 49976 bytes (30.4 Mbit/s)
141
read 245 symbols
142
entry point: 0x40000000
143
grlib> run
144
Execution starts, 400000 runs through Dhrystone
145
Microseconds for one run through Dhrystone:   15.2
146
Dhrystones per Second:                      65573.8
147
 
148
Dhrystones MIPS      :                        37.3
149
 
150
 
151
Program exited normally.
152
 

powered by: WebSVN 2.1.0

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