conv_pkg.vhd

来自「This is the course for VHDL programming」· VHDL 代码 · 共 13 行

VHD
13
字号
library IEEE;use IEEE.STD_LOGIC_1164.ALL;package conv_func is    function to_bitvect(slv:STD_LOGIC_VECTOR)       return bit_vector;end conv_func;package body conv_func isfunction to_bitvect(slv:STD_LOGIC_VECTOR)       return bit_vector is   begin       return to_bitvector(slv);   end to_bitvect;end package body conv_func;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?