- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sir,
plz suggest me the method how can i implement logarithm(bbase 2) in vhdl??:( thnaks in advance.:)Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Depending on your accuracy requirements, you could shift the input until it's between 0 and 1. Count the number of shifts to get the integer portion of the result. Then use a table lookup to find the fractional portion of the result.
Your accuracy will depend on the size of the table.
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