Entity: CLKDIV

Diagram

clkin [3:0] divcfg reset clkout

Ports

Port name Direction Type Description
clkin input Input clock
divcfg input [3:0] Divide factor (1-128)
reset input Counter init
clkout output Divided clock phase aligned with clkin

Signals

Name Type Description
clkout_reg reg
counter reg [7:0]
divcfg_dec reg [7:0]
divcfg_reg reg [3:0]
div_bp wire
posedge_match wire
negedge_match wire

Processes

Type: always

Description
################### # Decode divcfg ###################

Type: always

Type: always