• 1

    ..

  • 2

    ...

  • 3

    ...

Showing posts with label vhdl datatype conversion. Show all posts
Showing posts with label vhdl datatype conversion. Show all posts

Friday, 4 October 2013

VHDL Real/interger to STD Logic Vector and STD Logic vector to Integer datatype conversion code example

     Here is a simple function for converting integer number to STD logic vector and vice versa. The width can be easily adjusted upto 32 bits (max size of integer number).

     This is very useful in handling file i/o for processing images into VHDL modules.

VHDL ElecDude.com


STD LOGIC VECTOR to 8 bit INTEGER:

Search Here...