endmodule
Here is an example of a counter-based frequency divider in Verilog:
A frequency divider can be implemented in Verilog using various techniques, including:
Then downstream modules use:
reg clk; reg rst; wire divided_clk;
Caveat: The divisor value must be ≥ 2 and stable during operation.
parameter DIVISION_RATIO = 5; // division ratio
Here's a simple example of a frequency divider in Verilog:
assign divided_clk = divided_clk_wire;
Word count ~1500 equivalent.
always @(posedge clk or posedge rst) begin if (rst) begin counter <= 0; end else begin counter <= counter + 1; if (counter >= DIVISION_RATIO - 1) begin counter <= 0; divided_clk <= 1'b1; end else begin divided_clk <= 1'b0; end end end
💡 If your FPGA has Phase-Locked Loops (PLLs) or Mixed-Mode Clock Managers (MMCMs), use them for frequency division whenever possible. Hardware-based dividers provide: Low jitter. Precise phase alignment. The ability to multiply as well as divide.
PT. Tridi Membran Utama is a professional engineering company established in 2007 in Joint Operation with Z&T Fabric Architecture Technology Co. Ltd. China, and then re-established in 2013 as an independent company. Since 2016, for the redevelopment purposes, PT. Tridi Membran Utama has regrouped as a subsidiary under Midasindo Group.
Main objective of PT. Tridi Membran Utama is to serve the Civil Engineering Design, Peer Review, Supervision and Quality Assurance services for High-rise Buildings, Long-span Bridges, Membranes, and Infrastructures & Utilities.
PT. Intech Nusa Utama is an instrumentation engineering company established in 2014 as a subsidiary under Midasindo Group. Objective of the company is to provide engineering services in the field of Structural Health and Monitoring System, including the instruments’ and specific software provider and installation services for monitoring of buildings, long span bridges, vibration control, etc.
FX Supartono, civil engineer, born at Pati on the 2nd of March 1949, graduated from the University of Indonesia, Jakarta, and Doctorate degree from the Ecole Centrale de Lyon, France, in the field of Concrete Damage Modeling. He was Associate Professor at the University of Indonesia (1978 – 2009) and the University of Tarumanagara (1979 – now). He has conducted many researches in High Performance Concrete Technology as well as the Sustainable Concrete Technology, on which more than 200 scientific publications have been published in the national and international forums. He has obtained the Medal of Honor “Chevalier dans l’Ordre des Palmes Académiques” from the French Government in 2004. Read more