============================================================================
This file contains the macro definations for Register layer