jpxz.vhd
来自「vhdl32路彩灯设计 maxplus平台 比较齐全」· VHDL 代码 · 共 25 行
VHD
25 行
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity jpxz is
port(clk:in std_logic;
pc:in std_logic;
pp:out std_logic);
end;
architecture jiep of jpxz is
signal ppl:std_logic;
signal ph:std_logic;
signal pl:std_logic;
begin
fenp:process(clk)
begin
if clk'event and clk='1'
then ppl<=not ppl;
end if;
end process;
ph<=clk;
pl<=ppl;
pp<=(not pc and pl)or(pc and ph);
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?