On 7 February 2018 at 15:41, Paolo Bonzini <pbonz...@redhat.com> wrote: > On 06/02/2018 20:27, Peter Maydell wrote: >> armv7m creates the CPU object, but it's really the >> SoC which creates armv7m that wants to set various properties >> on the CPU. (The CPU properties being set are things like >> "initial vector address" which in real hardware are set by >> the SoC hard-wiring various config signals on the core to 1 or 0.) > > Just to understand the context better, when you buy a SoC (presumably as > IP) can you also configure it to hardwire different CPU config signals?
Usually if you buy an SoC you're buying the silicon, not the IP. I think the usual case is that the SoC ties the CPU config signals to 0 or 1 (part of the SoC designer's job is configuring the semi-configurable bits of IP the way they want when they put them all together). It would certainly be in theory possible for the SoC to instead route those signals out to pins on the SoC for the board to tie off, but my impression is that's not a likely design choice. thanks -- PMM