Description
Due to a problem in the Quartus® Prime Standard Edition Software version 17.1 and earlier, you may see an incorrect output port instead of inout port for bidirectional port in simulation netlist (.vho/.vo) files. This occurs when you recompile of your design on a linux machine.
Resolution
To workaround the problem, clean the project before running compilation.