outtest.vhd
来自「很多仪器都输出同步时钟」· VHDL 代码 · 共 20 行
VHD
20 行
library ieee;
use ieee.std_logic_1164.all;
use ieee. std_logic_unsigned.all;
entity outtest is
port(wrreq,wrclk:out std_logic;
wrfull:in std_logic;
testdata:out std_logic_vector(63 downto 0));
end outtest;
architecture rtl of outtest is
begin
process
begin
if(wrfull='0') then
wrreq<='1';
wrclk<='1';
testdata<="1000100010001000011101110111011101100110011001100101010101010101";
end if;
end process;
end rtl;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?