Using the Datapath for Data Storage | Cypress Semiconductor
Using the Datapath for Data Storage
In an earlier post I provided a component that lets you use the datapath portion of the PSoC 3 / 5 UDB for its FIFO capability. In this post I’m providing components that let you take advantage of the registers within the datapath for storage. Each datapath has two 8-bit wide accumulators. The datapath has just one parallel input and one parallel output path, so only one value can be changed and only one value can be accessed at a time. The implementation that I’m providing configures the two bytes of storage as two registers in series. This provides two bytes of storage with a fixed delay from the data being clocked in to the data being clocked out. In some cases you might also want to store just a single byte and have access to that byte just like a conventional D Flip-Flop. A second component is provided for that case.