⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 psk.vhd

📁 fpga的应用
💻 VHD
字号:
library ieee;
USE ieee.std_logic_1164.all;
USE ieee.std_logic_unsigned.all;
entity PSK is
   port(clk,enable:in std_logic;
		x: in std_logic_vector(11 downto 0);
        q:out std_logic_vector(11 downto 0));
end PSK;
architecture behav of PSK IS
begin
process(clk,enable)
  begin
    if clk='1' then
	     if enable='1' then
            q<=not x;
         
	     end if;
    else q<=x;
	end if;
end process;    
end behav;

⌨️ 快捷键说明

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