Jump to content

Suhyun

Members
  • Posts

    5
  • Joined

  • Last visited

Suhyun's Achievements

Member

Member (1/2)

0

Reputation

  1. Hi Erwin, Thanks for your answer. Your answer is very helpful to me. I modified register description based on your answer. (addressUnitBits 8 -> 16) Q1)Is the description below right? [ip-xact information] - slave interface. bitInLau : 8 - addressblock width : 16 - addressUnitBits : 8 -> 16 - register name A_0: - register offset : 0 - register size : 16 - register name A_1: - register offset : 1 - register size : 16 - register name B_0: - register offset : 2 - register size : 16 - register name B_1: - register offset : 3 - register size : 16 addr_offset@ip-xact address @ slave interface access register 0x0 0x0 A_0[15:0] 0x1 0x2 A_1[15:0] 0x2 0x4 B_0[15:0] 0x3 0x6 B_1[15:0] Q2) If isData is not define, addressblock's width same as data bus width. Is it right?
  2. The above descriptoin have probelm about SCR7.5... (The size of any register shall be no greater than the width of the containing address block.) [ip-xact information] - slave interface. bitInLau : 8 - addressblock width : 16 - addressUnitBits : 8 - register name A_0: - register offset : 0 - register size : 16 - register name A_1: - register offset : 1 - register size : 16 - register name B_0: - register offset : 2 - register size : 16 - register name B_1: - register offset : 3 - register size : 16 addr_offset@ip-xact address @ slave interface access register 0x0 0x0 A_0 0x1 0x2 A_1 0x2 0x4 B_0 0x3 0x6 B_1 Anyway, ignore the above question. Q1) Is value of addressblock's width same as data bus width of the slave interface? ex) If addressblock width =16, data bus(apb_wdata, apb_rdata) width is 16. is it right?
  3. Hi, I have some question about access the register below case... [ip-xact information] - slave interface. bitInLau : 8 - addressblock width : 16 - addressUnitBits : 8 - register name A: - register offset : 0 - register size : 32 - register name B: - register offset : 1 - register size : 32 Q1) Does the above description have any problem in the ip-xact standard? Q2) In case of the above description, maximum single transfer size is 16. Because address block width is 16. Is it right? Q3) I know as below. Is it right? addr_offset@ip-xact address @ slave interface access register 0x0 0x0 A[15:0] 0x1 0x2 B[15:0] Q4) How can access the register A[31:16] ? Thanks & regards, Suhyun
  4. Hi, I wanted to know calculating the bus address. [information of register in IP-XACT] - base address : 0x40000 - address offset : 1 - address unit bits : 32 - salve.bitsInLau : 8 memory_map_bit_address = bit_number_in_address_block + addressBlock.baseAddress x memoryMap.addressUnitBits = (1 + 0x40000) * 32 = (1 + 262,144)*32 = 8,388,640 slave_bus_address = memory_map_bit_address / slave.bitsInLau = 8,388,640 / 8 = 1,048,580 = 0x100004 Q1) In this case, to access the register, I use the address "0x10004" is it right? If value of salve.bitsInLau is "32",slave_bus_address = memory_map_bit_address / slave.bitsInLau = 8,388,640 / 32 = 262,145 = 0x4001 Q2) In this case, to access the register, I use the address "0x4001" is it right? Thanks & regards, Suhyun
×
×
  • Create New...