Altera Hardware Description Language
   HOME

TheInfoList



OR:

Altera Hardware Description Language (AHDL) is a proprietary hardware description language (HDL) developed by
Altera Corporation Altera Corporation was a manufacturer of programmable logic devices (PLDs) headquartered in San Jose, California. It was founded in 1983 and acquired by Intel in 2015. The main product lines from Altera were the flagship Stratix series, mid-rang ...
. AHDL is used for digital logic design entry for Altera's complex programmable logic devices (CPLDs) and
field-programmable gate array A field-programmable gate array (FPGA) is an integrated circuit designed to be configured by a customer or a designer after manufacturinghence the term '' field-programmable''. The FPGA configuration is generally specified using a hardware d ...
s (FPGAs). It is supported by Altera's MAX-PLUS and
Quartus Quartus ( el, Κούαρτος, Kouartos) was an early Christian who is mentioned in the Bible. According to church tradition, he is known as Quartus of Berytus and is numbered among the Seventy Disciples. Furthermore, he was Bishop of Beirut ...
series of design software. AHDL has an
Ada Ada may refer to: Places Africa * Ada Foah, a town in Ghana * Ada (Ghana parliament constituency) * Ada, Osun, a town in Nigeria Asia * Ada, Urmia, a village in West Azerbaijan Province, Iran * Ada, Karaman, a village in Karaman Province, Tur ...
-like syntax and its feature set is comparable to the synthesizable portions of the Verilog and VHDL hardware description languages. In contrast to HDLs such as Verilog and VHDL, AHDL is a design-entry language only; all of its language constructs are synthesizable. By default, Altera software expects AHDL source files to have a .tdf extension (Text Design Files).


Example

% a simple AHDL up counter, released to public domain 13 November 2006 %
% 
lock quotations achieved with percent sign Lock(s) may refer to: Common meanings *Lock and key, a mechanical device used to secure items of importance *Lock (water navigation), a device for boats to transit between different levels of water, as in a canal Arts and entertainment * ''Lock ...
% % like c, ahdl functions must be prototyped % % PROTOTYPE: FUNCTION COUNTER (CLK) RETURNS (CNTOUT ..0; % % function declaration, where inputs, outputs, and bidirectional pins are declared % % also like c, square brackets indicate an array % SUBDESIGN COUNTER ( CLK :INPUT; CNTOUT ..0:OUTPUT; ) % variables can be anything from flip-flops (as in this case), tri-state buffers, state machines, to user defined functions % VARIABLE TIMER ..0 DFF; % as with all hardware description languages, think of this less as an algorithm and more as wiring nodes together % BEGIN DEFAULTS TIMER[].prn = VCC; % this takes care of d-ff resets % TIMER[].clrn = VCC; END DEFAULTS; TIMER[].d = TIMER[].q + H"1"; END;


References

* Scarpino, Frank A., ''VHDL and AHDL Digital System Implementation''. Prentice Hall PTR, 1998. Hardware description languages {{Electronics-stub