📄 复件 hsad.txt
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
--高速AD采集
entity hsad is
port(
clk:in std_logic;--系统时钟
DACclk:out std_logic;--DAC时钟
ADCclk:out std_logic;--ADC时钟
adin:in std_logic_vector(7 downto 0);--ADC数据
daout:in std_logic_vector(7 downto 0)--DAC数据
);
end entity hsad;
architecture adc of hsad is
component pll50
port(
inclk0:in std_logic := '0';
c0:out std_logic);
end component;
signal dat:std_logic_vector(7 downto 0);
signal pllclk:std_logic;
begin
--signal ad_dat:std_logic(7 downto 0);
DACclk<=pllclk;
ADCclk<=pllclk;
process(clk)
begin
if clk'event and clk='1' then
dat <= adin;
--daout <= dat;
end if;
end process;
pll50 port map(inclk0 => clk,c0 => pllclk);
end adc ;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -