Forum Discussion
Altera_Forum
Honored Contributor
7 years agoIs the code you've posted the source for this or the schematic? The schematic is missing the inverter in the Q -> D feedback path - something you have included in your code.
In the code you've not explicitly declared that the output signal 'miso' is a register. Try changing that to: output reg miso, If the schematic is what Quartus has interpreted your code to be then I think we have the answer - no inverter. If the schematic is your source, add the inverter. Cheers, Alex