Some time back I built a CPUVILLE Z80 single board computer. I used a USB serial cable to connect it to one of my Raspberry Pi computers. The issue that I faced is that my assembler skills are pretty sus at this point, and I would need to go to the computer to hit the reset switch. I made a simple circuit to allow using a GPIO pin on the Pi to reset the computer.

Now I just set an alias to toggle the GPIO pin
alias z80reset='gpio -1 mode 13 out; gpio -1 write 13 0; sleep 0.1; gpio -1 write 13 1'