Wednesday, October 14, 2009

INTEGER to STD_LOGIC_VECTOR

LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.STD_LOGIC_UNSIGNED.ALL;
USE IEEE.STD_LOGIC_ARITH.ALL;

conv_std_logic_vector (integer, std_logic_vector_width);

Friday, October 9, 2009

What is wrong in this VHDL code?

ENTITY test IS PORT ( );
END test ;