Lecture 3 Flashcards

1
Q

Leading HDLs

A

Verilog and VHDL (VHSIC HDL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

VHSIC HDL

A

Very high speed integrate circuits

DoD program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Verilog

A

Developed by Gateway Design Automation as a propriety language for logic simulation in 1984

IEEE Standard in 1995

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

VHDL

A

Developed in 1981 by DoD to describe the structure and function of HW

Roots draw from Ada programming language

IEEE Standard in 1987

Language first envisioned for documentation, but adopted for simulation and synthesis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Module

A

Block of hardware with inputs and outputs

AND gate, multiplexer, priority circuit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describing module functionality

A

Behavioral, structural

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Behavioral modeling

A

Models that describe what a module does

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Structural modeling

A

Describe how module built from different pieces; application of hierarchy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

VHDL code has 3 parts

A

The library use clause, the entity declaration, and the architecture body

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Library use clause

A

IEEE.STD_LOGIC_1164 defines the STD_LOGIC type

library IEEE; use IEEE.STD_LOGIC_1164.all;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Entity declaration

A

Lists the module name and its inputs and outputs

entity myfunction is

end;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Architecture body

A

Defines what the modules does

architecture synth of myfunction is
begin

end;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

VHDL signals

A

Inputs and outputs

Must have a type declaration

Digital signals should be declared to be STD_LOGIC type, values of 0, 1, Z, X

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Major purposes of HDLs

A

Logic simulation and synthesis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Simulation

A

Inputs are applied to a module, and outputs are checked to verify that the module operates correctly

To catch bugs because people routinely make mistakes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Synthesis

A

The textual description of a module is transformed into logic gates

Transforms HDL code into a netlist describing HW (the logic gates and the wires connecting them)

17
Q

Since building HW is primary goals, emphasize a ______ of the VHDL language

A

Synthesizable subset - divide HDL code into synthesizable modules and a testbench

18
Q

Synthesizable modules

A

Describe HW

19
Q

Testbench

A

Contains code to apply inputs to a module, check whether output results correct, and print discrepancies between expected and actual outputs

Intended for simulation only and cannot be synthesized

20
Q

HDLs have ___

A

Idioms

21
Q

Idioms

A

Specific ways of describing various classes of logic

22
Q

Combinational logic

A

Synchronous sequential circuits consist of combinatorial logic and registers

Outputs of combinatorial logic depend only on the current inputs

23
Q

Bit wise operator

A

Acts on single-bit signals or on multi-bit busses

24
Q

4-but bus

A

STD_LOGIC_VECTOR (3 downto 0)

Msb to lsb—> a[3], a[2], a[1], and a[0]

25
Q

Little endian order

A

Least significant bit has smallest bit number

MSB to LSB

26
Q

Big endian order

A

LSB to MSB

27
Q

VHDL operators

A

Not, xor, or

28
Q

Operands

A

A,b,y1

29
Q

Expression

A

Combination of operators and operands (a nor b)

30
Q

Statement

A

Complement command (y4 <= a nand b);)

31
Q

Concurrent signal assignment statement

A

Describes combinational logic, ends with a semicolon (out <= in1 op in2;)

32
Q

VHDL comments

A

Begin with - - and continue to the end of the line

33
Q

module and signal names must not begin with a ____

A

Digit