assign rising_edge = D && ~Q;