Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

Target Connection to NIOS II

DBarn22
Novice
607 Views

I have an FPGA design on a MAX10 DECA board.

It consists of an outer verilog file with minimal logic mainly pins connecting to a QSYS block, which includes various things including a NIOS II and a custom IP block of my design.

With a couple of the inputs not connected, all works okay.  I can program the NIOS II and debug my code.

When I connect those inputs, all seems fine until I attempt to run my code.  The IDE is unable to read the System ID of the NIOS and so does not download the code.  Without the check it simply fails when I attempt to run the code.  Except for the fact that it finds the NIOS when I "Refresh Connections", I have no evidence that it is connecting to the NIOS at all.

It is my assumption that without the inputs connected, the bulk of my IP is optimised out.  But even with it in it there is not reason, that I can see, why the connection between the IDE and the NIOS should be affected by the presence of the IP.

The IP connects to external pins and an Avalon memory mapped writer with IRQ.

DBarn22_1-1622813624523.png

 

0 Kudos
2 Replies
EricMunYew_C_Intel
Moderator
561 Views

Did you regenerate your new FPGA bitfile in Quartus and reprogram the new image into your FPGA.


0 Kudos
DBarn22
Novice
550 Views

Many, many, many times.

I now have this roughly working, I still have timing warnings that need to be sorted.  Some of the code was introducing gross slack issues, removing that allowed programming (some/most of the time).

0 Kudos
Reply