VHDL 整数转化为向量 integer to std_logic_vector
首先包含std_logic_arith
然后:(举例分析)
signal input_1 : integer;
signal output_1 : std_logic_vector(3 downto 0);
output_1 <= conv_std_logic_vector(input_1, output_1'length);
最后
以上就是感动玉米最近收集整理的关于VHDL 整数转化为向量 integer to std_logic_vector的全部内容,更多相关VHDL内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复