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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started