I need to design an edge detection circuit to detect when a square wave signal goes from Low to High (rising edge) and when it goes from High to Low (falling edge). The circuit should preferably use simple logic control such as 74LS series logic. I know people are gonna suggest using an arduino with interrupts but in my application this needs to be done in hardware rather than software.
Edit: The output is expected to be a short digital pulse, used as a trigger.