ymilerContributor1 year agoclock gated conversion Hello, I'm running Quartus 22.3 building for an S10 FPGA. Since my FPGA is prototype, the project includes several clock gated to solve it I added the following command to the QSF : set_glob...Show More
ymilerContributor1 year agoHi Original code is ASIC RTL who use clock gate to decrease power supply. Here the clock gated code: // Gated Clock Latchmodule gcw__ckltchand (TE,E,CP,Q);input TE;input E;input CP;output Q;wire EN_TE;reg CPEN;or or1 (EN_TE,E,TE);always @(EN_TE or CP)if(~CP) CPEN <= EN_TE;and an1 (Q,CPEN,CP);endmodule //gcw__ckltchand
RichardT_alteraSuper Contributor to ymiler1 year agoBy adding the top.v file with attached code. The tool able to recognize the gated clock and converted to use clock enables.Info(19019): Convert gated clock gcw__ckltchand_1|Qmodule top (input i_rst_n,input i_en,input i_clk,input i_data,output reg o_data);wire gclk;gcw__ckltchand gcw__ckltchand_1 (.CP(i_clk),.E(i_en),.TE(),.Q(gclk));always @(posedge gclk or negedge i_rst_n) beginif (!i_rst_n) begino_data <= 1'b0;end else begino_data <= i_data;endendendmodulePerhaps you could check your design hierarchy to see what might be going wrong.You could also share a simple testcase .qar file (Project > Archive Project) that you expect the tool to convert the gated clock but it does not.Regards,Richard Tantop.v0 KB
ymilerContributor to RichardT_altera1 year agoHI I tried to create a simple test case which includes :PLL - > clock gate -> counterI have the flag : set_global_assignment -name SYNTH_GATED_CLOCK_CONVERSION ON But the Quartus didn't convert the clock gate , Do you know why ? I attached QAR archive file of my minimal test quartus_fpga_top_22_3_0_104.qar120 KB
ymilerContributor to RichardT_altera1 year agoHI I tried to create a simple test case which includes :PLL - > clock gate -> counterI have the flag : set_global_assignment -name SYNTH_GATED_CLOCK_CONVERSION ON But the Quartus didn't convert the clock gate , Do you know why ? I attached QAR archive file of my minimal test quartus_fpga_top_22_3_0_104.qar120 KB
Recent DiscussionsStratix 10 GX SI Board - issue with the Board Test System (BTS)DE10-Lite unable to flash?Available replacement for the discontinued P/N: MK-A5E065BB32AES1 ?Differential Signal Transmitter on Agilex 5 FPGA Modular Dev KitDK-SI-AGI040FES KIT: Agilex™ 7 F-Series and I-Series ES Device Errata