Part 1
요약·해설
Generic LEON3 configuration은 여러 GRLIB FPGA template과 TSIM3 evaluation simulator를 지원합니다.
LEON3 SPARC V8
GRLIB FPGA templates
GRMON3 · TSIM3
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
637B25DCD17C983FD56A038D2BE63D730473141B8AD9CE5F47E623C91340F6AC
.. _generic_leon3:
Generic LEON3
#############
Overview
********
This board configuration is designed to work with LEON3 processor template
designs available in the GRLIB GPL distribution.
It can also be used with the evaluation version of the TSIM3 LEON3 simulator.
Hardware
********
The board configuration is compatible with most GRLIB LEON3 FPGA template
designs such as the Digilent Arty A7, Terasic DE0-Nano and Microsemi
M2GL-EVAL-KIT.
Programming and Debugging
*************************
Building
========
Applications for the ``generic_leon3`` board configuration can be built as usual
(see :ref:`build_an_application`).
In order to build the application for ``generic_leon3``, set the ``BOARD`` variable
to ``generic_leon3``.
Running on hardware
===================
Connect with GRMON, then load and run the application. The example below uses
the Terasic DE2-115 Cyclone IV FPGA board.
.. code-block:: console
$ grmon -altjtag -u
GRMON debug monitor v3.2.8 eval version
Copyright (C) 2020 Cobham Gaisler - All rights reserved.
For latest updates, go to http://www.gaisler.com/
Comments or bug-reports to [email protected]
JTAG chain (1): EP3C120/EP4CE115
GRLIB build version: 4250
Detected frequency: 50.0 MHz
Component Vendor
LEON3 SPARC V8 Processor Cobham Gaisler
AHB Debug UART Cobham Gaisler
JTAG Debug Link Cobham Gaisler
GR Ethernet MAC Cobham Gaisler
GRDMAC DMA Controller Cobham Gaisler
LEON2 Memory Controller European Space Agency
AHB/APB Bridge Cobham Gaisler
LEON3 Debug Support Unit Cobham Gaisler
Generic UART Cobham Gaisler
Multi-processor Interrupt Ctrl. Cobham Gaisler
Modular Timer Unit Cobham Gaisler
General Purpose I/O port Cobham Gaisler
SPI Controller Cobham Gaisler
AHB Status Register Cobham Gaisler
Use command 'info sys' to print a detailed report of attached cores
grmon3> load zephyr/zephyr.elf
40000000 text 16.2kB / 16.2kB [===============>] 100%
400040A8 initlevel 40B [===============>] 100%
400040D0 rodata 484B [===============>] 100%
400042B4 datas 20B [===============>] 100%
400042C8 sw_isr_table 256B [===============>] 100%
400043C8 devices 36B [===============>] 100%
Total size: 16.98kB (1.91Mbit/s)
Entry point 0x40000000
Image zephyr/zephyr.elf loaded
grmon3> run
*** Booting Zephyr OS build zephyr-v2.4.0-30-ga124c31ec4cf ***
Hello World! generic_leon3
Running in simulation
=====================
The same application binary can be simulated with the TSIM3 LEON3 simulator.
.. code-block:: console
$ tsim-leon3
TSIM3 LEON3 SPARC simulator, version 3.0.2 (evaluation version)
Copyright (C) 2020, Cobham Gaisler - all rights reserved.
This software may only be used with a valid license.
For latest updates, go to https://www.gaisler.com/
Comments or bug-reports to [email protected]
Number of CPUs: 2
system frequency: 50.000 MHz
icache: 1 * 4 KiB, 16 bytes/line (4 KiB total)
dcache: 1 * 4 KiB, 16 bytes/line (4 KiB total)
Allocated 4096 KiB SRAM memory, in 1 bank at 0x40000000
Allocated 32 MiB SDRAM memory, in 1 bank at 0x60000000
Allocated 2048 KiB ROM memory at 0x00000000
tsim> load zephyr/zephyr.elf
section: text, addr: 0x40000000, size 16552 bytes
section: initlevel, addr: 0x400040a8, size 40 bytes
section: rodata, addr: 0x400040d0, size 484 bytes
section: datas, addr: 0x400042b4, size 20 bytes
section: sw_isr_table, addr: 0x400042c8, size 256 bytes
section: devices, addr: 0x400043c8, size 36 bytes
Read 436 symbols
tsim> run
Initializing and starting from 0x40000000
*** Booting Zephyr OS build zephyr-v2.4.0-30-ga124c31ec4cf ***
Hello World! generic_leon3
References
**********
* `GRLIB IP Library and LEON3, GPL version <https://www.gaisler.com/index.php/downloads/leongrlib>`_
* `TSIM3 LEON3 simulator <https://www.gaisler.com/index.php/products/simulators/tsim3/tsim3-leon3>`_
* `GRMON3 debug monitor <https://www.gaisler.com/index.php/products/debug-tools/grmon3>`_
Part 3
한국어 전문 번역
개요
이 board configuration은 GRLIB GPL distribution에서 제공하는 LEON3 processor template design과 함께 동작하도록 설계됐습니다. TSIM3 LEON3 simulator evaluation version에서도 사용할 수 있습니다.
Hardware
이 board configuration은 Digilent Arty A7, Terasic DE0-Nano, Microsemi M2GL-EVAL-KIT 등 대부분의 GRLIB LEON3 FPGA template design과 호환됩니다.
Programming과 Debugging
Building
generic_leon3 board configuration용 application은 일반적인 방법으로 build할 수 있습니다. Build할 때 BOARD variable을 generic_leon3로 설정합니다.
Hardware에서 실행
GRMON으로 연결한 뒤 application을 load하고 실행합니다. 다음 예는 Terasic DE2-115 Cyclone IV FPGA board를 사용합니다.
$ grmon -altjtag -u
GRMON debug monitor v3.2.8 eval version
Copyright (C) 2020 Cobham Gaisler - All rights reserved.
For latest updates, go to http://www.gaisler.com/
Comments or bug-reports to [email protected]
JTAG chain (1): EP3C120/EP4CE115
GRLIB build version: 4250
Detected frequency: 50.0 MHz
Component Vendor
LEON3 SPARC V8 Processor Cobham Gaisler
AHB Debug UART Cobham Gaisler
JTAG Debug Link Cobham Gaisler
GR Ethernet MAC Cobham Gaisler
GRDMAC DMA Controller Cobham Gaisler
LEON2 Memory Controller European Space Agency
AHB/APB Bridge Cobham Gaisler
LEON3 Debug Support Unit Cobham Gaisler
Generic UART Cobham Gaisler
Multi-processor Interrupt Ctrl. Cobham Gaisler
Modular Timer Unit Cobham Gaisler
General Purpose I/O port Cobham Gaisler
SPI Controller Cobham Gaisler
AHB Status Register Cobham Gaisler
Use command 'info sys' to print a detailed report of attached cores
grmon3> load zephyr/zephyr.elf
40000000 text 16.2kB / 16.2kB [===============>] 100%
400040A8 initlevel 40B [===============>] 100%
400040D0 rodata 484B [===============>] 100%
400042B4 datas 20B [===============>] 100%
400042C8 sw_isr_table 256B [===============>] 100%
400043C8 devices 36B [===============>] 100%
Total size: 16.98kB (1.91Mbit/s)
Entry point 0x40000000
Image zephyr/zephyr.elf loaded
grmon3> run
*** Booting Zephyr OS build zephyr-v2.4.0-30-ga124c31ec4cf ***
Hello World! generic_leon3
Simulation에서 실행
동일한 application binary를 TSIM3 LEON3 simulator에서 simulation할 수 있습니다.
$ tsim-leon3
TSIM3 LEON3 SPARC simulator, version 3.0.2 (evaluation version)
Copyright (C) 2020, Cobham Gaisler - all rights reserved.
This software may only be used with a valid license.
For latest updates, go to https://www.gaisler.com/
Comments or bug-reports to [email protected]
Number of CPUs: 2
system frequency: 50.000 MHz
icache: 1 * 4 KiB, 16 bytes/line (4 KiB total)
dcache: 1 * 4 KiB, 16 bytes/line (4 KiB total)
Allocated 4096 KiB SRAM memory, in 1 bank at 0x40000000
Allocated 32 MiB SDRAM memory, in 1 bank at 0x60000000
Allocated 2048 KiB ROM memory at 0x00000000
tsim> load zephyr/zephyr.elf
section: text, addr: 0x40000000, size 16552 bytes
section: initlevel, addr: 0x400040a8, size 40 bytes
section: rodata, addr: 0x400040d0, size 484 bytes
section: datas, addr: 0x400042b4, size 20 bytes
section: sw_isr_table, addr: 0x400042c8, size 256 bytes
section: devices, addr: 0x400043c8, size 36 bytes
Read 436 symbols
tsim> run
Initializing and starting from 0x40000000
*** Booting Zephyr OS build zephyr-v2.4.0-30-ga124c31ec4cf ***
Hello World! generic_leon3
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.