- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I want to generate a clock using Quartus ie I have an input frequency that I choose for output frequencies 8kHz and 256khz.Thanks me for help
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
use an input clk of 1.024MHz. Then use a counter: signal count : unsigned(6 downto 0); process begin wait until clk = '1'; count <= count + 1; end process; then count bit(0) = half clk rate, ignore it count bit(1) = 1.024MHz * 1/4 = 256KHz and count bit(6) = 1.024MHz * 1/128 = 8KHz check jmy math if wrong. Finally make sure you make your clks global(assignment editor) Or use 10.24MHz and scale accordingly
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page