Forum Discussion
FPGA simulation and real HW behavior discrepancy
Dear Altera
Quartus 18.1 sim lib could try 20.1 or newer but not sure this is due to Quartus version as it is sim lib.
I am encounter an unexplainable experiment result that contradicts simulation and real HW.
Background when interfacing a DQS DQ readout a IDDR with CCD sync flops are used.
For these primitives, it should expected 1 + 2 and clock +ve edge should expect data push out. [A]
This can simply considered as early push out but it should not act as such.
With the use of "__ALTERA_STD__METASTABLE_SIM" we expected some metastable on the output. [B]
Now things are more reasonable where 2 +ve clocks are expected.
If we consider a full data w/o xx, things become unrecognizable. [C]
The most interesting part when apply on real HW, it do produce correct data and the latencies do obeyed.
altddio_in#( .intended_device_family ( "Cyclone IV E" ), .invert_input_clocks ( "ON" ), .lpm_hint ( "UNUSED" ), .lpm_type ( "altddio_in" ), .power_up_high ( "OFF" ), .width ( 8 ) )ddi_d_l( .aclr (reset), .datain (foo[7:0]), .inclock (bar[0]), .dataout_h (foobar_h[0+:8]), .dataout_l (foobar_l[0+:8]), .aset (1'b0), .inclocken (1'b1), .sclr (1'b0), .sset (1'b0) ); + altera_std_synchronizer_bundle#( .width (foobar_bw *2), .depth (2) )async_flops( .clk (clock), .reset_n (~reset), .din (foobar), .dout (foobar_ccd) );
7 Replies
- ZiYingE_Altera
Contributor
Hi @BrainSune_Forum,
Good day!
Would it possible for you to share a minimal reproducible example and the steps to reproduce the issue?
If you prefer not to share them publicly, feel free to send it via private message.
Thank you.
Regards,
ZiYingE_Altera
- BrianSune_Froum
Contributor
- ZiYingE_Altera
Contributor
- ai_responder
Community Manager
Thank you for your inquiry. To ensure an accurate response, your request has been routed to an Altera application engineer for further review and assistance.
Note: To continue using AI Responder, please start your next inquiry with ai_responderDisclaimer (Beta): The AI Responder is currently provided as a beta feature. AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.
Thank you very much.