Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe problem is that lcd_d_cn and lcd_wen signals are driven both by lcd_0 component and glcd_ pio ports. You can't do this.
If your system must be capable to either, you must provide a method to select one group of signals or the other. Tristating signals (this doesn't mean using a tristate bridge!) could be a solution: you drive the signal only in the low state and tristate when not active; you then need a resistor to pull up to the high state. But I think in your case a simple logic port solution is better. Example: nios_sys DUT ( ... .out_port_from_the_GLCD_WEN(lcd_wen1), ... .LCD_RW_from_the_lcd_0(lcd_wen2), ... ) ; assign lcd_wen = lcd_wen1 & lcd_wen2; Same for other shared signals.