decode3.vhd
来自「使用VHDL语言进行的数字锁相环的设计」· VHDL 代码 · 共 44 行
VHD
44 行
-------------------------------------------------------------
--Copyright (C), 2004- , Huangwei. --
--File name:decode3 --
--Author:huangwei Version:1.0 Date:2004/11/24 --
--Description: --
--该程序主要完成的功能是将归零的HDB3码转换成NRZ型的HDB3码 --
-------------------------------------------------------------
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity decode3 is
port(
clk:in std_logic; --输入时钟
datain: in std_logic; --归零的HDB3码数据输入
dataout: out std_logic --NRZ型的HDB3码数据输出
);
end decode3;
architecture decode3_arc of decode3 is
begin
process(clk)
begin
if (clk'event and clk = '0') then
dataout <= datain;
end if;
end process;
end decode3_arc;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?