FPGA--inout的用法 Posted on 2018-01-16 | Post modified: 2019-10-16 | In FPGA Words count in article: 78 | Reading time ≈ 1 inout,顾名思义,也就是这个端口既可以输入数据也可以输出数据,但是他有一个规则:当他做输入端口时,一定要置为高阻态。 1234reg out_data;reg test_cnt;//test端口输入\输入方向控制位,1 输入 0 输出assign test = test_cnt ? 1'bz : out_data; ------ 本文结束 ------