Forum Discussion
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...
Altera_Forum
Honored Contributor
21 years agoMike,
Just so you know, if you use the "avalon to tri-state bridge" the physical tri-state handling on the bidir bus is done for you automatically by SOPC Builder-generated logic, turnaround times and all... if you're doing some logic that doesn't use the bridge, then yes, you need to infer the tri-buffs. I would typically do this in (verilog as an example) like this: data_to_outside_world = (avalon_oe & avalon_write) ? avalon_writedata : 32'hzzzzzzzz; avalon_readdata = data; ...you would then need to ensure sufficient idle time for the bus to turn around. Avalon setup/hold time is useful for this.