Product Code Database
Example Keywords: tie -ps3 $29-144
barcode-scavenger
   » » Wiki: Verilog-ams
Tag Wiki 'Verilog-ams'.
Tag

Verilog-AMS is a derivative of the hardware description language that includes Analog and Mixed-Signal extensions (AMS) in order to define the behavior of analog and mixed-signal systems. It extends the event-based simulator loops of Verilog//, by a continuous-time simulator, which can be used to solve differential equations in the analog-domain, as well as other problems. Both domains are coupled: analog events can trigger digital actions and vice versa.Scheduling semantics are specified in the Verilog/AMS Language Reference Manual, section 8.


Overview
The Verilog-AMS standard was created with the intent of enabling designers of analog and mixed signal systems and integrated circuits to create and use modules that encapsulate high-level behavioral descriptions as well as structural descriptions of systems and components.Accellera Verilog Analog Mixed-Signal Group, "Overview," http://www.verilog.org/verilog-ams/htmlpages/overview.html Verilog-AMS Language Reference Manual The Designer's Guide to Verilog-AMS

Verilog-AMS is an industry standard modeling language for mixed signal circuits. It provides both continuous-time and event-driven modeling semantics, and so is suitable for analog, digital, and mixed analog/digital circuits. It is particularly well suited for verification of very complex analog, mixed-signal and RF integrated circuits. Verification of Complex Analog Integrated Circuits

Verilog and Verilog/AMS are not procedural programming languages, but event-based hardware description languages (HDLs). As such, they provide sophisticated and powerful language features for definition and synchronization of parallel actions and events. On the other hand, many actions defined in HDL program statements can run in parallel (somewhat similar to threads and tasklets in procedural languages, but much more fine-grained). However, Verilog/AMS can be coupled with procedural languages like the ANSI C language using the Verilog Procedural Interface of the simulator, which eases testsuite implementation, and allows interaction with legacy code or testbench equipment.

The original intention of the Verilog-AMS committee was a single language for both analog and digital design, however due to delays in the merger process it remains at while evolved into and went to the IEEE.


Code example
Verilog/AMS is a superset of the Verilog digital HDL, so all statements in digital domain work as in (see there for examples). All analog parts work as in .

The following code example in Verilog-AMS shows a DAC which is an example for analog processing which is triggered by a digital signal: `include "constants.vams" `include "disciplines.vams" // Simple DAC model module dac_simple(aout, clk, din, vref);

// Parameters
parameter integer bits = 4 from [1:24];
parameter integer td = 1n from[0:inf);  // Processing delay of the DAC
     

// Define input/output
input clk, vref;
input [bits-1:0] din;
output aout;
     

// Define port types
logic clk;
logic [bits-1:0] din;
electrical  aout, vref;
     

// Internal variables
real aout_new, ref;
integer i;
     

// Change signal in the analog part
analog begin
	@(posedge clk) begin // Change output only for rising clock edge
     

		aout_new = 0;
		ref = V(vref);
     

		for(i=0; i
endmodule
     
The ADC model is reading analog signals in the digital blocks:
     
`include "constants.vams"
`include "disciplines.vams"
// Simple ADC model
module adc_simple(clk, dout, vref, vin);
     

// Parameters
parameter integer bits = 4 from[1:24]; // Number of bits
parameter integer td = 1 from[0:inf);  // Processing delay of the ADC
     

// Define input/output
input clk, vin, vref;
output [bits-1:0] dout;
     

// Define port types
electrical vref, vin;
logic clk;
reg [bits-1:0] dout;
     

// Internal variables
real ref, sample;
integer i;
     

initial begin
	dout = 0;
end
     

// Perform sampling in the digital blocks for rising clock edge
always @(posedge clk) begin
     

	sample = V(vin);
	ref = V(vref);
     

	for(i=0; i
     

		ref = ref/2;
     

		if(sample > ref) begin
			dout[i] <= #(td) 1;
			sample = sample - ref;
		end
		else
			dout[i] <= #(td) 0;
	end
end
     
endmodule


Implementations
While the language was initially only supported by commercial companies, parts of the behavioural modeling subset, "Verilog-A" was adopted by the transistor-modeling community. The ADMS translator supports it for open-source simulators like Xyce and ngSPICE. A more complete implementation is now available through OpenVAF. The post-SPICE simulator Gnucap was designed in accordance with the standard document, and its support for Verilog-AMS for both the simulator level and the behavioral modeling is growing.


See also


External links
  • I. Miller and T. Cassagnes, "Verilog-AMS Eases Mixed Mode Signal Simulation," Technical Proceedings of the 2000 International Conference on Modeling and Simulation of Microsystems Https://web.archive.org/web/20070927051749/http://www.nsti.org/publ/MSM2000/T31.01.pdf


General


Open Source Implementations

Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs