Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
why behavioral model of analog circuits for functional verification of mixed signal ip?
-- Use proposed IEEE natures and packages
library IEEE;
use IEEE.electrical_systems.all;
entity resistor is
generic (
res : resistance); -- Resistance (no initial value) [Ohm]
port (
terminal p1, p2 : electrical);
end entity resistor;
-------------------------------------------------------------------------------
-- Ideal Architecture (V = I*R)
-------------------------------------------------------------------------------
architecture ideal of resistor is
quantity v across i through p1 to p2;
begin
-- Fundamental equation
[COLOR="#FF0000"] v == i*res;
[/COLOR]
end architecture ideal;
I'm going to assume that you are asking why behavioral models versus transistor-level models for analog circuits for functional verification...
Transistor-level models (SPICE models) provide high fidelity results but SPICE simulations are very compute intensive and therefore take quite sometime to run. And, when SPICE models are mixed with digital circuits (Verilog, VHDL behavioral) then two simulators must be "tied together" to run in lock step to perform the simulation. The synchronizing of these two simulators in a unified analog/mixed-signal (AMS) simulation slows things down as well.
Some people use SPICE macro-models (SPICE behavioral models) to reduce the complexity and speed up the simulation. This works but doesn't quite provide the necessary simulation speed-up required for system-level simulations.
Therefore, VHDL-AMS (VHDL with analog/mixed-signal extensions) and Verilog-A (Verilog plus analog) were created. A single simulation engine can support VHDL + VHDL-AMS simulations (same is true for Verilog + Verilog-A). This unified simulation backplane with behavioral mixed-signal modeling provides for simulations that run orders of magnitude faster than transistor-level simulations. For example, if you wanted to simulate one to two cycles of a sinewave being digitized by a sigma-delta analog to digital converter this could take 2-3 days in a SPICE + digital simulation. In fact, this is the kind of simulation that can crash your SPICE simulator unless you have a pretty expensive "industrial strength" simulation environment. The same sigma-delta simulation in a unified VHDL-AMS simulator can run in minutes.
Some examples of VHDL-AMS and Verilog-A design and simulation environments include:
ViaDesigner - **broken link removed**
SMASH - **broken link removed**
Symica - **broken link removed**