Question: 1. Write a Verilog HDL code that will take two decimal inputs (A & B) and convert them into binary using single-precision IEEE 754 standard.

1. Write a Verilog HDL code that will take two decimal inputs (A & B) and convert them into binary using single-precision IEEE 754 standard. (note the inputs could be not a whole number example (4.78, 7.532)) don't use single characters or abbreviations for variable names

write detailed comments on every step

2. after converting the two decimal inputs(A & B) to binary using single-precision IEEE 754 standard write a code for a module that would do the following:

1. adds the two binary values and display the result ( A + B ) 2. subtract the two binary values and display the result (A - B ) 3. divides the two binary values and display the result ( A / B ) 4. multiply the two binary values and display the result ( A * B )

don't use single characters or abbreviations for variable names

write detailed comments on every step

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!