Altera_Forum
Honored Contributor
21 years agoBuffering Avalon tristate data bus
In order to implement a special access on tristate avalon bus, it is necessary to decouple parts of the data bus. I've done this by inserting a set of bidirectional tri-buffers. Their enables are driven by 'write' (in transmit direction) and 'read' (in receive direction). But this doesn't work, the firmware don't run.
The whole data bus is 32-bit wide and so is the SRAM, where the firmware runs. This tri-state buffers are only inserted in the lower byte. Perhaps a message in analysis report gives a hint: 'Warning: TRI or OPNDRN buffers permanently enabled' followed by eight data bus nodes (locate in design file leads to FPGA-pins D7..D0). Is there a separate segment with its own tri buffers directly at the pin logic ? It doesn't matter if 'outputenable' is used instead of 'read' and 'outputenable_n' instead of 'write'. An analysis with SignalTap II shows that the lower eight bits are stuck on zero when first opcode will be fetched after reset. Any ideas ? Mike