Read in EN

use standard package

VHDL 작성시 standard가 아닌 package를 사용하는 경우가 있는데, scode는 ieee standard package만 사용한다.

즉 standard package가 아닌 std_logic_arith, std_logic_signed,std_logic_unsigned은 사용하지 않고, standard package인 std_logic_1164, numeric_std를 사용한다.

use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

이와 같이 standard package만 사용하는 경우 변환된 vhdl 파일이 standard를 따르는 모든 synthesis tool이나 simulation tool에서도 수행되는 장점이 있다.

← All posts