Question: What will happen if the following VHDL code is simulated? library IEEE; use IEEE.std_logic_1164.all; use IEEE.std_logic_unsigned.all; entity registers is port( din1, din2 : in std_logic_vector(3

What will happen if the following VHDL code is simulated? library IEEE; use IEEE.std_logic_1164.all; use IEEE.std_logic_unsigned.all; entity registers is port( din1, din2 : in std_logic_vector(3 downto 0); reset : in std_logic; clk : in std_logic; mick,keith : out std_logic_vector(3 downto 0)); end registers ; architecture rtl of registers is begin process(clk, reset) begin if reset = 1 then mick <= "0000"; keith <= "0000"; elsif clkevent and clk = 1 then 4 mick <= din1; end if; end process; process(clk, reset) begin if reset = 1 then mick <= "0000"; keith <= "0000"; elsif clkevent and clk = 1 then keith <= din2; end if; end process; end rtl; What will happen if the above code is synthesised?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!