And I think there are stronger findings that autism/ADHD is at least partially genetic.
P.S. I would caution you against holding a premise of a hard "or", that mental conditions are either hardware or software, or the hidden premise that you can't patch hardware with software.