AlexandreMoG / RV32-ZYNQ

Project for M2 SECIL
ISC License
0 stars 0 forks source link

Probleme avec l'AXI Interconnect ou les Adresses #6

Closed AlexandreMoG closed 9 months ago

AlexandreMoG commented 9 months ago

image

https://support.xilinx.com/s/question/0D52E00006hplLPSAY/issue-with-writing-anything-on-a-register?language=en_US

DECODE1C is returned by the AXI Interconnect if it doesn't know how to route a requested AXI transaction.

Check the address of the transaction against the assigned system addresses.

AlexandreMoG commented 9 months ago

Problème évident du code LUI (load upper immediate) is used to build 32-bit constants and uses the U-type format. LUI places the U-immediate value in the top 20 bits of the destination register rd, filling in the lowest 12 bits with zeros.

Donc LUI 0x2000 devient LUI 0x20000

AlexandreMoG commented 9 months ago

image Fixed, c'était un problème de code. J'ai rajouté un fichier test qui fait +1 à une adresse mémoire stockée dans le PS