VHDL LAB Flashcards

1
Q

What is the first thing we do in a VHDL code? Apart from the libraries

A

We create an entity that defines the external interface to the VHDL component
-defining the inputs and outputs

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

What does the labcounter VHDL do?

A

-Counts the number of rising edges on the clock.
-when the counter reaches 10, an internak signal called timer_flag is raised
-When the switch is Low the tick_count increases by 1
-The output of the tick_count is a binary number that is equal to a multiple of the 10 rising edges of the clk input

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

What is the key difference between the testbench and design code

A

The testbench doesn’t need to be converted into hardware logic. (non - synthesised)

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

What does the architecture of the test bench contain?

A

An instantiation of the design under test (DUT). In the lab a component instantiation is used.

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