📄 romt.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
package ROMS is
--declare a 171*21 ROM called ROM
constant ROM_WIDTH:integer:=8;
subtype ROM_WORD is std_logic_vector(ROM_WIDTH-1 downto 0);
subtype ROM_RENGE is integer range 0 to 7;
type ROM_TABLE is array(0 to 7) of ROM_WORD;
constant ROM:ROM_TABLE:=ROM_TABLE'(
("00100101"),("01010000"), --0/0 0/1
("00010010"),("00011100"), --0/2 0/3
("00100101"),("00101110"), --0/4 0/5
("00111110"),("01000111")); --0/6 0/7
end ROMS;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -