- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi all
i need a vhdl code to find the max value from integer input where i have a four input ?? thanks a lotLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what code have you done so far?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
first start off with behavioral coding which is mostly like c using > symbol...
once u done with that move on to dataflow- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have a 4 inputs every input has only one value such as
a => 100 b => 200 c => 300 d => 400 i want to find max value between a,b,c,d should be d <= 400 how i can make it in vhdl code?? how about compare between 2 inputs first and then the other 2 inputs and the results will e compare is it a logic idea can e executed- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Draw out the logic circuit, and then write the VHDL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you are on right track...
now design a circuit which compares two inputs and gives out the largest one there were many ways to design this. One way can be design comparator and Mux circuits and choose the selection pin of mux based on logic
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