The present invention provides a semiconductor device in which a signal transfer rate between a first logic element and a second logic element is not reduced. The semiconductor device has a first switch between the first logic element and the second logic element and repeats a configuration for the first switch until a first configuration is performed when a low level of voltage is inputted to the first switch from the first logic element.