- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hello,
I have written a program in VHDL which is compatible with the Avalon MM slave interface and i have generated it in SOPC-builder. I would like to write a small test program in C to see if it works as it should but I don't know how to communicate with it (how to write and read from it). Should I use IOWR and IORD in some kind of way or do someone have a better suggestion? I am kind of new with this so I would really appreciate an answer.Lien copié
2 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Yes, just use the IORD and IOWR macros in a software uploaded to a Nios CPU to access your component. When generating the BSP you should get a system.h file that contains the base address of your component.
Another alternative if you want to test it from your PC without using a Nios CPU is the system console tool.- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thank you for your answer!

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable