Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16943 Discussions

On-chip Debugging Design Examples .qar can't be loaded

astrocyte
Novice
1,968 Views

I've downloaded the Systemconsole_design_example.qar from the URL provided under the documentation resources: https://www.intel.com/content/www/us/en/programmable/support/support-resources/design-examples/design-software/on-chip-debugging.html to help me get started with  System Console. Unfortunately, when I try to open the file in Quartus, I have an error that says "Project archive restoration failed. Your project may be corrupted.". Is there a different repository where I can find these examples? I'd appreciate if you could point me to any relevant resources for getting started with System Console (ideally also integration with MATLAB for Nios2 based designs).

0 Kudos
1 Solution
SyafieqS
Employee
1,960 Views

Hi Horia,


Can you navigate to below link and download Introduction to FPGA Simulation and Debug materials there?

https://software.intel.com/content/www/us/en/develop/topics/fpga-academic/materials-workshops.html


Design file you referred probably an old design I can see 10.1 release.


View solution in original post

0 Kudos
4 Replies
SyafieqS
Employee
1,961 Views

Hi Horia,


Can you navigate to below link and download Introduction to FPGA Simulation and Debug materials there?

https://software.intel.com/content/www/us/en/develop/topics/fpga-academic/materials-workshops.html


Design file you referred probably an old design I can see 10.1 release.


0 Kudos
astrocyte
Novice
1,950 Views

Hi SyafieqS_Intel,

Excellent - thank you. I managed to configure my project for use with the System Console in the meantime, by adding a JTAG to Avalon Master Bridge. I'm writing ADC readings to On-Chip RAM using IOWR_32DIRECT and reading the values from the System Console using a TCL script. Having a quick look through the resources, I didn't find anything relating to reading the data directly from into Matlab.

My aim is to plot the ADC readings by accessing the On-Chip RAM from Matlab through the System Console/TCL. A search leads me to:
https://www.intel.com/content/www/us/en/programmable/products/design-software/fpga-design/quartus-prime/features/qts-systems-console.html

 

but these resources also seem to be outdated, because Flash is no longer supported. Is there a newer version of these? 

EDIT: For context, I tried printf and bitbang to nios2-terminal, but it reduces the ADC sample rate (which is already limited by SPI transactions) by a considerable amount.

0 Kudos
astrocyte
Novice
1,920 Views

Great resources, I managed to optimize the design, achieving 159 SPS with 8 channels on and 1.2k SPS with 1 channel on - which should be sufficient. I'm still printing to the Nios2 terminal - the limiting factors were due to timing and there are more optimizations possible. 
On a side note, I scripted a TCL adapter for reading the memory directly, but printing to JTAG UART still performs better.

0 Kudos
Reply