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

📄 hdb3.vhd

📁 hDB3的编解码模块 是在maxplusII 下验证过的 并且下到片子中都正确
💻 VHD
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;

entity hdb3 is
port(reset,clk,datain:in std_logic;
     dout: out std_logic_vector(1 downto 0));
end;

architecture rtl of hdb3 is
component hdb3a is
port(reset,clk,datain: in std_logic;
     dout: out std_logic_vector(1 downto 0));
end component;

component hdb is
port(reset,clk:in std_logic;
     datain: in std_logic_vector(1 downto 0);
     dout: out std_logic_vector(1 downto 0));
end component;

component hdb3c is
port(reset,clk: in std_logic;
     datain: in std_logic_vector(1 downto 0);
     dout: out std_logic_vector(1 downto 0));
end component;
signal d1,d2:std_logic_vector(1 downto 0);
begin
A: hdb3a port map(reset,clk,datain,d1);
B: hdb port map(reset,clk,d1,d2);
C: hdb3c port map(reset,clk,d2,dout);
end;



⌨️ 快捷键说明

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