div256.vhd

来自「dds信号发生器」· VHDL 代码 · 共 20 行

VHD
20
字号
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity div256 is
port(q3:in std_logic_vector(15 downto 0);
     q3out:out std_logic_vector(7 downto 0));
end;
architecture one of div256 is
begin
q3out(7)<=q3(15);
q3out(6)<=q3(14);
q3out(5)<=q3(13);
q3out(4)<=q3(12);
q3out(3)<=q3(11);
q3out(2)<=q3(10);
q3out(1)<=q3(9);
q3out(0)<=q3(8);
end;

⌨️ 快捷键说明

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