我是靠谱客的博主 感动玉米,这篇文章主要介绍VHDL 整数转化为向量 integer to std_logic_vector,现在分享给大家,希望可以做个参考。

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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(237)

评论列表共有 0 条评论

立即
投稿
返回
顶部