Adding support for automatically resettable flags.
Adding task to monitor core even in the top.
(1) Adding missing error port in core instance. (2) Added dump of top state.
Merge remote-tracking branch 'origin/reset_flags'