Forum Discussion
Hi,
1. The logic utilization is displaying N/A and the total registers is 0.
This is because DFF_inst9, DFF_inst4, and DFF inst7 are removed during Analysis & Synthesis stage. The reasons for the removal of these registers is as shown in ss_Register Statistics.jpg.
2.To solve this, you need to change the circuitry connection. Make sure the clock port of the DFF is fed to a clock.
For instance,
DFF_inst9, stuck at gnd due to stuck port clock
From the RTL viewer, the clock port of DFF_inst9 is constantly fed to 1’h1 not to a clock. It should be connected to a clock. Since the clock signal is constant, the output of DFF_inst9 will also be a constant. Thus, when the synthesis tool performs certain optimizations, it will reduce the logic and cause the DFF to optimize away.
DFF_inst7, stuck at gnd due to stuck port data_in
Since the data input port (D) is fed to the output of DFF_inst9 which is a constant value, so the DFF_inst7 is also optimized away.
DFF_inst4, stuck at gnd due to stuck port data_in
The data input port of DFF_inst4 is fed to ground. Thus, the synthesis tool will optimize the DFF away.
Besides, the removal of registers (DFF_inst9, DFF_inst7, and DFF_inst4) have led to the removal of other registers as well as shown in ss_Register Statistics.jpg. You may find the reasons in the report in Quartus. Go to the Compilation Report > Analysis & Synthesis > Optimization Results > Register Statistics.
To sum up, when you have a constant signal that gets stuck at ground, the synthesis tool will perform logic optimization and optimize away your design. This affects other registers connected to it and causes the register to be removed as well. As a result, you can get 0% logic utilization.
You may check out the links below:
Netlist Viewer User Interface
Related forum on analysis and optimization
https://community.intel.com/t5/Programmable-Devices/analysis-and-optimization-problem/td-p/183323
Please let me know if the explanations above answer your questions.
Thanks.
Best Regards,
Ven Ting
- VenT_Altera3 years ago
Frequent Contributor
Attached with the screenshot of compilation report and RTL viewer.