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

Fatal Error: Stack Overflow

Altera_Forum
Honored Contributor II
1,954 Views

Hi, 

I'm wiring basically long delay lines using a lot of NOT gates. 

When I exceed 7600 gates in a row (without any flip flops or clocks), Quartus won't compile my project anymore, but I just get the following error: 

 

*** Fatal Error: Stack Overflow 

Module: quartus_map.exe 

Lock in use: 9 

Stack Trace: 

0x4758e: STA_TDC_CLOCK_INTERFACE::has_a_clock + 0x2e8e (TSM_STA) 

0x47943: STA_TDC_CLOCK_INTERFACE::has_a_clock + 0x3243 (TSM_STA) 

0x47943: STA_TDC_CLOCK_INTERFACE::has_a_clock + 0x3243 (TSM_STA) 

.......(approximately 30 times the same line repeated) 

End-trace 

 

Quartus II 64-Bit Version 11.1 Build 173 11/01/2011 SJ Full Version 

My Verilog program looks basically like this: 

 

assign delay_wire[1] = ~delay_wire[0]; 

assign delay_wire[2] = ~delay_wire[1]; 

.... 

 

Please help me with this problem! 

 

Thank you, 

David
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,006 Views

wow, that is an interesting feat 

 

STA must be static timing analyzer, so you might turn off timing driven synthesis and maybe physical synthesis - anything that has to do with analyzing the timing of your logic 

 

have you tried cascading blocks of say 1000 inverters instead of putting it all in one source file? 

 

unfortunately i don't think this a difficult thing for Altera to support because the delay will not be compensated over PVT, so you may have trouble getting a proper fix. either way you could file an SR at http://mysupport.altera.com
0 Kudos
Altera_Forum
Honored Contributor II
1,006 Views

Thank you. 

I changed the settings and got rid of everything with clocks. Now I can implement more inverters without errors, but still get the same message when I introduce more than 20000 inverters. 

So it has to be some kind of software issue with Quartus, right?
0 Kudos
Altera_Forum
Honored Contributor II
1,006 Views

yes, it must be. but like i said its in a bit of a grey area of support 

 

curious, what is your delay goal?
0 Kudos
Reply