Question: Write an HDL module that implements the binary-to-thermometer code converter from Exercise 2.38. Data from problem 2.38 An M-bit thermometer code for the number k
Write an HDL module that implements the binary-to-thermometer code converter from Exercise 2.38.
Data from problem 2.38
An M-bit thermometer code for the number k consists of k 1’s in the least significant bit positions and M – k 0’s in all the more significant bit positions. A binary-to-thermometer code converter has N inputs and 2N –1 outputs. It produces a 2N –1 bit thermometer code for the number specified by the input. For example, if the input is 110, the output should be 0111111. Design a 3:7 binary-to-thermometer code converter. Give a simplified Boolean equation for each output, and sketch a schematic.
Step by Step Solution
3.44 Rating (157 Votes )
There are 3 Steps involved in it
SystemVerilog VHDL module thermometer input l... View full answer
Get step-by-step solutions from verified subject matter experts
