A system and method for single step x-ray phase contrast imaging. The two clock sources are asynchronous to one another and a clock select signal is used to determine which of the clocks will be switched onto the clock output line. The device may also include a trigger multiplexer circuit having input terminals configured to receive respective triggering signals.