Refactor plumbing to use unsigned instead of std_logic_vector where appropriate