Most atomic physics experiments are controlled by a digital pattern generator used to synchronize all equipment by providing triggers and clocks. Recently, the availability of well-documented open-source development tools has lifted the barriers to using programmable systems on chip (PSoCs), making them a convenient and versatile tool for synthesizing digital patterns. Here, we take advantage of these advancements in the design of a versatile clock and pattern generator using a PSoC. We present our design with the intent of highlighting the new possibilities that PSoCs have to offer in terms of flexibility. We provide a robust hardware carrier and basic firmware implementation that can be expanded and modified for other uses. Published under license by AIP Publishing.