In this paper, there are presented the discontinuous nonlinear controllers simulation and design based on distributions and their properties. Using the definition of distributions, the mathematical formulas for discontinuous nonlinear elements are determined. This approach allows describing the analog and discrete systems in the same manner. The equations on distributions are simple comparing to the equations with analog and discrete functions. The paper describes the specific properties that can be used in digital and nonlinear controller design. Based on distributions there are modeled, simulated and designed the complex PWM inverter controller and the adaptive DC servo relay controller. This distributions approach implemented as software modules or objects opens new possibilities in software-oriented embedded-controller.