- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to use the ALTFP_CONVERT mega function. I see a port called "distance" which is 5 bits wide. What is the purpose of this port? I was unable to find a mention of it in the documentation. There is no connection to it in the sample declaration in the _inst.vhd file which the wizard generated. I chose all the default options and didn't change anything. I opted to not have a clock enable or asynchronous reset. Also, does anyone know what the latency of this module is? The vhdl file says 2 cycles but that is for something called a barrel shift.
ThanksLink Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe, you see "distance" as an optional port of one of the subentities used in the altfp function. All default and optional ports are clearly described in the ALTFP_CONVERT chapter of the Floating-Point Megafunctions users guide, also the latency of int2float is clearly stated (6 clock cycles). Did you review the full pdf document?

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page