min_9bit

The min_9bit Module: A Vital Component in the Small ALU

Introduction to the min_9bit Module

In digital arithmetic and logic operations, especially within small-scale Arithmetic Logic Units (ALUs), modules that perform basic comparison functions are essential. The min_9bit module is one such component, designed to determine the minimum of two 9-bit signed numbers. This module plays a crucial role in the functionality of the 9-bit ALU, contributing to its ability to perform a range of arithmetic operations efficiently.

Functionality and Design

The min_9bit module operates on two 9-bit inputs, inputA and inputB, and outputs the smaller of the two numbers. The logic implemented in this module is as follows:


System Verilog implementation:

Testbench: