File tree Expand file tree Collapse file tree 3 files changed +17
-17
lines changed
niosv_c/niosv_c_helloworld_ocm_mem_test/sources
niosv_g_helloworld/sources
niosv_g_ocm_mem_test/sources Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ c. Creating the bsp, build software sources and download elf
4949
5050 > clean the app build project before regenerating elf
5151
52- > niosv-bsp -c --quartus-project=hw/<> .qpf --qsys=hw/<> .qsys --type=hal --script=sw/bsp-update-small-driver.tcl sw/bsp/settings.bsp
52+ > niosv-bsp -c --quartus-project=hw/top .qpf --qsys=hw/qsys_top .qsys --type=hal --script=sw/bsp-update-small-driver.tcl sw/bsp/settings.bsp
5353
5454 > niosv-app --bsp-dir=sw/bsp --app-dir=sw/app --srcs=sw/app/main.c
5555
@@ -68,7 +68,7 @@ command: jtagconfig --setparam 1 JtagClock 6M
6868d. Hardware Validation
6969 - Program the generated sof file on the board
7070
71- > quartus_pgm --cable=1 -m jtag -o 'p;ready_to_test/<top_level_entity_name> .sof'
71+ > quartus_pgm --cable=1 -m jtag -o 'p;ready_to_test/top .sof'
7272
7373 - Verify the output on the terminal by using the following command in the terminal:
7474
@@ -79,11 +79,11 @@ d. Hardware Validation
7979Simulation is enabled for this design where the memory is initialized with the application hex. Use the following commands to run the simulation:
8080
8181 > Generate Testbench from Platform Designer. Generate -> Generate Testbench System
82-
83- > cd hw/* _ tb/* _ tb/sim/mentor/
84-
82+
8583 > cp ./sw/app/build/onchip_mem.hex ./* _ tb/* _ tb/sim/mentor
8684
85+ > cd hw/* _ tb/* _ tb/sim/mentor/
86+
8787 > vsim &
8888
8989 > source msim_setup.tcl
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ c. Creating the bsp, build software sources and download elf
4545 - To create software app, run the following commands in the terminal:
4646 Note: clean the app build project before regenerating elf
4747
48- > niosv-bsp -c --quartus-project=hw/<> .qpf --qsys=hw/<> .qsys --type=hal sw/bsp/settings.bsp
48+ > niosv-bsp -c --quartus-project=hw/top .qpf --qsys=hw/qsys_top .qsys --type=hal sw/bsp/settings.bsp
4949
5050 > niosv-app --bsp-dir=sw/bsp --app-dir=sw/app --srcs=sw/app/main.c
5151
@@ -64,11 +64,11 @@ command: jtagconfig --setparam 1 JtagClock 6M
6464d. Hardware Validation
6565 - Program the generated sof and then download the elf file on the board
6666
67- > quartus_pgm --cable=1 -m jtag -o 'p;ready_to_test/<top_level_entity_name> .sof'
67+ > quartus_pgm --cable=1 -m jtag -o 'p;ready_to_test/top .sof'
6868
6969 - Download the elf file on the board
7070
71- > niosv-download -g ready_to_test/<> .elf -c 1
71+ > niosv-download -g ready_to_test/app .elf -c 1
7272
7373 - Verify the output on the terminal by using the following command in the terminal:
7474
@@ -79,10 +79,10 @@ d. Hardware Validation
7979Simulation is enabled for this design where the memory is initialized with the application hex. Use the following commands to run the simulation:
8080
8181 > Generate Testbench from Platform Designer. Generate -> Generate Testbench System
82-
83- > cd hw/* _ tb/* _ tb/sim/mentor/
84-
82+
8583 > cp ./sw/app/build/onchip_mem.hex ./* _ tb/* _ tb/sim/mentor
84+
85+ > cd hw/* _ tb/* _ tb/sim/mentor/
8686
8787 > vsim &
8888
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ c. Creating the bsp, build software sources and download elf
4848 - To create software app, run the following commands in the terminal:
4949 Note: clean the app build project before regenerating elf
5050
51- > niosv-bsp -c --quartus-project=hw/<> .qpf --qsys=hw/<> .qsys --type=hal sw/bsp/settings.bsp
51+ > niosv-bsp -c --quartus-project=hw/top .qpf --qsys=hw/qsys_top .qsys --type=hal sw/bsp/settings.bsp
5252
5353 > niosv-app --bsp-dir=sw/bsp --app-dir=sw/app --srcs=sw/app/main.c
5454
@@ -66,11 +66,11 @@ command: jtagconfig --setparam 1 JtagClock 6M
6666d. Hardware Validation
6767 - Program the generated sof and then download the elf file on the board
6868
69- > quartus_pgm --cable=1 -m jtag -o 'p;ready_to_test/<top_level_entity_name> .sof'
69+ > quartus_pgm --cable=1 -m jtag -o 'p;ready_to_test/top .sof'
7070
7171 - Download the elf file on the board
7272
73- > niosv-download -g ready_to_test/<> .elf -c 1
73+ > niosv-download -g ready_to_test/app .elf -c 1
7474
7575 - Verify the output on the terminal by using the following command in the terminal:
7676
@@ -81,11 +81,11 @@ d. Hardware Validation
8181Simulation is enabled for this design where the memory is initialized with the application hex. Use the following commands to run the simulation:
8282
8383 > Generate Testbench from Platform Designer. Generate -> Generate Testbench System
84-
85- > cd hw/* _ tb/* _ tb/sim/mentor/
86-
84+
8785 > cp ./sw/app/build/onchip_mem.hex ./* _ tb/* _ tb/sim/mentor
8886
87+ > cd hw/* _ tb/* _ tb/sim/mentor/
88+
8989 > vsim &
9090
9191 > source msim_setup.tcl
You can’t perform that action at this time.
0 commit comments