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

 

 

Lorenz Chaos Equation

 

<<Previous<<        >>Next>>

 

-- VHDL-AMS model of Lorenz Chaos equations
-- (c) Southampton University 1997
-- Southampton VHDL-AMS Validation Suite - example 2
-- 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:  1 August 2005 (by Shaolin Wang)

--

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

-- 1. VHDL-AMS Model

library IEEE;
use IEEE.math_real.all;

entity LorenzChaos is
    port (quantity x,y,z: out real); -- unknowns: x(t), y(t) and z(t)
end entity LorenzChaos;

architecture Chaotic of LorenzChaos is
    constant s: real := 10.0; -- define equation parameters s,b,r
    constant b: real := 8.0/3.0;
    constant r: real := 28.0;
begin
    if (domain = quiescent_domain) use -- set initial conditions
        x == 0.0;
        y == 5.0;
        z == 25.0;
    else
        x'dot == s*(y-x);         -- equation set:
        y'dot == r*x-y-x*z;
        z'dot == x*y - b*z;
    end use;
end architecture Chaotic;

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

-- 2. Testbench

library IEEE;
use IEEE.math_real.all;

entity Test_LorenzChaos is
end entity Test_lorenzChaos;

architecture test of Test_LorenzChaos is
    quantity x,y,z: real;
begin
    LorenzChaos1: entity lorenzchaos port map (x=>x, y=>y, z=>z);
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