Conv_signed function, 25, 37 Conv_std_logic_vector function, 25, 38 Conv_unsigned function, 25, 37 Conversion functions. See Data conversion
functions
Count ones circuits, 130–133
Counter circuits, 94–96, 99–100, 102–104, 144– 146, 155, 164–166, 272
CPLDs, 3–4, 305–306, 311–313, 317, 338–340
Data attributes, 51, 61
Data conversion functions, 25, 37–38 Data objects. See Objects
Data types, 25–43 ARRAY, 30–33, 39
BIT, 16–17, 21–22, 25–26, 39, 48–49, 54–55 BIT_VECTOR, 25–26, 28–30, 39, 48–49, 54– 55
BIT versus BIT_VECTOR, 41–42 BOOLEAN, 25, 27–28, 30, 39, 204, 235–237, 254–257
Enumerated data types, 28–29, 39, 51, 53, 61, 70, 101, 160, 162, 164, 204
INTEGER, 25, 27–28, 30, 35, 37–39, 48–49 NATURAL, 27, 29–30, 34–35, 262, 300 Physical data types, 27
Port array, 33–34 REAL, 25, 27, 39 RECORD, 35, 39
SIGNED, 25, 27, 30, 35–39, 42–43, 48, 191, 285, 291, 297
STD_LOGIC, 25–27, 39 STD_LOGIC_VECTOR, 25–27, 39 STD_ULOGIC, 25–27, 39 STD_ULOGIC_VECTOR, 26, 39 SUBTYPE, 29–30, 39, 80, 226
UNSIGNED, 25, 27, 30, 35–39, 48, 191, 263– 265
User-defined, 28–29, 34, 39, 299 Decoder circuits, 55–57, 62–63, 156 Delay circuit, 152
DFF, 18–22, 83–84, 92–93, 99, 101–102, 125–127, 137–138, 142–143, 152–155, 157–158, 254–255
Digital filter circuit, 289–294, 303 Divider circuit, fixed-point, 198–202 Division operator, 49, 60
Don’t care, 26
D-type flip-flop. See DFF
EDIF, 329, 336, 337 EEPROM, 306, 309, 312–313 ELSE
with WHEN, 69 with IF, 94
ELSIF, 94
Encoder circuit, 73–75 END keyword
with ARCHITECTURE, 17 with BLOCK, 81–83
with CASE, 100
with FUNCTION, 253 with GENERATE, 78–79 with IF, 94
with LOOP, 105
with PROCEDURE, 265 with PROCESS, 91 ENTITY
Description, 15–17 Introductory examples, 6, 17–22 Usage, 13–14
Enum_encoding attribute, 53 Enumerated data types. See Data types EPROM, 308–309
Equal-to operator, 49, 60
Error message. See ASSERT statement EVENT attribute, 52, 61
Event counter circuit, 121 Exclusive-NOR operator, 48, 60 Exclusive-OR operator, 48, 60 EXIT statement, 105–106, 111–112 Exponentiation operator, 49, 60
Field Programmable Gate Arrays. See FPGAs Finite State Machine. See FSM
FIR filter. See Digital filter circuit Flip-flop. See DFF
FOR statement
with GENERATE, 78–81 with LOOP, 105–112 with WAIT, 98–99
FPGAs, 3–4, 305–306, 311–315, 317, 338–339 Frequency divider circuit, 122, 138–140 FSM, 159–182, 202–208, 213–218 Full-adder. See Adder circuits
FUNCTION, 253–265
Arithmetic shift function, 261–262 Convert-to-integer function, 37, 43, 255, 258–259 Definition and syntax, 253–254
Function location, 256–258 Multiplication function, 263–265 Multiplier function, 263–265
Overloaded ‘‘þ’’ operator function, 260–261 Positive_edge function, 254–258 FUNCTION versus PROCEDURE, 270
GAL devices, 305–306, 309–312
GENERATE statement, 65, 78–81, 195, 197–198 GENERIC MAP, 244–247