Question: Need help with VHDL coding Pre-Laboratory: (30%) The block diagram shown below represents a calculator. The calculator design has three inputs and one output. A

Need help with VHDL coding

Need help with VHDL coding Pre-Laboratory: (30%) The block diagram shown below

Pre-Laboratory: (30%) The block diagram shown below represents a calculator. The calculator design has three inputs and one output. A and B are each 4-bit numbers that will be operated on according to the table below. OP is a 2-bit input that determines which operation is to be performed on A and B. R is the 8-bit result of the operation A(3 downto 0) B(3 downto 0) OP(1 downto 7 89 R(7 downto 0) 1 2 3 0) Operation A B OP 01 10 A/ B 1. Write the VHDL module (entity and architecture) for the calculator. Use a case statement. Include the following libraries: use IEEE.STD LOGIC 1164.ALL use IEEE.NUMERIC_STD.ALL; Use std logic vectors in the entity . Use signed numbers in the architecture Refer to section 5.7 in the textbook for recommendations 2. Compile the VHDL

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!