Question: Write an HDL module that implements the priority encoder from Exercise 2.36. Data from Problem 2.36 A priority encoder has 2 N inputs. It produces
Write an HDL module that implements the priority encoder from Exercise 2.36.
Data from Problem 2.36
A priority encoder has 2N inputs. It produces an N-bit binary output indicating the most significant bit of the input that is TRUE, or 0 if none of the inputs are TRUE. It also produces an output NONE that is TRUE if none of the inputs are TRUE. Design an eight-input priority encoder with inputs A7:0 and outputs Y2.0 and NONE. For example, if the input is 00100000, the output Y should be 101 and NONE should be 0. Give a simplified Boolean equation for each output, and sketch a schematic.
Step by Step Solution
3.52 Rating (159 Votes )
There are 3 Steps involved in it
SystemVerilog VHDL module priorityencoder input logic 70 a output logic 20 y output logic ... View full answer
Get step-by-step solutions from verified subject matter experts
