Altera_Forum
Honored Contributor
7 years agoWhy address space bytes allocated by QSYS does not match the SPI IP core ?
Hello everyone:
I have a question: Why QSYS automatically allocates address space bytes that do not match the number of internal register address space bytes defined by the SPI IP core? Specific use is as follows: I use SPI(3wire serial)IP in QSYS (Quartus II 11.1sp2) ,Parameter settings see Figure 1, after the completion of the set up, use "Assign Base Addresses " function,but the number of bytes that QSYS automatically allocates is only 8 bytes(see Figure 2), it not match the register map of SPI IP core define.(see Figure 3). In addition,when the data width of the master port (Avalon MM) is 8 bits, no matter how the SPI sets the data bit width, the number of bytes that QSYS automatically allocates is 8 bytes.When the data width of the master port (Avalon MM) is 16 bits, no matter how the SPI sets the data bit width, the number of bytes that QSYS automatically allocates is 16 bytes,and so on. My question is : When the number of bytes that QSYS automatically allocates is 8 bytes,Which byte is the specific address of the "rxdata ",''txdata","status","control" and "slaveselect" register? Looking forward to your answer, thank you very much!