标签: VHDL CPLD FPGA SEED VHDL 50% 占空比奇数分频器之方法一, 程序引发的器件资源消耗的问题与 FPGA 资源利用问题library ieee;use ieee
std_logic_1164
all;use ieee
std_logic_arith
all;use ieee
std_logic_unsigned
all;entity fredivn1 is GENERIC(N:integer:=7); --可以是 3,5,7,9,11,
port(clk:in std_logic; outclk:out std_logic);end fredivn1;architecture rtl of fredivn1 is signal count1,count2:integer range 0 to N; signal q,outclk1,outclk2:std_logic;begin q