The 4x2 Priority Encoder was verified using a SystemVerilog testbench with assertions, scoreboard checking, and constrained random tests to ensure correct functionality and priority handling across ...
CO3 (Combinational): a 16→4 priority encoder that converts pressed keys into a 4-bit BCD output for digits 0–9. CO4 (Sequential): debouncing using a monostable timer and a clocked D flip-flop sampling ...