====== Introduction ====== ===== What is VHDL-AMS? ===== VHDL-AMS = **V**ery High Speed Integrated Circuit **H**ardware **D**escription **L**anguage for **A**nalog and **M**ixed **S**ignals VHDL-AMS = IEEE VHDL 1076-1993 + IEEE VHDL 1076.1-1998 ===== Why is VHDL-AMS needed? ===== * increasing integration -> no more testable interfaces * simulate analog + digital signals simultaneously === Notes === VHDL-AMS (Very High Speed Integrated Circuit Hardware Description Language for Analog and Mixed Signals) is a computer language to simulate analog and digital systems simultaneously. It is an extension to IEEE VHDL 1076-1993 and is called IEEE VHDL 1076.1-1998. The language is defined at the LRM (Language Reference Manual). The number of the single chips on a board declines permanent because of the all times new technological possibilities. Thus the mostly devided 'analog' and 'digital' electronic components on a chip get together. Because of this rising integration the interfaces between the analog and digital function chips get lost. So it is desireable to simulate the complete analog and digital system at once. From there the since many years often used VHDL 1076-1993 gets extended for an analog part (VHDL 1076.1-1998) without loosing functions for the digital simulation. The simulation on a single kernel is possible. The general synthesis of analog / mixed-signal circuits is not expected in the next few years because of the high multifariousness. ===== Application Fields ===== VHDL: discrete (digital) systems * ASIC * FPGA * PLD * description of behavior + modeling (syntheses) VHDL-AMS: continuous (analog) + discrete systems * ASIC (video, handy) * complete systems * no synthesis === Notes === One of the most important field of application is the simulation of ASIC's (Application Specific Integrated Circuits) and of complete (physical) systems. Emphasizeable is the operational area for mobile communication (handy) and video processing, where analog and digital signals are very strong concatenationed. ===== Difference between discrete and continuous system ===== **discrete state change**: * mercurial * at countable moments {{:vhdl-ams:introduction:ams_discretestatechange.svg?nolink&400|chart discrete state change}} **continuous state change**: * steady * every moment {{:vhdl-ams:introduction:ams_continuousstatechange.svg?nolink&400|chart continuous state change}} === Notes === Discrete (digital) systems change their states mercurial in countable moments. In contrast to is the state change at continuous (analog) systems. It executes steady and is every time possible. So an exact analog simulation between any two moments would take infinite calculation steps. The balance between accuracy and calculation effort is a central problem at the simulation of analog signals. Mixed signal simulation claims a synchronization of both (analog and digital) signal types to re-create the real behavior. ===== Simulation Cycle ===== {{:vhdl-ams:introduction:ams_simulationcycletime.svg?nolink&500|Simulation Cycle time chart}} {{:vhdl-ams:introduction:ams_simulationcycleflow.svg?nolink&600|Simulation Cycle flow chart}} === Notes === The simulation cycle is very complex. So only the simplified graph will be introduced. The simulation cycle starts with initialize the analog signals and determine the time of the next analog calculation Tc (current time) and the time of the next digital simulation Tn (next time). So long as no digital event occurs, analog equations get calculated and the time of the next analog calculation gets determined. At a digital event, by expired digital time (Tn = 0) or an analog to digital event, all signals get refreshed. Then the sensitive processes are executed (first nonpostponed then postponed). After the time of the next digital event is determined. The simulation is completed, if this time in 0.0. If this time is shorter than Tc, the digital cycle will start again, else the analog calculations continue. ===== Differences between signal flow and network ===== **signal flow**: {{:vhdl-ams:introduction:ams_signalflowequation.svg?nolink&150|signal flow equation}} {{:vhdl-ams:introduction:ams_signalflowcircuit.svg?nolink&300|signal flow circuit}} * signal flow is directed * no backlash on the previous system components **network**: {{:vhdl-ams:introduction:ams_networkequation.svg?nolink&250|network equation}} {{:vhdl-ams:introduction:ams_networkcircuit.svg?nolink&300|network circuit}} * signal flow is undirected * backlash is possible === Notes === It is possible to simulate networks as well as signal flows of a system. At a signal flow simulation the signal flow is directed. The signal of any path has no backlash on the previous system components. At a network simulation you have no signal flow direction, because a backlash inside the network is possible. The backlash on a cause can influence the signals of the cause. Thus the simulation of networks is more complex than the simulation of signal flows. ===== Conservative and Non-conservative system ===== general definition: energy theorem valids => **conservative system** * network => Kirchhoff rules valid => energy is preservative {{:vhdl-ams:introduction:ams_conservativesystem.svg?nolink&300|conservative system}} general definition: energy may scale => **non-conservative system** * signal flow {{:vhdl-ams:introduction:ams_nonconservativesystem.svg?nolink&150|non-conservative system}} === Notes === It is a conservative system if the energy theorem valids. At networks the KIRCHHOFF rules are valid, which obey the Energieerhaltungssatz. So networks are conservative systems. But the simulation of signal flows is also possible, that non - conservative systems are simulateable, too. ===== Existing Tools ===== SABER (in MAST) * simple digital part * analog simulator co-simulators * SABER / ModelSim * two kernels * master-slave VHDL - AMS * middle of 1998: prototype at the university of Cincinnati, but not commercial * Dez. 1998: prototype from Analogy * middle of 1999: commercial version from Analogy is planed === Notes === Till now, the simulation of analog and digital systems is possible but only limited. The analog simulator SABER (in MAST) from Analogy offers a small area for digital simulation. But it is very restricted for digital simulation, i. e. loops or busses are not programmable on the high level of VHDL. Co-simulators, that are two separate simulators, one for the analog simulation and the other for the digital simulation, are used, too. The disadvantage is, that you simulate on two simulation kernels. That is expensive and it takes too much time. Their function is based on the master / slave principle.