Software pays better, which is why so many hardware people switched, including myself. In my group, which is mixed between the two, my software job classification nets me a higher bonus and easier promotions
Edit: also never have to stay late to rework components on dozens of eval boards, and also never have to talk with manufacturers 10 timezones away