Main Content

Mix Analog and Digital Signals

Combine analog circuit behaviors with digital models to create more detailed representations of electronic systems

In electronic systems that combine analog processing with logic gates, several parameters are essential to the overall behavior of the system. These parameters include the finite slew rate of circuit output signals, the propagation delay of signals, and the exact decision threshold of circuit inputs. Add blocks to your model to include these effects in time domain simulations of the system.

Blocks

Linear Circuit WizardGenerate or modify linear circuit (Since R2020b)
Slew RateModel amplitude, rise and fall times, and propagation delay of logic gates (Since R2019a)
Logic DecisionThreshold crossing detector at input to binary process (Since R2019a)
Operational AmplifierModel operational amplifier with two or more poles (Since R2021b)
Variable Pulse DelayDelay samples by controlled, continuously variable amount (Since R2019a)
Lowpass ResamplerConvert signal from one sample time to another (Since R2021a)
Binary Vector ConversionConvert scalar integer to binary logic vector and vice versa (Since R2021a)
Clock GeneratorGenerate clock signal with one or more phases (Since R2022a)
Signal SamplerSample incoming signal at the edge of incoming clock (Since R2022a)

Functions

lowpassResampleConvert signal from one sample time to another (Since R2021a)
tr0ReaderConverts transient analysis simulation results from Synopsys to CSV file or MATLAB table (Since R2023a)
sw0ReaderConverts DC analysis simulation results from Synopsys to CSV file or MATLAB table (Since R2023b)
ac0ReaderConverts AC analysis simulation results from Synopsys to CSV file or MATLAB table (Since R2023b)

Topics