📄 decode3.vhd
字号:
-------------------------------------------------------------
--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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -