📄 scan_gen.vhd
字号:
package test_con is
constant N1:integer:=3686;
end test_con;
use work.test_con.all;
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity scan_gen is
port(clkin :in std_logic;
clkout :out std_logic);
end scan_gen;
architecture rtl of scan_gen is
component fredivn is
GENERIC (N:positive);
port (clk:in std_logic;
outclk:out std_logic);
end component;
begin
u1:fredivn
generic map(N=>N1)
port map(clkin,clkout);
end rtl;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -