Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start ---
// Resynchronize in_clock to ref_clock domain
always @(posedge ref_clock)
in_clock_rsync <= {in_clock_rsync,in_clock};
endmodule
Jake --- Quote End --- the 3-bit wide in_clock_rsync is never used.. did you mean
always @(posedge in_clock_rsync or negedge reset_n)
if(!reset_n)
begin
count <= 32'd0; // reset counter
f_measurment <= 32'd0; // reset output
end
...