[uvma_axi5 synchronizer] Issue with typecasting 64 addr to int'(addr)
Helllo @AEzzejjari @JeanRochCoulon
In sychornizer of uvma_axi5 there are typecast int'(addr) like following. It do not seems to work in the case where addr is 64 bits long. axi_item.lower_byte_lane = addr - (int'(addr/(MAX_ADDR_WIDTH/8))) * (MAX_ADDR_WIDTH/8);
One example can be found at this line: https://github.com/openhwgroup/core-v-verif/blob/ee54dbf37c594197dfec728ca52d55b139152df1/lib/uvm_agents/uvma_axi5/src/comps/uvma_axi_synchronizer.sv#L202
And I get following values if I print the addr, addr typecast and lowel byte lane (it comes out negative)
UVM_INFO uvma_axi_synchronizer.sv(303) @ 16500000: uvm_test_top.ENV.SLAVE_AGENT.vsequencer.synchronizer [DEBUG] Addr c0dc649c4a695342(x), Addr Typecast 4a695348(x) LBL fffffffa(x) UBL 7(x) BBYTE 8(d)
Can you please take a look at it ? It may never work for any adress width > 32 bits.
Thanks and Regards Tanuj Khandelwal