Project

General

Profile

Shared RAM CPU FPGA » History » Version 11

Frédéric Blanc, 2023-12-11 15:27

1 1 Frédéric Blanc
h1. Shared RAM CPU FPGA
2
3 11 Frédéric Blanc
h2. commande pour ecrire dans la DDR *monitor*
4
5
Usage:
6
    read addr: address
7
    write addr: address value
8
    read analog mixed signals: -ams
9
    set slow DAC: -sdac AO0 AO1 AO2 AO3 [V]
10
11
https://redpitaya.readthedocs.io/en/latest/appsFeatures/command_line_tools/com_line_tool.html#accessing-system-registers
12
13
code source
14
https://github.com/RedPitaya/RedPitaya/tree/master/Test/monitor
15
16 9 Frédéric Blanc
h2. Cache
17
18
https://docs.xilinx.com/r/en-US/oslib_rm/Arm-Cortex-A53-64-bit-Processor-Cache-Functions
19 10 Frédéric Blanc
https://github.com/Xilinx/embeddedsw/blob/master/lib/bsp/standalone/src/arm/cortexa9/xil_cache.h
20 9 Frédéric Blanc
21 1 Frédéric Blanc
h2. Create Block
22
23
!clipboard-202311131026-thzpz.png!
24
25 2 Frédéric Blanc
h3. Configure BRAM
26 1 Frédéric Blanc
!clipboard-202311131035-htcja.png!
27
Memory Type: True Dual Port RAM
28
!clipboard-202311131039-uqbax.png!
29
(Disable) Enable Safety Circuit
30 2 Frédéric Blanc
!clipboard-202311131043-wbbsw.png!
31 3 Frédéric Blanc
Run Connection Automation axi_gpio_0/S_AXI
32 2 Frédéric Blanc
!clipboard-202311131043-jszfx.png!
33 1 Frédéric Blanc
after Automation
34 3 Frédéric Blanc
35
!clipboard-202311131045-aisy4.png!
36
Run Connection Automation axi_gpio_0/gpio
37
!clipboard-202311131047-kzdy7.png!
38
After Automation
39
40
!clipboard-202311131052-jlgz6.png!
41
Run Connection Automation axi_gpio_0/gpio
42
!clipboard-202311131051-p1my8.png!
43 4 Frédéric Blanc
After Automation
44
45
!clipboard-202311131055-lg6tx.png!
46 5 Frédéric Blanc
Address Editor
47 6 Frédéric Blanc
48
h2. Ecriture dans la RAM
49
50
Utilisation du programme :
51 7 Frédéric Blanc
document:"memrw.c"
52 8 Frédéric Blanc
53 1 Frédéric Blanc
h2. Source:
54 8 Frédéric Blanc
55 5 Frédéric Blanc
https://support.xilinx.com/s/question/0D52E00006hplPeSAI/axi4-stream-fifo-keeps-data?language=en_US
56 7 Frédéric Blanc
https://forum.digilent.com/topic/3822-what-is-the-fastest-way-to-save-pl-data/