LEDN
New Contributor
3 years agoexample transfer 50mhz to hz
an you give couple example and explain how can you do it
I want to convert 50mhz to 9000hz
Given CLOCK_50 = 50mhz ( in pin planner)
I want to convert by using something like this
Example code:
module Convert(CLOCK_50);
input CLOCK_50;
reg [ ] Q;
reg CLOCK_9000;
always @ (posedge CLOCK_50) begin
//code here convert CLOCK_50 --> CLOCK_9000hz
end
always @(posedge CLOCK_9000hz)
/// i want to this always already 9000hz.
end