Forum Discussion
4 Replies
- ZhiqiangLiang
Occasional Contributor
Thank you!
At present, I have to use NIOS II. I will follow your advice in future project to use NIOS V.
- ZhiqiangLiang
Occasional Contributor
Thank you!
I am using NIOS II as I have Quartus 18.1 installed.Where can I set NIOS core endian type?
Where can I set BSP endian type?
- Andor_Altera
New Contributor
Okay. It's still a deprecated core and I wouldn't recommend using it, unless....you have no other option. Period.
With respect to Endianness, the BSP generation will follow what you've set in the system. If you configured your Nios II to be Big Endian, then the BSP will follow suite and be Big Endian...automatically.
- There should be an option in the Nios II component when instantiating it to choose Endianness.
- I'm not setup to test it myself (and have no time to do so), but I do see it in the "altera_nios2_hw.tcl" files for both the "classic" and "gen2" versions of this softcore IP though. These reside in the ..../ip/altera/nios2_ip/altera_nios2 and .../ip/altera/nios2_ip/altera_nios2_gen2 subdirectories.
There is also an option during BSP generation to override the "auto endian match" behavior with an option called
This is in the NIos II Software Developer's Handbook.
As it has been a LONG time since I've worked with this stuff and I have no incentive to do so any longer, I just cannot recall how it all works and have ZERO desire to revisit it!
I do know that Big Endian was never as well tested or supported as Little Endian on Nios II, so... GOOD LUCK if that's that path you choose or must choose.
Regards,
Andor
- Andor_Altera
New Contributor
Hi ZhiqiangLiang,
[Update: noticed you tagged Nios II. That's deprecated IP. I recommend against starting a new project using it!]
Nios V is Little Endian.
Regards,
Andor