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

📄 pros_com.vhd

📁 大家一定要看 哦 程序在与多看多练 我找了好久才找到呢
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity pros_com is
port(event_a:in bit);
end pros_com;
architecture catch_ball of pros_com is
signal to_a,to_b: bit :='0';
begin
  a:
  process(event_a,to_a)
   begin
    if(event_a'event and event_a='1')then
     to_b<='1' after 20 ns;
           to_b<='0' after 30 ns;
     end if;
end process a;
b:
 process(to_b)
  begin
   if(to_b'event and to_b='1')then
    to_a<='1' after 10 ns;
          to_a<='0' after 20 ns;
   end if;
end process b;
end catch_ball;

⌨️ 快捷键说明

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