Group IV photonics hold great potential for nonlinear applications in the near-and mid-infrared (IR) wavelength ranges, exhibiting strong nonlinearities in bulk materials, high index contrast, CMOS compatibility, and cost-effectiveness. In this paper, we review our recent numerical work on various types of silicon and germanium waveguides for octave-spanning ultrafast nonlinear applications. We discuss the material properties of silicon, silicon nitride, silicon nano-crystals, silica, germanium, and chalcogenide glasses including arsenic sulfide and arsenic selenide to use them for waveguide core, cladding and slot layer. The waveguides are analyzed and improved for four spectrum ranges from visible, near-IR to mid-IR, with material dispersion given by Sellmeier equations and wavelength-dependent nonlinear Kerr index taken into account. Broadband dispersion engineering is emphasized as a critical approach to achieving on-chip octavespanning nonlinear functions. These include octave-wide supercontinuum generation, ultrashort pulse compression to sub-cycle level, and mode-locked Kerr frequency comb generation based on few-cycle cavity solitons, which are potentially useful for next-generation optical communications, signal processing, imaging and sensing applications.