Hardware Control Language

from Wikipedia, the free encyclopedia

HCL is a programming language used to develop the control logic of a processor architecture .

In the hardware design is about the combination of electronic circuits. The calculation of mathematical operations and the storage of data are elementary. There are three important components to developing digital systems: combined logic circuits, memory elements and a clock control, which is necessary for the functionality of the memories and gates.

Logical gates can be represented with HCL as follows:

AND-Gatter:
 bool and = a&&b;
OR-Gatter:
 bool or = a||b;
XOR-Gatter:
 bool xor = a^b;
NOT-Gatter:
 bool not = !a;
MULTIPLEXOR
 int Out = [
   s : A;
   l : B;
 ];