uselessmail
Junior Member level 3
Hi there...
How do I divide the clock frequency by 2 for a simple VHDL code?
For eg. if the code is something like this:
Now if I want the same operation to take place, not at every rising edge of (clock) but at that of (clock/2), how do I modify my code?
Regards,
jack
How do I divide the clock frequency by 2 for a simple VHDL code?
For eg. if the code is something like this:
Code:
process(clock)
begin
if rising_edge(clock) then
b_out <= a_in;
end if;
end process;
Now if I want the same operation to take place, not at every rising edge of (clock) but at that of (clock/2), how do I modify my code?
Regards,
jack