Q.1.
The process statement used in combinational circuits is called ______ process.
Q.2.
Why we need to include all the input signals in the sensitivity list of the process?
Q.3.
If only two bit vectors are allowed to use in the VHDL code, then how many number of MUX will be required to implement 4 to 1 MUX?
Q.4.
A package is designed called mux4to1_package, in which a component called mux4to1 is defined, which is a 4 to 1 multiplexer. Now a user wants to design ato 1 MUX by using the same component only, how many times he needs to use the PORT MAP statement?
Q.5.
In designing a 2 to 1 demultiplexer with input d, output y and select line s, which of the following is a correct process statement?
Q.6.
The given code represents a convertor. Which kind of convertor it is? ENTITY convert IS PORT(b: IN STD_LOGIC_VECTOR(3 DOWNTO 0); x : OUT STD_LOGIC_VECTOR(7 DOWNTO 0)); END convert; ARCHITECTURE convertor OF covert IS BEGIN PROCESS(b) BEGIN CASE b IS WHEN “=> x <= “1111110”; WHEN “=> x <= “0110000”; WHEN “=> x <= “1101101”; WHEN “=> x <= “1111001”; WHEN “=> x <= “0110011”; WHEN “=> x <= “1011011”; WHEN “=> x <= “1011111”; WHEN “=> x <= “1110000”; WHEN “=> x <= “1111111”; WHEN “=> x <= “1110011”; WHEN OTHERS => x <= “0000000”; END CASE; END PROCESS; END convertor;
Q.7.
What is the function of the below code? ENTITY my_logic IS PORT (din : STD_LOGIC_VECTOR(7 DOWNTO 0); Count : STD_LOGIC_VECTOR(3 DOWNTO 0)); END my_logic; ARCHITECTURE behavior OF my_logic IS BEGIN Count <= “PROCESS(din) BEGIN LFOR i IN 0 TO 7 LOOP IF(din(i) = ‘1’) THEN Count = count+ELSE NEXT LEND LOOP; END PROCESS; END behavior;
Q.8.
What will be the value of count output, if the data din is ENTITY my_logic IS PORT (din : STD_LOGIC_VECTOR(7 DOWNTO 0); Count : STD_LOGIC_VECTOR(3 DOWNTO 0)); END my_logic; ARCHITECTURE behavior OF my_logic IS BEGIN Count <= “PROCESS(din) BEGIN LFOR i IN 0 TO 7 LOOP IF(din(i) = ‘1’) THEN Count = count+ELSE NEXT LEND LOOP; END PROCESS; END behavior;
Q.9.
In the combinational process, the use of output signal in the sensitivity list is illegal.
Q.10.
A parity generator is a combinational circuit and is designed by using a combinational process.