Hi,I am now useing the triple-speed ethernet Megacore,I have a questions about the control interface,the IP core have 8-bit address,but the mac interface register Map have 12-bit address offset,so how can I access the high 4-bit space? thank you!
链接已复制
4 回复数
--- Quote Start --- the mac interface register Map have 12-bit address offset --- Quote End --- They are actually spanning a 10-bit range. The IP handbook clarifies: --- Quote Start --- 8-bit address signal, which provides access to 256 32-bit registers --- Quote End --- Obviously the address map shows byte addresses, all addresses are multiples of four. So byte address[1..0] are implicitely zero.
Thank you for your reply!
I want to ask you another question,Now I have added a control module to the MAC's avalon slave interface,I found that the out signal readdata[31..0] have nothing out,so I set the control module'sclk(5MHz) five times slower than the MAC clk(25MHz) input,the out signal readdata[31..0] have some thing out,but ,they are not what I want ? and the signal waitrequest changed several times ,then it gone to high,not to jump any more! So ,I want to know how to exactly use the avalon slave interface?