Given a set of centroids coordinates and a set of points coordinates, a FSM computes which is the closest centroid to each point (Manhattan distance).
A txt with many tests has been provided, together with a test generator script.
Given a set of centroids coordinates and a set of points coordinates, a FSM computes which is the closest centroid to each point (Manhattan distance).
VHDL