Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi Aditya,
--- Quote Start --- Is my problem still unclear? Should I re-frame my question? --- Quote End --- Sorry for the delay in responding, I'm traveling, and only have sporadic internet access. Its not clear to me why you want to use virtual pins. I have never found a need to use them. Its quite possible that the problems you are having are related to trying to use a feature for other than it was intended. Rather than use bidirectional signals in components, you should use three ports; data_out, data_in, and data_oe, and then at the top-level design, use these three signals to implement a tri-state bus. Since these three signals (or ports) are unidirectional, you should be able to make them virtual. Note, these unidirectional ports/signals can be connected to 'fake external devices' internal to the FPGA, where the fake devices can implement what you expect your external device to do. Using these fake devices, you can probably eliminate the need for virtual pins. Cheers, Dave