I am writing code using VHDL to convert a 24 MHz and 12 MHz clock to an 8 MHz clock. Can someone help me with this coding? Thanks in advance.
Is it for FPGA? Or something different? Are you really sharing a watch or just a signal? To divide by three counters, try this link:
http://www.asic-world.com/examples/vhdl/divide_by_3.html
And for 2/3:
http://www.edaboard.com/thread42620.html
As Martin said, use the Xilinx-recommended sync control device to split your watch to a lower speed.
, .
:
DCM PLL ( FPGA) - . , , .
EDIT: , Spartan 3ADSP - :
reset DCM 0 , . , , , , .