Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHow to use a custom component
Hi, My teacher asks me to write directly from NIOS in the memory of chip. The addresses of the chip are multiplexed and the ports are bidir. I have written a state machine in vhdl and creat...
Altera_Forum
Honored Contributor
17 years agoI've just found a solution and it works well !
I have done a new component without including my hdl file and without any conduits. Then I have wired it in QII with my HDL and it works very well. I can read and write with the line you've mentionned. Just be careful when you send the adress, I don't why, NIOS delete the first two LSB's on the adress. That's why, if you want to write something to 0x78 you should define your adress like that : 0x78<<2 Thank you again sharkybaba ! I hope I would be able to help you a day. Cheers ;)