ECE 368 EXAM 2 Chris Edition Flashcards
What are the 3 concurrent statements?
1) WHEN
2) SELECT
3) GENERATE
What are the 4 sequential statements?
1) IF
2) WAIT
3) LOOP
4) CASE
What are the 3 kinds a sequential code?
1) PROCESS
2) FUNCTION
3) PROCEDURE
(T/F) As a whole, a PROCESS or a subprogram call is a
concurrent statement.
True
(T/F) VHDL is inherently sequential.
False
Is a process sequential or concurrent
Sequential
(T/F) A process is located in the entity section of a VHDL program
False
(T/F) A process sensitivity list is mandatory
False
(T/F) A variable is optional prior to a process statement
True
When is a signal updated in sequential code?
After conclusion of the PROCESS statement
Where can VARIABLE be declared and used?
Inside of a PROCESS or subprogram.
When are variables updated?
Immediately.
(Y/N) are multiple variable assignments allowed?
Yes.
How many ways can VHDL pass non-static values? what are they?
Two Ways.
- SIGNAL
- VARIABLE
(Y/N) Can signals be global? Can variables be global?
Signals can, but a Variable can NEVER be global.
How do you pass the value of a Variable out of a PROCESS?
Assign it to a signal
What are the 4 statements for Sequential code?
-IF
-WAIT
-LOOP
-CASE
Where can sequential code statements be used?
inside of…
-PROCESS
-FUNCTION
-PROCEDURE
What are the pure concurrent statements?
WHEN
SELECT
GENERATE
What reserved words indicate that no action should take place?
unaffected
null
When can the PROCESS not have a sensitivity list?
When WAIT is Employed
What are the three forms of WAIT?
WAIT UNTIL condition; – synthesis
WAIT ON sensitivity_list; – synthesis
WAIT FOR time_expression; – simulation