我加了两个wait 语句,也能进行仿真,但是我看不明白结果!我这样加对吗?
entity dd is
Port (d : in std_logic ;
clk : in std_logic ;
q ,q1: out std_logic );
end dd;
architecture Behavioral of dd is
signal r : std_logic ;
begin
process
begin
wait until clk = '1' and clk'event ;
r <= d ;
q1 <= d;
wait until clk = '1' and clk'event ;
q <= r ;
end process;