📄 rom.vhd.bak
字号:
LIBRARY ieee;
USE ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity sinx is
port(
q : OUT STD_LOGIC_VECTOR (7 DOWNTO 0);
clock : IN STD_LOGIC );
end sinx;
architecture rtl of sinx is
component count
port(address : OUT STD_LOGIC_VECTOR (5 DOWNTO 0);
clock : IN STD_LOGIC );
end component;
component sin
port(address : IN STD_LOGIC_VECTOR (5 DOWNTO 0);
clock : IN STD_LOGIC ;
q : OUT STD_LOGIC_VECTOR (7 DOWNTO 0));
end component;
signal address : STD_LOGIC_VECTOR (5 DOWNTO 0);
begin
u0: count port map( clock=>clock, address=>address);
u1: sin port map( clock=>clock,address=>address, q=>q);
end rtl;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -