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

Export a listing of all used LEs

Altera_Forum
Honored Contributor II
1,844 Views

Hello everyone, 

 

I have a customer that would like to get a listing of the location of each LE, DSP memory block in an FPGA design. I'm not exactly sure what they want to do with that, but if I understood correctly what they asked, I should generate a list with each node name and the corresponding location on the FPGA floor plan. 

I had a look in the Quartus documentation to see if such a thing existed but didn't find anything quite like it. It looks like the netlist formats are mostly used after synthesis and before fitting, so won't include the location information. The Chip Planner doesn't seem to have any export function, and the technology map viewer can only export JPEGs, and I don't think they will include location information. 

Do any of you have an idea? Would the only solution to write a tcl script to do that? Is there a way in tcl to loop in all available nodes and print out the corresponding location, or the other way round, to loop in all FPGA locations and print out the corresponding node name? I just hope it won't take all night to loop in the more-than-hundred-thousand locations... 

 

Thanks a lot!
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
974 Views

Don't the post fitting equations contain the wanted information? => Start Equation Writer (Post Fitting)

0 Kudos
Altera_Forum
Honored Contributor II
974 Views

It does. Thank you very much!

0 Kudos
Altera_Forum
Honored Contributor II
974 Views

You can use the following back-annotation script. Just change the location_wildcards to {DSP*} and it will only write DSP locations. By default the variable debug is set to 1, so it will write the assignments to a file called ba_assignments.tcl rather than to the .qsf. (It's pretty self-documented and should be easy to use) 

http://www.alterawiki.com/wiki/back_annotation_script
0 Kudos
Altera_Forum
Honored Contributor II
974 Views

thanks, I'll have a look

0 Kudos
Reply