光纤通信8b/10b编码,VHDL代码
entity top_8B_10B_code is
port(
Clk_in : in std_logic ;-------------------------------编码时钟
Rst_in : in std_logic ;-------------------------------复位信号
key : in std_logic ;----------------------------------标志位
Video_8b_in : in std_logic_vector(7 downto 0) ;-------输入八位视频信号
video_10b_out : out std_logic_vector(9 downto 0) -----输出编码后十位信号
);
end;