Forum Discussion
Altera_Forum
Honored Contributor
14 years agoDevice ID
I know you can set your own custom SystemID, but can the Nios processor get the *device* id, so it can work out what actual chip the core is running on ? I have a design that is used on both EP...
Altera_Forum
Honored Contributor
14 years agoI had a quick look at the qsys component tcl interface reference (http://www.altera.com/literature/hb/qts/qsys_tcl.pdf) and it seems that you can get the FPGA family name through the SYSTEM_INFO property (table 9-5 page 9-27) but not explicitely the device part number.
I think you'll have to create a PIO port on your SOPC system and add a Quartus TCL script that will get the device name during compilation and use it to fix a value on the PIO port so that the CPU can read it.