bitflipsim is a gate level simulator that keeps track of the number of toggled bits in a system.
git clone --recursive https://github.com/GuzTech/bitflipsim.git
cd bitflipsim
make init
make
./bitflipsim <configuration_file>.yaml
A simple digital circuit simulation tool