lnis-uofu / OpenFPGA

An Open-source FPGA IP Generator
https://openfpga.readthedocs.io/en/master/
MIT License
831 stars 162 forks source link

Promblems about FPGA source occupancy #388

Closed Mistal1999 closed 3 years ago

Mistal1999 commented 3 years ago

Is there any files allow me to check my FPGA source occupancy quickly?

tangxifan commented 3 years ago

@Mistal1999 Can you elaborate your question? I did not get the pain point here. @ganeshgore Do you have any insights?

ganeshgore commented 3 years ago

@Mistal1999 I did not get what you mean by "FPGA source occupancy"

Mistal1999 commented 3 years ago

How many LEs and memory are used in FPGA is very important. I can quickly check related information in software like vivado, is there such a file in OpenFPGA?

ganeshgore commented 3 years ago

@Mistal1999 You will see a CSV file generated in your task directory **_task/latest/task_result.csv which will contain all the essential information. If you want even more detail you can go through the vpr.log and openfpgashell.log files in the run directory.

tangxifan commented 3 years ago

@Mistal1999

@ganeshgore is correct. If you need to add more information to be extracted from log files to the CSV files. You can update the configuration file :

https://github.com/lnis-uofu/OpenFPGA/blob/d85e55aef2556459af314012c58425296a889b1f/openfpga_flow/misc/fpgaflow_default_tool_path.conf#L19-L35

Mistal1999 commented 3 years ago

Thank you very much!! Now I can check this imformation more quickly

ganeshgore commented 3 years ago

Glad to know, if you don't have anymore questions please close this issue.