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

Quartus II 32-bit 12.0 Build 178 - Stuck on Analysis & Synthesis

SparkyNZ
New Contributor II
540 Views

I made a change to my FPGA SystemVerilog project which has caused Analysis & Synthesis to become stuck.

 

Unfortunately I have lost my undo history after restarting Quartus so I cannot revert back to what I had.

 

Can you please help me resolve this issue and advise of any logs you may require. I'll make a copy of this project and keep it for further investigation.

0 Kudos
2 Replies
SyafieqS
Moderator
421 Views

Hi Paul,

 

Is your previous design can be compiled before you make the changes? Yes, there is limitation for language support when using SystemVerilog on Quartus Prime Lite according to the link below and this could be one of the reason that it stuck when you call these functions

 

-> function void DoMainMenu;

-> function byte getStr( byte promptIdx );

 

https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/po/ss-quartus-comparison.pdf

 

Regards

 

0 Kudos
SparkyNZ
New Contributor II
421 Views

Hi. Sorry, I thought I'd cancelled this question. Anyway.. after further investigation I believe the compiler freezing was caused by the for() loop in my design. Because I'm a software developer, I keep making the same mistake of trying to implement solutions as I would in C. I believe the use of non-constant variables in the for() loop is what caused this freeze. I reckon the complexity of the design confuses the compiler and ultimately causes it to lock up.

 

Now that I've moved away from the use of the for() loop and I've implemented a state machine, my code compiles so much faster.

 

To answer your question though, yes, my code did compile before I made changes. Unfortunately I don't know for sure what the code looked like before I made the changes because I restarted Quartus and therefore lost the undo/redo history.

 

So lesson learnt: stay away from for() loops and use state machines instead.. and stop passing 255 byte arrays around as ports - ie - think of all modules as chips in an an 8-bit computer.

Reply