Forum Discussion

HypeInst's avatar
HypeInst
Icon for New Contributor rankNew Contributor
5 years ago
Solved

Quartus Prime (Verilog) Error (10200): Verilog HDL Conditional Statement error

I desire to interface an FPGA to a 32-bit ADC. The serial clock to the ADC should be gated and only clock the ADC after the ADC has finished acquiring each sample. I am gating the serial clock by me...
  • ak6dn's avatar
    5 years ago

    Remove negedge busy from the always_ff sensitivity list, and add logic tests for busy == 1'b0 in the appropriate if statements to only clock the data on posedge clk when busy is low, else hold data otherwise.

    You are telling Quartus that data can change on either posedge clk or negedge busy which can't happen for a single clock flipflop.