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

Windows vs Linux tool set

Altera_Forum
Honored Contributor II
1,946 Views

I haven't found a discussion of this anywhere. Please point me to the thread if one exists. 

 

I want to know whether the Windows based tools and the Linux based tools will produce equivalent (not necessarily identical) 

bitstreams. This goes for HDL and OpenCL inputs. 

 

In the case of HDL, are the input files the same? I am assuming that the GUI for Quartus Prime Pro would actually  

present the same display. (Valid assumption?) But does code underneath produce the same results? 

 

 

Thanks, 

 

Dan Poznanovic 

Cray Inc.
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
1,096 Views

I did find a thread from 2013: http://www.alteraforum.com/forum/showthread.php?t=40939 

 

To emphasize.. I am looking for equivalence not identity. Will the produced bitstream run at equivalent clock rate and produce 

identical results..
0 Kudos
Altera_Forum
Honored Contributor II
1,096 Views

I only use HDL - these are identical toolsets. You can even use both together when doing seed sweeps (set up windows and linux machines as possible build nodes from a single windows/linux master.).

0 Kudos
Altera_Forum
Honored Contributor II
1,096 Views

They do not produce identical results. The difference comes from a minor difference in floating point results that affects the fitter. Across a bunch of seeds, the averages will be identical, and for any given seed it will be random which one is better or another, but if you get a result on Linux and for some reason need to get identical results on Windows, you won't.

0 Kudos
Altera_Forum
Honored Contributor II
1,096 Views

You will not even get the some results on different Windows machines. There is something in the fitter that is machine depended.

0 Kudos
Altera_Forum
Honored Contributor II
1,096 Views

You should get the same results on different windows, at least that used to be the case and I'm fairly certain I've seen it recently. I have heard that changing the number of processors used can change the result, but not positive. (It was kind of a weird thing, whereby if it was set to maximum allowed, you're supposed to get the same result even if the machines have different# of procs, but if you manually set it to different numbers, you get different results.) I never looked into it enough to be sure.  

Most of the time, I don't think it's that important. The difference is just a seed variation. If there is a build that is being released to production, I personally recommend zipping it up, along with the /db and /incremental_db. It may be large, but it completely removes any issue of "is this reproducible". Even if it is reproducible, it's a lot faster to unzip it and open it rather than running a whole compile.
0 Kudos
Altera_Forum
Honored Contributor II
1,096 Views

As for equivalence, it depends on how good you set your timing requirements. As Quartus will produce a different placement and routing, the resulting configurations will have different timing. If you have completely defined your timing requirements and Timequest says in both cases that they are met, then you can say that both bitsreams are equivalent. But if you forgot some requirements, or if some have a wrong value, then you could see a difference in timing between a configuration generated from Windows and one from Linux.

0 Kudos
Altera_Forum
Honored Contributor II
1,096 Views

Daixiwen, 

Good point. A correctly constrained design that meets timing should be equivalent even with different place-and-routes. If two designs meet timing but behave differently, it's more important to debug what is wrong than trying to get the two compiles to have identical results. (I'm not sure if this is the original poster's issue, just bringing it up. There are reasons that being able to get the same results is important, but there have been many times I've seen user's more concerned about this than they probably should be...)
0 Kudos
Reply