Altera_Forum
Honored Contributor
17 years agoAltera Avalon Bus Slave interface
Hello!
Simple question and straightforward: I'm building a custom IP core and want to connect it to avalon bus. This (slave) component accepts both read and write data (a master can both read it or write to it) BUT never at the same time. You can either read data, or write data. Should i use 2 data ports (write_data, read_data) as implied in the avalon bus slave interface, or is there any way to use ONE dataport but then it should be INOUT in direction.. What do you think is the most proper way? i) read_data OUT port write_data IN port ii) data_port INOUT thanks in advance!