Forum Discussion
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.