Question: NEED DESIGN CODE, TESTBENCH CODE AND WAVEFORMS NEED VHDL DESIGN CODE, TESTBENCH CODE AND WAVEFORMS PLEASE ANSWER IN VHDL Problem 1: (30 pts) Design a

NEED DESIGN CODE, TESTBENCH CODE AND WAVEFORMS NEED DESIGN CODE, TESTBENCH CODE AND WAVEFORMS NEED VHDL DESIGN CODE, TESTBENCH
NEED VHDL DESIGN CODE, TESTBENCH CODE AND WAVEFORMS
PLEASE ANSWER IN VHDL CODE AND WAVEFORMSPLEASE ANSWER IN VHDL Problem 1: (30 pts) Design a

Problem 1: (30 pts) Design a 16-bit Logic Unit with A, B, and Opcode as inputs and LogicOut as output. This design performs logical operations: A and B, A or B, A nand B, A nor B, A xor B, A xnor B, Not A, and Not B. This 16-bit Logic Unit has the following entity: entity LogicUnit16bit is Port (A IN std_logic_vector (15 downto 0); -- Input IN std_logic_vector (15 downto 0); -- Input : IN std logic vector (2 downto 0); -- op select Logicout : OUT std_logic_vector (15 downto 0)); -- Output end LogicUnit16bit; Below table describes the behavior of 16-bit Logic Unit: Operation A nor B Opcode (2 downto 0) 000 001 010 Anand B 011 100 101 A or B A and B A xor B A xnor B Not A 110 Not B Design a test bench to verify the functionality of your design. All possible operations should be included in the test bench and shown in the simulation waveform. Problem 1: (30 pts) Design a 16-bit Logic Unit with A, B, and Opcode as inputs and LogicOut as output. This design performs logical operations: A and B, A or B, A nand B, A nor B, A xor B, A xnor B, Not A, and Not B. This 16-bit Logic Unit has the following entity: entity LogicUnit16bit is Port (A IN std_logic_vector (15 downto 0); -- Input IN std_logic_vector (15 downto 0); -- Input : IN std logic vector (2 downto 0); -- op select Logicout : OUT std_logic_vector (15 downto 0)); -- Output end LogicUnit16bit; Below table describes the behavior of 16-bit Logic Unit: Operation A nor B Opcode (2 downto 0) 000 001 010 Anand B 011 100 101 A or B A and B A xor B A xnor B Not A 110 Not B Design a test bench to verify the functionality of your design. All possible operations should be included in the test bench and shown in the simulation waveform

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!