用VHDL的if语句设计一个4位D触发器
用VHDL的if语句设计一个4位D触发器
日期:2014-04-29 17:40:19 人气:1
ENTITY dff_4 IS
PORT(clk: IN bit;
d: IN bit_vector(3 DOWNTO 0);
q,q_n: OUT bit_vector(3 DOWNTO 0));
END dff_4;
ARCHITECTURE bhv OF dff_4 IS
SIGNAL q_s: bit_vector(3 DOWNTO 0);
BEGIN
PROCESS(clk)
BEG