Skip to content

Commit aff32dd

Browse files
committed
Updating design files
1 parent c3ff25b commit aff32dd

File tree

87 files changed

+9248
-211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+9248
-211
lines changed

niosv_c/niosv_c_helloworld_ocm_mem_test/docs/Nios_Vc_Processor_Helloworld_OCM_Memory_Test_Design_on_Agilex_5_FPGA.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
### Release Contents
1414

1515
#### Binaries
16-
- Prebuilt binaries are located [here](https://github.com/altera-fpga/agilex5e-nios-ed/blob/rel/25.1.0/niosv_c/niosv_c_helloworld_ocm_mem_test/ready_to_test).
16+
- Prebuilt binaries are located [here](https://github.com/altera-fpga/agilex5e-nios-ed/blob/rel/25.1.1/niosv_c/niosv_c_helloworld_ocm_mem_test/ready_to_test).
1717
- The sof and elf files required to run the design can be found in "ready_to_test" folder
1818
- Program the sof and download the elf file on board
1919

20-
### Nios® V/c Helloworld OCM Memory test Design Archiecture
20+
### Nios® V/c Helloworld OCM Memory test Design Architecture
2121
This example design includes a Nios® V/c processor connected to the On Chip RAM-II, JTAG UART IP, Parallel-IO and System ID peripheral core. The objective of the design is to accomplish data transfer between the processor and soft IP peripherals.
2222

23-
![Block Diagram](https://github.com/altera-fpga/agilex5e-nios-ed/blob/rel/25.1.0/niosv_c/niosv_c_helloworld_ocm_mem_test/img/hello_world_ocm.png?raw=true)
23+
![Block Diagram](https://github.com/altera-fpga/agilex5e-nios-ed/blob/rel/25.1.1/niosv_c/niosv_c_helloworld_ocm_mem_test/img/hello_world_ocm.png)
2424

2525
#### Nios® V/c Processor
2626
- Microcontroller- Balanced (For interrupt driven baremetal and RTOS code)
@@ -54,10 +54,9 @@ Refer to [Agilex™ 5 FPGA Premium Development Kit User Guide](https://www.intel
5454
|0x0000_0000|1MB|On-Chip RAM|To store application|
5555
|0x0010_0008|8|JTAG UART|Communication between a host PC and the Nios V processor system|
5656
|0x0010_0000|8|System ID|Hardware configuration system ID (0x000000a5)|
57-
||||
5857

5958

60-
## User Flow
59+
### User Flow
6160

6261
There are two ways to test the design based on use case.
6362

@@ -74,17 +73,16 @@ Refer to [Agilex™ 5 FPGA Premium Development Kit User Guide](https://www.intel
7473
||Program Software Image ELF|Yes|Yes|
7574
|Testing|Open JTAG UART Terminal|Yes|Yes|
7675
||Run simulation|Yes|Yes|
77-
||||
7876

7977
### Environment Setup
8078

8179
#### Tools Download and Installation
8280
1. Quartus Prime Pro
8381

84-
- Download the Quartus® Prime Pro Edition software version 25.1 from the FPGA Software Download Center webpage of the Intel website. Follow the on-screen instructions to complete the installation process. Choose an installation directory that is relative to the Quartus® Prime Pro Edition software installation directory.
82+
- Download the Quartus® Prime Pro Edition software version 25.1.1 from the FPGA Software Download Center webpage of the Intel website. Follow the on-screen instructions to complete the installation process. Choose an installation directory that is relative to the Quartus® Prime Pro Edition software installation directory.
8583
- Set up the Quartus tools in the PATH, so they are accessible without full path.
8684
```console
87-
export QUARTUS_ROOTDIR=~/intelFPGA_pro/25.1/quartus/
85+
export QUARTUS_ROOTDIR=~/intelFPGA_pro/25.1.1/quartus/
8886
export PATH=$QUARTUS_ROOTDIR/bin:$QUARTUS_ROOTDIR/linux64:$QUARTUS_ROOTDIR/../qsys/bin:$PATH
8987
```
9088

@@ -111,10 +109,6 @@ cmake -S ./sw/app -B sw/app/build -G "Unix Makefiles"
111109
make -C sw/app/build
112110
elf2hex sw/app/build/app.elf -b 0x0 -w 32 -e 0xfffff hw/onchip_mem.hex -r4
113111
```
114-
Note:The software can be compiled using the Ashling Visual Studio Code Extension for Altera FPGAs
115-
116-
For information on the build process, please refer to the following document- [Ashling VSCode Extension](https://www.intel.com/content/www/us/en/docs/programmable/730783/current/ashling-visual-studio-code-extension.html)
117-
118112

119113
### Programing
120114
Note: Reduce the JTAG clock frequency to 6MHz using the following command, before programming the sof file
32 Bytes
Binary file not shown.
11 KB
Binary file not shown.

niosv_c/niosv_c_helloworld_ocm_mem_test/sources/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,38 @@
1-
# Agilex 5 FPGA - Nios V/c Helloworld OCM Memory test Design
1+
# Nios® V/c Hello World and OCM test Design
22

3-
Nios® V/c Processor-based Helloworld and OCM memory test example design
3+
Nios® V/c Processor-based Helloworld example design on the Agilex 5 FPGA E-Series 065B Premium Development Kit DK-A5E065BB32AES1
44

55
## Description
66

7-
This design prints a simple Hello World message and performs a simple OCM memory test for the Agilex™ 5 FPGA E-Series 065B Premium Development Kit.
7+
Nios® V/c Processor-based Helloworld example design on the Agilex 5 FPGA E-Series 065B Premium Development Kit DK-A5E065BB32AES1
8+
9+
![image](https://github.com/altera-fpga/niosv-ed/blob/rel/25.1.1/niosv_c/niosv_c_helloworld_ocm_mem_test/img/hello_world_ocm.png)
810

9-
![image](https://github.com/altera-fpga/agilex5e-nios-ed/blob/rel/25.1.0/niosv_c/niosv_c_helloworld_ocm_mem_test/img/hello_world_ocm.png)
1011

1112
## Project Details
1213

13-
- **Title**: Agilex 5 FPGA- Nios V/c Helloworld OCM Memory test Design
14+
- **Title**: Nios® V/c Helloworld OCM Memory Test Design
1415
- **Source**: Github
1516
- **Design Support**: SCTH
1617
- **Family**: Agilex 5
17-
- **Quartus Version**: 25.1.0
18+
- **Quartus Version**: 25.1.1
1819
- **Development Kit**: Agilex 5 FPGA E-Series 065B Premium Development Kit DK-A5E065BB32AES1
1920
- **Device Part**: A5ED065BB32AE6SR0
2021
- **Design Package**: agilex5_niosv_c_helloworld_ocm_mem_test.zip
21-
- **Category**: Helloworld
22-
- **URL**: https://github.com/altera-fpga/agilex5e-nios-ed/blob/rel/25.1.0/niosv_c/niosv_c_helloworld_ocm_mem_test
23-
- **downloadURL**:https://github.com/altera-fpga/agilex5e-nios-ed/releases/download/25.1.0-v1.0/agilex5_niosv_c_helloworld_ocm_mem_test.zip
22+
- **Category**: Memory
23+
- **URL**: https://github.com/altera-fpga/agilex5e-nios-ed/tree/rel/25.1.1/niosv_c/niosv_c_helloworld_ocm_mem_test
24+
- **download URL**: https://github.com/altera-fpga/agilex5e-nios-ed/releases/download/25.1.1-v1.0/agilex5_niosv_c_helloworld_ocm_mem_test.zip
2425

2526
## Documentation
2627

2728
- **Title**: Design Document
28-
- **URL**: https://github.com/altera-fpga/agilex5e-nios-ed/blob/rel/25.1.0/niosv_c/niosv_c_helloworld_ocm_mem_test/docs/Nios_Vc_Processor_Helloworld_OCM_Memory_Test_Design_on_Agilex_5_FPGA.md
29+
- **URL**:https://github.com/altera-fpga/agilex5e-nios-ed/tree/rel/25.1.1/niosv_m/niosv_m_dma_ocm/docs/Nios_Vc_Processor_Helloworld_OCM_Memory_Test_Design_on_Agilex_5_FPGA.md
2930

30-
# Getting Started
31+
## Build and Run Flow
3132

3233
Vendor: Altera
3334

35+
Devkit Product Page: https://www.intel.com/content/www/us/en/products/details/fpga/development-kits/agilex/a5e065b-premium.html
3436

3537
1. Directory structure
3638
2. Using existing files (sof and elf) to run on hardware
@@ -56,6 +58,7 @@ The directory structure is explained below:
5658

5759
- scripts - This folder consists of scripts to build the design
5860

61+
5962
### 2. Using existing files to run the design on hardware
6063

6164
- The sof and elf files required to run the design can be found in "ready_to_test" folder
@@ -88,11 +91,8 @@ niosv-app --bsp-dir=sw/bsp --app-dir=sw/app --srcs=sw/app/main.c
8891
niosv-shell
8992
cmake -S ./sw/app -B sw/app/build -G "Unix Makefiles"
9093
make -C sw/app/build
91-
elf2hex sw/app/build/app.elf -b 0x0 -w 32 -e 0xfffff sw/app/build/onchip_mem.hex -r4
94+
elf2hex sw/app/build/app.elf -b 0x0 -w 32 -e 0x9ffff sw/app/build/onchip_mem.hex -r4
9295
```
93-
Note:The software can be compiled using the Ashling Visual Studio Code Extension for Altera FPGAs
94-
95-
For information on the build process, please refer to the following document- [Ashling VSCode Extension](https://www.intel.com/content/www/us/en/docs/programmable/730783/current/ashling-visual-studio-code-extension.html)
9696

9797
d. Hardware Validation
9898
- Program the generated sof file on the board
@@ -120,4 +120,4 @@ vsim &
120120
source msim_setup.tcl
121121
ld_debug
122122
run -all
123-
```
123+
```
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ip>
3+
<presets version="12.1">
4+
<preset
5+
name="intel_niosv_c"
6+
kind="intel_niosv_c"
7+
version="All"
8+
description=""
9+
board="Agilex 7 FPGA F-Series Development Kit P-Tile and E-Tile DK-DEV-AGF014EA"
10+
preset_category="">
11+
<parameter name="resetOffset" value="0" />
12+
<parameter name="enableECCLite" value="true" />
13+
<parameter name="numGpr" value="32" />
14+
<parameter name="useResetReq" value="false" />
15+
<parameter name="resetSlave" value="intel_onchip_memory_0.axi_s1" />
16+
</preset>
17+
</presets>
18+
</ip>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ip>
3+
<presets version="12.1">
4+
<preset
5+
name="onchip_memory_0"
6+
kind="intel_onchip_memory"
7+
version="All"
8+
description=""
9+
board="Agilex 7 FPGA F-Series Development Kit P-Tile and E-Tile DK-DEV-AGF014EA"
10+
preset_category="">
11+
<parameter name="readDuringWriteMode_Mixed" value="DONT_CARE" />
12+
<parameter name="lvl2OutputRegA" value="false" />
13+
<parameter name="lvl2OutputRegB" value="false" />
14+
<parameter name="poison_enable" value="false" />
15+
<parameter name="writable" value="true" />
16+
<parameter name="enPRInitMode" value="false" />
17+
<parameter name="interfaceType" value="1" />
18+
<parameter name="dualPort" value="0" />
19+
<parameter name="clockEnable" value="false" />
20+
<parameter name="ecc_check" value="false" />
21+
<parameter name="ecc_encoder_bypass" value="false" />
22+
<parameter name="dataWidth" value="32" />
23+
<parameter name="allowInSystemMemoryContentEditor" value="false" />
24+
<parameter name="initializationFileName" value="onchip_mem.hex" />
25+
<parameter name="singleClockOperation" value="false" />
26+
<parameter name="ecc_pipeline_reg" value="false" />
27+
<parameter name="idWidth" value="2" />
28+
<parameter name="blockType" value="AUTO" />
29+
<parameter name="resetrequest_enabled" value="true" />
30+
<parameter name="useNonDefaultInitFile" value="true" />
31+
<parameter name="copyInitFile" value="false" />
32+
<parameter name="lvl1OutputRegA" value="false" />
33+
<parameter name="AXI_interface" value="1" />
34+
<parameter name="tightly_coupled_ecc" value="false" />
35+
<parameter name="lvl1OutputRegB" value="false" />
36+
<parameter name="gui_debugaccess" value="false" />
37+
<parameter name="memorySize" value="1048576" />
38+
<parameter name="instanceID" value="NONE" />
39+
<parameter name="enableDiffWidth" value="false" />
40+
<parameter name="dataWidth2" value="32" />
41+
<parameter name="initMemContent" value="true" />
42+
</preset>
43+
</presets>
44+
</ip>

0 commit comments

Comments
 (0)