Southampton VHDL-AMS Validation Suite

School of Electronics and Computer Science, University of Southampton

 

  Home Example Models Web Parser Acknowledgement ESD Group ECS University of Southampton
 

Van der Pol Oscillator

Lorenz Chaos

Bouncing Ball

Level3 MOS Transistor

Bipolar Transistor with Thermal Effects

AnalogueSchmitt Trigger

VoltageControlled Oscillator with Integration of Phase

Phase-Locked-LoopFrequency Multiplier

Switch-modePower Regulator

Ferromagnetic Hysteresis

Sigma-Delta Modulator

MEMS accelerometer with SD control loop

 

 

Van Der Pol Oscillator Equation

 

<<Previous<<        >>Next>>

 

-- VHDL-AMS Model of Van Der Pol Oscillator Equation
-- (c) Southampton University 1997
-- Southampton VHDL-AMS Validation Suite - example 1
-- author: Tom Kazmierski
-- Department of Electronics and Computer Science, University of Southampton
-- Highfield, Southampton SO17 1BJ, United Kingdom
-- Tel. +44 2380 593520   Fax +44 2380 592901
-- e-mail: tjk@ecs.soton.ac.uk
-- Created: 28 May 1997
-- Last revised : 22 March 2003 by tjk

--

--------------------------------------------------------------------------

-- 1. VHDL-AMS Model

library IEEE;
use IEEE.math_real.all;

entity VanDerPol is
    generic (m: real := 1.0);
    port (quantity x: out real); -- unknown x(t)
end entity VanDerPol;

architecture SecondOrderODE of VanDerPol is
    quantity x1: real;
begin
    if domain = quiescent_domain use -- set the initial conditions
        x == 0.0;
        x1 == 0.1;     -- initial value of x'dot
    else
        -- second-order Van Der Pol ODE
        x'dot == x1;
        x1'dot == -m*(x*x - 1.0)* x1 - x;
    end use;
end architecture SecondOrderODE;

-------------------------------------------------------------------------------

-- 2. Testbench

library IEEE;
use IEEE.math_real.all;

entity test_vanderpol is
end entity test_vanderpol;

architecture test of test_vanderpol is
    quantity x: real;
begin
    vanderpol1: entity vanderpol generic map (m => 0.2) port map (x=>x);
end architecture test;

--------------------------------------------------------------------------------

-- 3. Simulation Results using SystemVision

 

<<Previous<<        >>Next>>         Top^

 

School of Electronics and Computer Science, University of Southampton, Highfield, Southampton S017 1BJ, United Kingdom