1. A method for a read-before-write functionality for a dual port memory within an integrated circuit (IC) comprising: initiating a read wordline operation, from a first port of the dual port memory, wherein the read wordline operation has a first edge and a second edge; initiating a write wordline operation contemporaneously with the read wordline operation from a second port of a dual port memory; detecting the second edge for the read wordline; generating a control signal in response to detecting the second edge, wherein the control signal triggers a write wordline signal; and proceeding with the write wordline operation to the memory within the IC in response to the write wordline signal.