heart circuit design