You must login before you can post a comment.
Author: Robert DiPardo
Project access type: Public
Description:
Returns the number of neutrons in the most common stable isotope of the first ten elements of the Periodic Table, indicated by atomic number.
The four inputs a0, a1, a2, a3 indicate the element’s atomic number, with a0 being the least significant bit, and a3 the most significant bit.
The five outputs n0, n1, n2, n3, n4 indicate the neutron count of the element’s most common stable isotope, as well as any error condition, with n0 being the least significant bit of the neutron count, n3 the most significant bit, and n4 being a flag bit that is 1 in case of an error, 0 otherwise.
Since the smallest atomic number is 1, an input value of 0 will set the error flag to 1. Although the input bits can represent a maximum value of 1510, meaningful output is only guaranteed for the first ten atomic numbers. Input values above 1010 will also set the error flag to 1.
Created: Dec 03, 2022
Updated: Aug 27, 2023
Comments