Forum Discussion
Altera_Forum
Honored Contributor
17 years agoSuppress every third clock pulse
I have a need for a 150 MHz clock that has every third clock high period suppressed, looking as 101000101000 or 101100101100. Is it safe to use the basic 150MHz clock to drive a counter, decode an ou...
Altera_Forum
Honored Contributor
17 years agoThanks for the quick response. I will restate my problem; I have coded a simple non-pipelined CPU that uses only two states/instruction: fetch and execute. Now that I have it running at 100 MHz (50 MIPS, 10 nsec/state), I found the fetch cycle can be shortened to 5 nsec. Recoding the CPU for three states in an unpleasant option. I guess the best way is to start with a 200MHz clock, and write a simple 3 state machine that generates an asymetrical CPU clock, and feed this through the altclkctrl block.
Thanks Nutson