- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings everyone, I'm trying to divide the clock frequency by 2, 4, 8 for a (4x1 Multiplexer) in which the first input is the clock but the other three are the clock divided by the above numbers. Could anybody show me how to do it? I would be very grateful
RegardsLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your code currently does nothing for several reasons:
1. You are only trying to initialise the variables - they are not changing dynamically 2. You cannot divide a single bit by anything. I suggest using a counter somewhere. I also suggest you do not use the clock any any logic equation, or generate a clock from logic. Doing this is very bad practice - you need to generate clock enables instead.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your advice. I will consider it thoroughly.
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