Altera_Forum
Honored Contributor
15 years agoTimequest Report Metastability
Timequest seems to ignore all synchronization chains except those contained in a megafunction DCFIFO. For example with the following clock definitions:
create_clock -period "30.000 ns" -name {PCI_CLOCK} [get_ports {clk}] create_clock -period "10.172 ns" -name {PCLK1_PHY} [get_ports {F1_PCLK}] set_clock_groups -asynchronous -group { PCI_CLOCK } -group {PCLK1_PHY} instances of the code shown below do not show up in the Metastability Report. Does anyone know what might be causing this? Thanks, Edwin. module signal_sync( input wire clk1, input wire clk2, input wire in, output wire out, input wire rst1, input wire rst2 ); reg in_reg; reg [1:0] sync; always @(posedge clk1 or posedge rst1) // Latch input begin if (rst1) in_reg <= 1'b0; else in_reg <= in; end always @(posedge clk2 or posedge rst2) // Sync into the clk2 domain begin if (rst2) sync <= 2'b0; else sync <= {sync[0], in_reg}; end assign out = sync[1]; // Generates the output pulse endmodule