D Flip-Flop Process
Write a VHDL process for a single-bit D flip-flop with synchronous active-high reset.
Constraints
- Reset forces q='0'.
- Rising edge triggered.
- q follows d.
1entity dff is2 Port ( clk: in std_logic;3 rst: in std_logic;4 d: in std_logic;5 q: out std_logic);6end dff;