How to reduce ROM/RAM requirements for a NIOSV Compact CPU Platform?
Hello ALTERA NIOSV Experts, I am trying to create a system in Quartus Platform Designer which has the following components: A 1G Tri mode ethernet IP (with 32 bit AVALON-ST TX/RX interfaces using minimum sized FIFOs) A RS 232 UART with no FIFO A couple of small FIFOs using AVALON-ST interfaces for data in and out of Platform via Conduits A NIOSV Compact CPU A JTAG UART ROM for NIOSV RAM for NIOSV My questions are about how to reduce the ROM (for the NIOSV compacts program) and RAM to the minimum amount. I am trying to shoehorn this all into a MAX10 FPGA ( Altera Max 10 part number 10M08SAU169I7G). When i build the BSP for this platform, with a "Hello World" program, it seems to need around 128 Bytes of ROM and several KBytes of RAM. Why is the program so large ? I expect it has to do with the BSP adding in drivers for all the Platform IP and it is getting bloated. What tactics are available for me to use in the Ashling RISC FREE IDE which i am using to create my BSP and/or Platform Designer to reduce the program size ? The FPGA i am trying to use only has around 48 K Bytes of RAM available in total ...so maybe this is not possible and i need a bigger FPGA of course ! Thanks for your help, Dr Barry10Views0likes0CommentsCreated Free NIOSV IP evaluation license but did not get any license file by email?
Hi ALTERA NIOSV experts, I have created licenses (the free evaluation type) through the Intel Altera Licensing portal for NIOSV-c, NIOSV-g, and NIOSV-m IP types. I get 3 messages saying a license has been created and i can see all the correct fields are filled in on the license form each time. It then says you will get a license by email. But after 2 hours i still have not received anything from Intel-Altera. Is there a problem with this licensing platform ?Is there a time delay between creating a license and actually getting it by email ? Usually this occurs very quickly, but not in this case ! Any suggestions or help much appreciated ! Thanks, Barry45Views0likes7CommentsNios-V alt_epcq_controller_write() Problem
Hi, I have a flash on my custom board which is MT25QU01G. The flash is connected to Nios-V/g with Epcq Controller. I am trying to erase, write, read sectors from flash. Before write and erase I unlock all sectors and after write and erase I lock all sectors. The problem is that my alt_epcq_controller_write() returns success(0) however it doesn't write to flash memory. I read same data from same place and it is not changed. I also look that memory from memory browser and still nothing changed. I call erase method before each write method since it is nor flash but nothing happens. Could you please help me about the problem. Thanks, BalerionSolved131Views0likes13CommentsERROR building simple NIOSV Compact project
Hello and greetings All Quartus + NIOSV experts, or indeed anybody who can help me fix this error ! I am trying to build a System Verilog design, based on Platform Designer, which uses a NIOSV compact IP core. I am using Quartus Prime Version 25,1 Standard Edition on a Windows 10 Machine. When trying to compile my test design i get these 2 errors : Error (10170): Verilog HDL syntax error at niosv_cpp_fsm.sv(1418) near text: "'"; expecting ":", or "?", or binary operator. Check for and fix any syntax errors that appear immediately before or at the specified keyword. The Intel FPGA Knowledge Database contains many articles with specific details on how to resolve this error. Visit the Knowledge Database at https://www.altera.com/support/support-resources/knowledge-base/search.html and search for this specific error message number. Error (10112): Ignored design unit "niosv_cpp_fsm" at niosv_cpp_fsm.sv(18) due to previous errors Error 10112 is caused by previous error 10170. Does anybody have an idea why i get these errors ? I can't see the offending SV code because its encrypted (of course!). Is there a fix as well for this problem ? Thanks for any help, Dr Barry HSolved76Views0likes10CommentsQuartus 25.x alternative to nios2-terminal
I'm using an Agilex 5 device and need to enable USB0(2.0) which requires HPS_IOA_1 through 12. I have been using HPS_IOA_3 and HPS_IOA_4 for the a Linux terminal over UART0 but I have to give this up in order to gain USB0(2.0) capability. ChatGPT said no problem - just use nios2-terminal which uses the JTAG connection. However, nios2-terminal doesn't seem to be included in any Quartus 25.x package anymore. What is a good alternative way to establish a Linux terminal session if UART0 is not available? Did "nios2-terminal" become something else in newer Quartus releases?Solved55Views0likes3CommentsNios V/c issue: no valid Nios V instance
Hi, I have synthesised a Nios V/c (3.0.0)-based SoC on a DE0-Nano board, which was successfully configured using the quartus_pgm command via a Nios V-shell terminal in Quartus Prime Standard 24.1. However, when the niosv-download command is executed after generating BSP and ELF files, the following message appears on the display: ... There are no devices with valid Nios V instance(s) ERROR: Failed to generate OpenOCD config file. ... However, if the same Quartus project is compiled with the Nios V/c (3.0.0) core replaced by a multicycle Nios V/m (26.0.0) core, this error does not appear, and the program runs successfully. Could you please provide any hints on how to fix this error for the Nios V/c IP ? Regards, Domingo.Solved44Views0likes2CommentsCan the .jic file, which is an FPGA configuration file, include the on-chip memory file of nios ii ?
Hello If I specify the contents (.hex) of the on-chip memory of my Nios II embedded processor design, compile it through Quartus Prime Pro, and use convert programming to create a .jic file, will the on-chip memory contents also be loaded into the .jic file? So, can I just load the jic file into external flash memory via a download cable? Thank you Michael845Views0likes3CommentsI compiled using the nios2 command shell. How do I debug it using the nios2 EDS tool?
Hello, AN 900: Intel® Arria 10 DisplayPort 8K RX-only Design Link: https://www.intel.com/content/www/us/en/docs/programmable/683799/current/compiling-the-design.html I compiled using the NIOS2 command shell. How do I debug it using the nios2 EDS tool? Can I import the makefile into the nios2 EDS tool, or is there another way? Thank you1.8KViews0likes8CommentsNios-V .elf download failure
Hi all, I am trying to download two simple Nios-V apps using RiscFree IDE to my target boards. One of my board has Cyclone-V and the other has Arria-10. My main.cpp files are same but their BSPs are different since boards are different. My app is so simple such that it has a printf printing hello world from jtag uart. However, I am not able to download it to the target. It gives me error as written below, when I try to download it to the board that has Arria-10 -------------------------------- Initializing connection... Cannot set the JTAG Frequency, continuing with auto adjust mode. Error occured during enumeration of RISC-V harts(no hart found). -------------------------------- When I try to download the other app to Cyclone-V it also gives me error the --------------------------------- Initializing Connection ... Unable to setup adaptive clock. Internal error. Couldn't halt the target timeout occured. Error occured attempting to halt the target during discovery. --------------------------------- I don't know what the problem are. Could you please help me about that. Sincerely, BalerionSolved11KViews0likes28CommentsIssue after upgrading a Nios V/g core from version 1.0.0 to 4.0.0
Hi, I have developed a Quartus project based on the Nios V/g processor for the Terasic DE0-Nano board using Quartus Prime Standard Edition 23.1. The board is connected to a PC via the USB interface. In this case, Nios V/g 1.0.0 was integrated into the SoC. The QSYS and QPF projects were compiled successfully with warnings, and the SOF file was generated. A BSP project was generated using the SOPCINFO file, and a RISC-V assembler file was compiled, linked, and an ELF file was downloaded after the SOF file configured the board. The available tools in the Nios V Command Shell 23.1 were used. A simple message was successfully displayed on a Nios V Command Shell 23.1 terminal. The same project was duplicated and opened using Quartus Prime Standard Edition 24.1. In this case, Nios V/g 4.0.0 was integrated into the SoC after automatic IP upgrading. The QSYS and QPF projects were also compiled successfully with warnings, and the SOF file was generated. BSP and ELF files were generated using the tools available in the Nios V Command Shell 24.1 in the same way as applied for the 23.1 project. However, after configuring the FPGA and downloading the ELF file, the message was not displayed on a Nios V Command Shell 24.1 terminal; the program hangs. Could you please provide any hints on how to solve this problem when using Quartus Prime Standard version 24.1 and Nios V/g 4.0.0? Regards. Domingo. P.D. There is no issue when upgrading Nios V/m cores from Quartus 23.1 to 24.1.Solved1.9KViews0likes8Comments