Commiting changes to emulator regarding the peripheral registers. Each peripheral register is a separate class which inherits Register class. Also, the python callback support is implemented in each peripherals for future use. The Register class now contains the c-python code which calls the python callback function for printing in test suites log files. The c-python extension module is integrated into the emulator.mk and the module can be loaded both in emulator as well as python test libraries. The run-tests.sh script contains the path to test directory where the shared library of c-python extension module is built during compilation.
This commit is part of commit f3e8bc1... I forgot to staged them for this commit.