I need to write a program to simulate a Rising-Edge-Triggered D Flip-Flop.
I'd appreciate if I could just see some pseudocode written out to help me get started.
I watched this video:
and understand that D acts as the data input, and Q is the most relevant output.
It seems the circuit can only be updated at the "Rising-Edge" of the clock (when the 'clock' (CLK) value is changing to '1')
[/url][/IMG]
I'd appreciate if I could just see some pseudocode written out to help me get started.
I watched this video:
and understand that D acts as the data input, and Q is the most relevant output.
It seems the circuit can only be updated at the "Rising-Edge" of the clock (when the 'clock' (CLK) value is changing to '1')