1 |
2 |
dimamali |
|
2 |
|
|
This leon3 design is tailored to the Avnet Virtex4 LX25 Evaluation board:
|
3 |
|
|
|
4 |
|
|
http://www.em.avnet.com/evk/home/0,1719,RID%253D0%2526CID%253D16863%2526CCD%253DUSA%2526SID%253D4746%2526DID%253DDF2%2526SRT%253D1%2526LID%253D0%2526PRT%253D0%2526PVW%253D%2526BID%253DDF2%2526CTP%253DEVK,00.html
|
5 |
|
|
|
6 |
|
|
Design specifics:
|
7 |
|
|
|
8 |
|
|
* System reset is mapped to SW3
|
9 |
|
|
|
10 |
|
|
* LED 0 indicates LEON3 in debug mode.
|
11 |
|
|
|
12 |
|
|
* LED 6 and 7 indicates UART RX and TX activity.
|
13 |
|
|
|
14 |
|
|
* The serial port is connected to the console UART (UART 1) when
|
15 |
|
|
dip switch 1 on S1 is off. Otherwise it is connected to the
|
16 |
|
|
DSU UART.
|
17 |
|
|
|
18 |
|
|
* The GRETH core is enabled and runs without problems at 100 Mbit.
|
19 |
|
|
Ethernet debug link is enabled, default IP is 192.168.0.69.
|
20 |
|
|
|
21 |
|
|
* 16-bit flash prom can be read at address 0. It can be programmed
|
22 |
|
|
with GRMON version 1.1.14a or later.
|
23 |
|
|
|
24 |
|
|
* DDR is mapped at address 0x40000000 (32 Mbyte). It can run at
|
25 |
|
|
90 - 130 MHz. The processor and AMBA system runs on a different
|
26 |
|
|
clock, and can typically reach 70 - 80 MHz.
|
27 |
|
|
|
28 |
|
|
* The board comes in two variations: one with an LX25 FPGA and one
|
29 |
|
|
with an LX60 device. It is possible to choose the correct FPGA
|
30 |
|
|
in the xconfig setup under the 'Board options' menu.
|
31 |
|
|
|
32 |
|
|
* Output from GRMON info sys is:
|
33 |
|
|
|
34 |
|
|
$ grmon -eth -u -ip 192.168.0.69 -nb
|
35 |
|
|
|
36 |
|
|
GRMON LEON debug monitor v1.1.27b
|
37 |
|
|
|
38 |
|
|
Copyright (C) 2004,2005 Gaisler Research - all rights reserved.
|
39 |
|
|
For latest updates, go to http://www.gaisler.com/
|
40 |
|
|
Comments or bug-reports to support@gaisler.com
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
ethernet startup.
|
44 |
|
|
GRLIB build version: 2878
|
45 |
|
|
|
46 |
|
|
initialising ............
|
47 |
|
|
detected frequency: 70 MHz
|
48 |
|
|
|
49 |
|
|
Component Vendor
|
50 |
|
|
LEON3 SPARC V8 Processor Gaisler Research
|
51 |
|
|
AHB Debug UART Gaisler Research
|
52 |
|
|
AHB Debug JTAG TAP Gaisler Research
|
53 |
|
|
GR Ethernet MAC Gaisler Research
|
54 |
|
|
AHB/APB Bridge Gaisler Research
|
55 |
|
|
LEON3 Debug Support Unit Gaisler Research
|
56 |
|
|
DDR266 Controller Gaisler Research
|
57 |
|
|
LEON2 Memory Controller European Space Agency
|
58 |
|
|
Generic APB UART Gaisler Research
|
59 |
|
|
Multi-processor Interrupt Ctrl Gaisler Research
|
60 |
|
|
Modular Timer Unit Gaisler Research
|
61 |
|
|
General purpose I/O port Gaisler Research
|
62 |
|
|
|
63 |
|
|
Use command 'info sys' to print a detailed report of attached cores
|
64 |
|
|
|
65 |
|
|
grlib> inf sys
|
66 |
|
|
00.01:003 Gaisler Research LEON3 SPARC V8 Processor (ver 0x0)
|
67 |
|
|
ahb master 0
|
68 |
|
|
01.01:007 Gaisler Research AHB Debug UART (ver 0x0)
|
69 |
|
|
ahb master 1
|
70 |
|
|
apb: 80000700 - 80000800
|
71 |
|
|
baud rate 115200, ahb frequency 70.00
|
72 |
|
|
02.01:01c Gaisler Research AHB Debug JTAG TAP (ver 0x0)
|
73 |
|
|
ahb master 2
|
74 |
|
|
03.01:01d Gaisler Research GR Ethernet MAC (ver 0x0)
|
75 |
|
|
ahb master 3, irq 12
|
76 |
|
|
apb: 80000f00 - 80001000
|
77 |
|
|
edcl ip 192.168.0.69, buffer 2 kbyte
|
78 |
|
|
01.01:006 Gaisler Research AHB/APB Bridge (ver 0x0)
|
79 |
|
|
ahb: 80000000 - 80100000
|
80 |
|
|
02.01:004 Gaisler Research LEON3 Debug Support Unit (ver 0x1)
|
81 |
|
|
ahb: 90000000 - a0000000
|
82 |
|
|
AHB trace 128 lines, stack pointer 0x41fffff0
|
83 |
|
|
CPU#0 win 8, hwbp 2, itrace 128, V8 mul/div, srmmu, lddel 1, GRFPU-lite
|
84 |
|
|
icache 2 * 16 kbyte, 32 byte/line lrr
|
85 |
|
|
dcache 2 * 16 kbyte, 32 byte/line lrr
|
86 |
|
|
04.01:025 Gaisler Research DDR266 Controller (ver 0x0)
|
87 |
|
|
ahb: 40000000 - 50000000
|
88 |
|
|
ahb: fff00100 - fff00200
|
89 |
|
|
16-bit DDR : 1 * 32 Mbyte @ 0x40000000
|
90 |
|
|
100 MHz, col 9, ref 7.8 us
|
91 |
|
|
05.04:00f European Space Agency LEON2 Memory Controller (ver 0x1)
|
92 |
|
|
ahb: 00000000 - 20000000
|
93 |
|
|
ahb: 20000000 - 40000000
|
94 |
|
|
ahb: 60000000 - 70000000
|
95 |
|
|
apb: 80000000 - 80000100
|
96 |
|
|
16-bit prom @ 0x00000000
|
97 |
|
|
01.01:00c Gaisler Research Generic APB UART (ver 0x1)
|
98 |
|
|
irq 2
|
99 |
|
|
apb: 80000100 - 80000200
|
100 |
|
|
baud rate 38400, DSU mode (FIFO debug)
|
101 |
|
|
02.01:00d Gaisler Research Multi-processor Interrupt Ctrl (ver 0x3)
|
102 |
|
|
apb: 80000200 - 80000300
|
103 |
|
|
03.01:011 Gaisler Research Modular Timer Unit (ver 0x0)
|
104 |
|
|
irq 8
|
105 |
|
|
apb: 80000300 - 80000400
|
106 |
|
|
8-bit scaler, 2 * 32-bit timers, divisor 70
|
107 |
|
|
0b.01:01a Gaisler Research General purpose I/O port (ver 0x0)
|
108 |
|
|
apb: 80000b00 - 80000c00
|
109 |
|
|
grlib> fla
|
110 |
|
|
|
111 |
|
|
Intel-style 16-bit flash on D[31:16]
|
112 |
|
|
|
113 |
|
|
Manuf. Intel
|
114 |
|
|
Device MT28F640J3
|
115 |
|
|
|
116 |
|
|
Device ID 1598ffff00024098
|
117 |
|
|
User ID ffffffffffffffff
|
118 |
|
|
|
119 |
|
|
|
120 |
|
|
1 x 8 Mbyte = 8 Mbyte total @ 0x00000000
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
CFI info
|
124 |
|
|
flash family : 1
|
125 |
|
|
flash size : 64 Mbit
|
126 |
|
|
erase regions : 1
|
127 |
|
|
erase blocks : 64
|
128 |
|
|
write buffer : 32 bytes
|
129 |
|
|
region 0 : 64 blocks of 128 Kbytes
|
130 |
|
|
|
131 |
|
|
grlib>
|