Can you change port direction during runtime?


Can you change port direction during runtime?

Yes - you can declare the port without specifying the port direction and use as both input and output in your design. You can use peek() function to peek the value on the port.