当我想阅读时,我将module_pins设置为高阻抗,然后我读取端口。
但如果映射是
fpga_pins 以下为原文
just to make things clearer..
when i want to read, i set the module_pins as high impedance and then i read the port. but if the mapping is
fpga_pins <= module_pins; the read won't work.
if i write it vice versa though it will work.
so i think that the problem is possibly with the port mapping given that the port mapping doesn't seem to take into consideration that the fpga and module pins are inout.
thanks again