Question: Write a Verilog module of an address decoder/address match detector. One input to the address decoder is an 8-bit address, addr. The second input is

Write a Verilog module of an address decoder/address match detector. One input to the address decoder is an 8-bit address, addr. The second input is the 6-bit vector check. The address decoder will output Sel = 1 if the upper 6 bits of the 8-bit address match the 6-bit check vector. For example, if addr = 10001010 and check = 1000XX, then Sel = 1. Only the 6 leftmost bits of addr will be compared; the remaining bits are ignored. An X in the check vector is treated as a don’t care.

Step by Step Solution

3.49 Rating (175 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

module addrdecoder addr check Sel input 7 0 addr input 5 0 check output Sel ... View full answer

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 Digital Systems Design Questions!