Altera_Forum
Honored Contributor
21 years agomultiprocessors and CPUID registers
Hi all,
I noticed that with NiosII 1.1 Altera added ctl5, a register that basically contains a unique id for each cpu in a SOPCBuilder project. We created a multiprocessor 2-cpu design using SOPCbuilder, and we noticed that the cpuids are 0 and 1. Questions: - are the cpu numbers always starting from 0, then 1, 2, 3, 4, ...? that is, cpu1 in SOPCBuilder corresponds to cpuid 0, cpu2 correspond to cpuid 1, and so on? - is there a way to set a custom CPUID? Best Regards, Paolo