If a user gets an error at the time of simulation which is “ the IF statement is illegal” what could be the reason?
1.Using IF statement in architecture body
2.Using IF statement without ELSE
3.Using multiple ELSE statements
4.Using concurrent assignment in the IF
Posted Date:-2022-02-09 03:52:27
If one wants to perform no action, when any condition is true, then which of the following keyword can be used?
1.NO OPERATION;
2.NOP;
3.NULL;
4.NEXT
Posted Date:-2022-02-09 04:10:35
In a clocked process, IF statement is used to __________
1.To run statements sequentially
2.To use concurrent assignment within process
3.To detect the clock signal
4.To implement sequential circuit
Posted Date:-2022-02-09 03:53:15
In case any of the conditions is not covered by ‘cases’ in the case statement, which of the following keyword can be used to cover all those conditions?
1.ELSE
2.ELSIF
3.REMAINING
4.OTHERS
Posted Date:-2022-02-09 04:02:21
In the following lines, what should be the value of signal y, if a and b both are at logic high? PROCESS (a, b) BEGIN IF( a XOR b <=’1’) y <= ‘1’; ELSIF (a AND b <= ‘0’) y <= a; ELSE y <= ‘0’; END IF; END PROCESS;
1.a
2.b
3.0
4.1
Posted Date:-2022-02-09 03:49:09
It is not possible to use range with _________ types.
1.Integer
2.BIT_VECTOR
3.STD_LOGIC
4.Natural
Posted Date:-2022-02-09 04:11:14
On what side of the assignment statement, one can use a loop index?
1.Left
2.Right
3.Left or Right
4.Loop index can’t be used in an assignment
Posted Date:-2022-02-09 04:33:32
The correct syntax for using EXIT in a loop is ___________
1.EXIT loop_label WHEN condition;
2. EXIT WHEN condition loop_label;
3.loop_label WHEN condition EXIT
4.EXIT WHEN loop_label condition
Posted Date:-2022-02-09 04:28:15
The driver(s) of signal y is _________ PROCESS () BEGIN y <= ‘1’; y <= x; y <= z; END PROCESS;
1.z
2.x
3.x and z
4.1
Posted Date:-2022-02-09 03:43:59
The FOR loop is not synthesizable if it contains ______ statement.
1.WHEN
2.THEN
3.WAIT
4.IF
Posted Date:-2022-02-09 04:36:07
The FOR loop is not synthesizable if it contains ______ statement. a) d)
1.WHEN
2.THEN
3.WAIT
4.IF
Posted Date:-2022-02-09 04:36:06
What does modeling type refer to?
1.Type of ports in entity block of VHDL code
2.Type of description statements in architecture block of VHDL code
3.Type of data objects
4.Type of Signals
Posted Date:-2022-02-09 00:30:56
Where do we declare the loop index of a FOR LOOP?
1.Entity
2.Architecture
3.Library
4.It doesn’t have to be declared
Posted Date:-2022-02-09 04:31:29
Which of the following architecture defines the data flow modeling of ‘and’ gate?
1.ARCHITECTURE and_1 OF and_gate IS begin y <= a AND b; end and_1;
2.ARCHITECTURE dataflow OF and_gate IS Process(a, b, y); begin y <= a AND b; end dataflow;
3.ARCHITECTURE and_1 OF and_gate IS begin IF(a = ‘1’ and b = ‘1’) THEN c <= 1; ELSE c <= ‘0’; end and_1;
4.ARCHITECTURE dataflow OF and_gate IS begin y <= a AND b; end and_1;
Posted Date:-2022-02-09 00:47:19
Which of the following condition has topmost priority?
1.IF
2.ELSIF
3.ELSE
4.THEN
Posted Date:-2022-02-09 03:49:49
Which of the following is a keyword used for conditional assignment?
1. IF
2.WHEN
3.FOR
4.END
Posted Date:-2022-02-09 03:10:57
Which of the following is a variable assignment statement?
1.<=
2. :=
3.=>
4.==
Posted Date:-2022-02-09 03:10:17
Which of the following keyword is not associated with IF statement?
1.ELSE
2.THEN
3.ELSIF
4.WHEN
Posted Date:-2022-02-09 03:46:34
Which of the following modeling style follows the sequential processing of instructions?
1.Dataflow modeling
2.Behavior modeling
3.Structural modeling
4.Component modeling
Posted Date:-2022-02-09 00:42:09
Which of the following statements can be seen as sequential equivalent to the selected concurrent assignment?
1.IF ELSE
2.WAIT
3.WHEN
4.CASE
Posted Date:-2022-02-09 03:21:47
_________ modeling uses logic gates and basic blocks to describe the functionality of system.
1.Behavioral
2.Structural
3.Dataflow
4.Component
Posted Date:-2022-02-09 00:44:31
A __________ can’t be declared inside a process.
1.Signal
2.Variable
3.Constants
4.Subprograms
Posted Date:-2022-02-09 03:22:30
A combinational process must have all the _________ signals in its sensitivity list.
1. Input
2.Output
3.Declared
4.Used
Posted Date:-2022-02-09 03:40:36
A FOR loop is inside a WHILE loop. Inside the FOR loop, the EXIT statement is used in such a way that after 4 iterations, it will execute. After the execution of EXIT statement, the control will be passed ________
1.Outside the FOR loop
2.Outside the WHILE loop
3. At the next iteration of WHILE loop
4.At the next iteration of FOR loop
Posted Date:-2022-02-09 04:32:31
A loop statement is used where we needs to ________
1.Select one from many choices
2.Check a condition
3.Repeat the statements
4.Choose one from two cases
Posted Date:-2022-02-09 04:19:02
A postponed process runs when ___________
1.All the other processes have completed
2.After completion of one particular process
3.Concurrently with all other processes
4.First of all processes
Posted Date:-2022-02-09 03:24:17
CASE is a sequential statement, which is similar to _________ concurrent statement.
1.Concurrent assignment
2.PORT MAP
3.WHEN
4.THEN
Posted Date:-2022-02-09 04:04:06
Delays are generally ignored in ________ assignments statements.
1.Concurrent
2.Conditional
3.Sequential
4.Selected
Posted Date:-2022-02-09 03:08:43
For a signal used in sequential assignment, it can have _______
1.1
2.2
3.3
4.4
Posted Date:-2022-02-09 03:11:29
FOR loop uses a loop index, the type of loop index is _________
1.STD_LOGIC_VECTOR
2.BIT_VECTOR
3.INTEGER
4.REAL
Posted Date:-2022-02-09 04:29:44
How can we use an assignment statement as a sequential assignment?
1.By using keyword WAIT
2.By using a delay mechanism
3.By using conditional statements
4.By using it in any process
Posted Date:-2022-02-09 01:14:55
If no signal in the sensitivity list is changed, then how many times the process will be executed?
1. 3
2.2
3.1
4.0
Posted Date:-2022-02-09 03:21:07
If the condition of IF statement is an expression, then what should be the type of the result of the expression?
1.Bit
2.Std_logic
3.Boolean
4.Integer
Posted Date:-2022-02-09 03:48:15
If there is more than one process in a VHDL code, How they are executed?
1.One after the other
2.Concurrently
3.According to sensitivity list
4.Sequentially
Posted Date:-2022-02-09 03:16:38
In behavioral modeling, what do descriptive statements describe?
1.How the system performs on given input values
2.How e design is to be implemented
3.Netlist
4.Concurrent execution
Posted Date:-2022-02-09 00:38:32
In behavioral modeling, what do descriptive statements describe?
1. How the system performs on given input values
2.How e design is to be implemented
3.Netlist
4.Concurrent execution
Posted Date:-2022-02-09 00:39:27
In which of the following statements, all the branches are equal in priority?
1. IF
2.CASE
3.WAIT
4.LOOP
Posted Date:-2022-02-09 04:01:03
Local variables in a process can be declared __________
1.Anywhere within the process
2.After a sequential statement
3.Before the BEGIN keyword
4.After the BEGIN keyword
Posted Date:-2022-02-09 03:17:31
Loop is a ________ statement.
1.Concurrent
2.Sequential
3.Assignment
4.Functional
Posted Date:-2022-02-09 04:19:45
One IF statement can have multiple ___________
1. IF
2.ELSIF
3.ELSE
4.CASE
Posted Date:-2022-02-09 03:51:32
Ports are known as _________ to the component.
1.Structure
2.Behavior
3.Function
4.Interface
Posted Date:-2022-02-09 00:53:53
Process is a _______ statement.
1.Concurrent
2.Sequential
3.Delay
4.Both concurrent and sequential
Posted Date:-2022-02-09 03:15:14
Refer to the code given below, what kind of circuit is designed? SIGNAL x : IN BIT; SIGNAL y : OUT BIT; SIGNAL clk : IN BIT; PROCESS (clk) BEGIN IF (clk’EVENT and clk = ‘1’) y ;<= x; END PROCESS
1.Buffer
2.Latch
3.Flip flop
4.Shift Register
Posted Date:-2022-02-09 03:43:11
Refer to the code given below, which type of modeling is used to describe the system? ARCHITECTURE and_1 OF and_gate IS begin process(a, b, y) begin IF(a = ‘1’ and b = ‘1’) THEN y <= ‘1’; ELSE y <=’0’; end IF; END process; END and_1;
1.Structural
2.Component
3.Dataflow
4.Behavioral
Posted Date:-2022-02-09 00:49:17
Sensitivity list of a process contains __________
1.Constants
2.Signals
3.Variables
4.Literals
Posted Date:-2022-02-09 03:18:47
The CASE statement in VHDL is similar to _________ in C.
1.Switch
2.If else
3.Pointers
4.Arrays
Posted Date:-2022-02-09 04:12:06
The concurrent assignment statement is activated whenever ______
1.The execution is scheduled
2.The value of the target is needed
3.The waveform associated changes its value
4.The process is terminated
Posted Date:-2022-02-09 02:37:12
The concurrent assignment statement is activated whenever ______
1.The execution is scheduled
2.The value of the target is needed
3.The waveform associated changes its value
4.The process is terminated
Posted Date:-2022-02-09 02:40:02
The conditional assignment statement is a _________ assignment.
1.Sequential
2.Concurrent
3.Selected
4.None of the above
Posted Date:-2022-02-09 03:02:23
The conditional assignment statement is a _________ assignment.
1.Sequential
2.Concurrent
3.Selected
4.None of the above
Posted Date:-2022-02-09 03:07:47
The process can be __________ by using WAIT statements.
1.Suspended
2.Resumed
3.Suspended as well as resumed
4.Cannot be determined
Posted Date:-2022-02-09 03:23:32
The resolution function is needed to resolve the value of _______ PROCESS () BEGIN y <= x; y <= z; END PROCESS;
1.z
2.y
3. x
4.No x, y and z
Posted Date:-2022-02-09 03:44:46
The selected concurrent statement is equivalent to ________ sequential statement.
1.If else
2.Loop
3.Wait
4.Case
Posted Date:-2022-02-09 03:12:35
The sequential assignment statement is activated, whenever ________
1.The waveform associated changes its value
2.The process is terminated
3.The execution is scheduled
4.The value of the target is needed
Posted Date:-2022-02-09 02:35:09
The signal assignment is considered as a ________
1.Concurrent statement
2.Sequential statement
3.Subprogram
4.Package declaration statement
Posted Date:-2022-02-09 01:13:34
The value of y is initially 1 and it is changed after one delta cycle to 0. How many delta cycles (starting from the beginning) will be taken to change the initial value of z, refer to the process given below? PROCESS (y) BEGIN x <=y; z <= NOT y; END PROCESS
1.1
2.2
3.3
4.4
Posted Date:-2022-02-09 03:27:39
Those statement which are placed under ________ are concurrent.
1.Process
2.Function
3.Architecture
4.Procedure
Posted Date:-2022-02-09 03:14:16
What does the next statement in loops do?
1.Skips the current iteration
2.Starts the next loop by ending the current
3.Exits the loop
4.Skips the next line of the loop
Posted Date:-2022-02-09 04:25:27
What is the basic unit of behavioral description?
1.Structure
2.Sequence
3.Process
4.Dataflow
Posted Date:-2022-02-09 00:41:15
What is the effect of the sensitivity list on the process?
1. Process executes when any of the signal in sensitivity list changes
2.Process executes sequentially when sensitivity list is specified
3. If there is no sensitivity list, then the process will not execute
4.Helps in simulation
Posted Date:-2022-02-09 03:20:24
What is the main use of a CASE statement?
1.To design multiplexers
2.To design Comparators
3.To design Flip flop
4.To design state machines
Posted Date:-2022-02-09 04:13:50
What is the problem with IF statement?
1.Overlapping of conditions
2.No default value
3.The condition can be Boolean only
4.Restriction on number of ELSE statement
Posted Date:-2022-02-09 03:56:28
What is the syntax to use the NEXT statement?
1.NEXT condition loop_label
2.NEXT loop_label WHEN condition
3.loop_label NEXT WHEN condition
4. loop_label NEXT condition
Posted Date:-2022-02-09 04:26:21
What is the use of a function called port map()?
1.Component declaration
2.Defining identifiers
3.Component instantiation
4.Defining inputs and outputs
Posted Date:-2022-02-09 00:54:47
What is the use of FOR loop?
1.To repeat the statement finite number of times
2.To repeat the statement until any condition holds true
3.To repeat the statements for infinite time
4.To repeat statements inside until any condition is false
Posted Date:-2022-02-09 04:20:25
What is the use of WHILE loop?
1.To repeat the statement finite number of times
2.To repeat the statement until any condition holds true
3.To repeat the statements for infinite time
4.To repeat statements inside until any condition is false
Posted Date:-2022-02-09 04:24:30
What kind of statement is the IF statement?
1.Concurrent
2.Sequential
3.Assignment
4.Selected assignment
Posted Date:-2022-02-09 03:45:39
What logic is described in the following logic? PROCESS (a, b) IF (a = ‘1’ AND b = ‘0’ OR a= ’0’ AND b = ‘1’) THEN y <= ‘1’; ELSIF (a = ‘1’ AND b= ‘1’) THEN y <= ‘0’; ELSE y <= ‘0’; END IF
1.EXOR
2.EXNOR
3.AND
4.NOR
Posted Date:-2022-02-09 03:50:42
What should be the type of choices in the CASE statement?
1.Boolean
2.Integer
3.Same as expression
4.No restriction on the type
Posted Date:-2022-02-09 04:08:15
What will be the output in the following code? ARCHITECTURE my_logic OF my_design IS BEGIN a <= 1; b <= 1; PROCESS (a, b) BEGIN IF (a AND b = 1) THEN output <= a; ELSIF (a OR b = 1) THEN output <= b; ELSE output <= 0; END IF; END PROCESS; END my_logic;
1.0
2.1
3.b
4.a
Posted Date:-2022-02-09 03:54:07
What will be the value of Z in the following code? ENTITY case_1 IS Port (a, b, c, y : IN INTEGER range 0 TO 31 z : OUT INTEGER range 0 TO 31) ARCHITECTURE example OF case_1 IS BEGIN y <= 2; a <= 4; b <= 5; c <=6; PROCESS(a, b, c, y) BEGIN CASE y+1 IS WHEN 1 => z <= a; WHEN 2 => z <= b; WHEN 3 => z <= c; WHEN OTHERS => Z <= 0; END CASE; END PROCESS; END example;
1.2
2.4
3.5
4.6
Posted Date:-2022-02-09 04:07:02
Which logic function is described in the code given below? ARCHITECTURE my_func OF my_logic IS begin process(a, b, y) begin IF(a = ‘0’ and b = ‘0’) THEN y <= ‘0’; ELSIF (a = ‘1’ and b= ‘1’) THEN y<= ‘0’; ELSE y <= ‘1’; END if; END process; END my_func;
1.AND
2.EXOR
3.OR
4.EXNOR
Posted Date:-2022-02-09 00:52:04
Which modeling style does the following code represents? Architecture my_logic OF logic_func IS Component gate_1 PORT (b1, b2 : IN BIT; s : OUT BIT); END component; Component gate_2 IS PORT (b1,b2 : IN BIT; C : OUT BIT); END component; SIGNAL a, b, sum, carry : BIT; begin EXOR : gate_1 portmap (a, b, sum); AND : gate_2 portmap (a,b ,carry); END my_logic
1.Structural
2.Component
3.Behavior
4.Dataflow
Posted Date:-2022-02-09 00:53:01
Which of the following can’t be a mode for target operand of assignment statement?
1.BUFFER
2.INOUT
3.OUT
4.IN
Posted Date:-2022-02-09 03:09:36
Which of the following circuit can’t be described without using a process statement?
1.Multiplexer
2.D flip-flop
3.Decoder
4.Comparator
Posted Date:-2022-02-09 03:41:39
Which of the following is correct syntax for a signal assignment statement (if {} specifies an optional part)?
1.target <= {delay_mechanism} waveform;
2. target <= delay_mechanism waveform;
3.target <= delay_mechanism {waveform};
4.target <= {delay_mechanism} {waveform} value;
Posted Date:-2022-02-09 02:53:35
Which of the following is most complex?
1.IF THEN ELSE
2.Nested IF THEN ELSE
3.ELSIF
4.CASE
Posted Date:-2022-02-09 04:15:31
Which of the following is not a legal statement used Ii CASE?
1.WHEN 1 =>
2.WHEN 1 TO 3 =>
3.WHEN 1|3 =>
4.WHEN 1 THEN
Posted Date:-2022-02-09 04:17:10
Which of the following is not a type of VHDL modeling?
1.Behavioral modeling
2.Dataflow modeling
3.Structural modeling
4.Component modeling
Posted Date:-2022-02-09 00:33:23
Which of the following operators can’t be used in the choices of a CASE?
1.Arithmetic
2.Logical
3.Relational
4. Every type of operators can be used
Posted Date:-2022-02-09 04:13:03
Which of the following represents the correct order for keywords?
1.IF, THEN, ELSIF, THEN, ELSE
2. IF, ELSE, THEN, ELSIF, THEN
3.IF, ELSIF, THEN, ELSE, THEN
4. IF, THEN, ELSE, THEN, ELSIF
Posted Date:-2022-02-09 03:47:22
Which of the following signal uses keyword EVENT?
1.Variables
2.Output
3.Input
4.Clock
Posted Date:-2022-02-09 03:42:24
Which of the following statement can’t be used inside a process?
1.WAIT
2.IF ELSE
3.Variable declaration
4.PORT MAP
Posted Date:-2022-02-09 03:26:38
Which of the following statement is used in structural modeling?
1.portmap()
2.process()
3.if-else
4.case
Posted Date:-2022-02-09 00:40:08
Which of the following statement is used when there are no signals in the sensitive list?
1.WHEN
2.IF ELSE
3.WAIT
4.CASE
Posted Date:-2022-02-09 03:19:32