Tech Report: A Virtualized Scratchpad-Based Architecture for Real-time Event-Triggered Applications