I’m pretty sure it’s not a separate oscillator, actually. It only follows subharmonics of the main oscillator, it is not freely adjustable.
[Edit: Also the oscillators are analogue, but they don’t have to be separately tuned, which suggests the subharmonic oscillator is sync’d to the main oscillator somehow. That’s what I tried to accomplish in my code, and I think I was successful, but I’m curious how Moog does it/if there is a better way]
Usually the way you would generate subharmonics in an analog synthesizer is to use comparator and a divide-by-n counter to create a divided square wave version of the input signal. Then you can use a shaper (basically a one-pole lowpass filter) to shape the square wave into a sawtooth.