A gem5-based framework for analyzing IoT microcontrollers with peripherals and firmware

preprint OA: closed CC-BY-4.0
📄 Open PDF Full text JSON View at publisher

Abstract

Abstract The rapid proliferation of Internet of Things (IoT) devices imposes stringent demands on energy efficiency, real-time responsiveness, and security, which traditional simulation approaches often fail to address due to their limited ability to capture microarchitectural interactions. This paper introduces Gem5-ML, a gem5-based framework extended with IoT-specific processor, memory, and peripheral models, coupled with machine learning (ML) to accelerate design-space exploration. Representative workloads including sensing, control, communication, and lightweight security kernels are executed in SE mode to collect fine-grained microarchitectural statistics such as cache activity, bus contention, interrupt latency, and execution cycles. These features are used to train surrogate ML models that enable fast and accurate prediction of performance and energy trade-offs, reducing exploration time by up to 10× while maintaining over 90% Pareto front coverage. The framework also incorporates anomaly detection mechanisms capable of identifying reliability issues such as interrupt storms, cache thrashing, and voltage droop with high accuracy. Experimental results demonstrate that Gem5-ML achieves efficient exploration, robust prediction, and actionable insights for energy-aware and secure IoT microcontroller design, highlighting its potential as a scalable methodology for next-generation low-power and resilient embedded systems.
Full text 26,538 characters · extracted from preprint-html · click to expand
A gem5-based framework for analyzing IoT microcontrollers with peripherals and firmware | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article A gem5-based framework for analyzing IoT microcontrollers with peripherals and firmware Muhammad Awais, Maria Mushtaq, Lirida Naviner, Jawad Haj Yahya, and 2 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7754195/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract The rapid proliferation of Internet of Things (IoT) devices imposes stringent demands on energy efficiency, real-time responsiveness, and security, which traditional simulation approaches often fail to address due to their limited ability to capture microarchitectural interactions. This paper introduces Gem5-ML, a gem5-based framework extended with IoT-specific processor, memory, and peripheral models, coupled with machine learning (ML) to accelerate design-space exploration. Representative workloads including sensing, control, communication, and lightweight security kernels are executed in SE mode to collect fine-grained microarchitectural statistics such as cache activity, bus contention, interrupt latency, and execution cycles. These features are used to train surrogate ML models that enable fast and accurate prediction of performance and energy trade-offs, reducing exploration time by up to 10× while maintaining over 90% Pareto front coverage. The framework also incorporates anomaly detection mechanisms capable of identifying reliability issues such as interrupt storms, cache thrashing, and voltage droop with high accuracy. Experimental results demonstrate that Gem5-ML achieves efficient exploration, robust prediction, and actionable insights for energy-aware and secure IoT microcontroller design, highlighting its potential as a scalable methodology for next-generation low-power and resilient embedded systems. IoT Circuits Gem5 Simulation Machine Learning Design Space Exploration Anomaly Detection Energy Efficiency Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-7754195","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":533286481,"identity":"da6c04fd-fa70-4ea7-91b8-6f8c6e09492d","order_by":0,"name":"Muhammad Awais","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABMElEQVRIie3PMUvDQBTA8RcCyRK59QWp30BoCQTBUr/KHYFMuSwdC3oQiKNrxcGvUBButmToEupqCYjiqpg6lIABTTKU2gSqm0j+wxvu7sfdAbS1/cmMaiqinBT6APp6q1zs7yQugvqNuDsIQLRJyurkcMyn7wtv0BF63Esf87tToqrTdOmBT66iIAX6sE3se9/Z59KxhOFZyMIEzUBzzEsJQ5yzEIEO68TrFkRlAvgEmUiwGxm2uic/mYiVEJSMNhDrg8szJsjrTUbzOZ5EZFUQYNexUj6sidjFLRETyCVS7Ra7qqFVZBIrAptI/GIfczmzQnxbHbHQMceRZlV/6RUPQ9pAZp6VcDnqXBDXWWT5gJDz4CldSvAPYv05Tetknba9QDfmD/vV4ba2trZ/3Rf64W//k6daegAAAABJRU5ErkJggg==","orcid":"","institution":"Telecom-Pairs","correspondingAuthor":true,"prefix":"","firstName":"Muhammad","middleName":"","lastName":"Awais","suffix":""},{"id":533286482,"identity":"05959436-74f4-4faf-8e3e-fe0b5ea41733","order_by":1,"name":"Maria Mushtaq","email":"","orcid":"","institution":"Telecom-Pairs","correspondingAuthor":false,"prefix":"","firstName":"Maria","middleName":"","lastName":"Mushtaq","suffix":""},{"id":533286483,"identity":"ff0095af-5b33-4ad6-a1b4-df2dfc48d03b","order_by":2,"name":"Lirida Naviner","email":"","orcid":"","institution":"Telecom-Pairs","correspondingAuthor":false,"prefix":"","firstName":"Lirida","middleName":"","lastName":"Naviner","suffix":""},{"id":533286484,"identity":"1d2cf173-1572-4da5-9aa5-c0f624c05bbb","order_by":3,"name":"Jawad Haj Yahya","email":"","orcid":"","institution":"RivIO","correspondingAuthor":false,"prefix":"","firstName":"Jawad","middleName":"Haj","lastName":"Yahya","suffix":""},{"id":533286485,"identity":"6f1bb4c5-9d9a-44dc-865a-66c7332fc258","order_by":4,"name":"Florent Bruguier","email":"","orcid":"","institution":"University of Montpellier - CNRS","correspondingAuthor":false,"prefix":"","firstName":"Florent","middleName":"","lastName":"Bruguier","suffix":""},{"id":533286486,"identity":"b491afca-b51f-402b-91aa-ef49c69ac4ed","order_by":5,"name":"Nicolas Sklavos","email":"","orcid":"","institution":"University of Patras","correspondingAuthor":false,"prefix":"","firstName":"Nicolas","middleName":"","lastName":"Sklavos","suffix":""}],"badges":[],"createdAt":"2025-09-30 18:23:18","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7754195/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7754195/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":94163766,"identity":"c83699a0-2bac-4616-9255-a58735516fdc","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"json","order_by":0,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":7518,"visible":true,"origin":"","legend":"","description":"","filename":"611b3f09605e4a898c5ebfb0c34a8c19.json","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/29a5025a77886df19f65db65.json"},{"id":94163293,"identity":"97005271-c0ee-4abc-8c1b-8629a57902a4","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"xml","order_by":1,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":111844,"visible":true,"origin":"","legend":"","description":"","filename":"611b3f09605e4a898c5ebfb0c34a8c191enriched.xml","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/e4465a6e4b2b533f0aad367d.xml"},{"id":94163769,"identity":"3c6fee16-31a4-427e-83aa-127eff7bbf34","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"pdf","order_by":2,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":979420,"visible":true,"origin":"","legend":"","description":"","filename":"Agem5basedframeworkforanalyzingIoTmicrocontrollerswithperipheralsandfirmwareSpringerNature5.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/fa5458e45b15403721b66b37.pdf"},{"id":94163291,"identity":"a0ddad2c-d5da-45c9-a4cf-56ebf267aa50","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"png","order_by":3,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":46994,"visible":true,"origin":"","legend":"","description":"","filename":"MLperforance.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/260f09c0f62133e4bd0efde8.png"},{"id":94163768,"identity":"46a8771e-098d-4e3d-ba65-b86710db4a83","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"png","order_by":4,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":38921,"visible":true,"origin":"","legend":"","description":"","filename":"anomoly.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/f91f61fcdb1574c3c089d91e.png"},{"id":94163295,"identity":"f8b0ab36-dc45-4ca9-be14-aa0238ca0737","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"pdf","order_by":5,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":52358,"visible":true,"origin":"","legend":"","description":"","filename":"coverlatter.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/0ed449c4afdb789aab96c6a0.pdf"},{"id":94163767,"identity":"c78dcc29-9635-412c-9a0c-bc994dc460a1","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"png","order_by":6,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":56658,"visible":true,"origin":"","legend":"","description":"","filename":"des.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/9b06b982c6b43fca2eb8f6e8.png"},{"id":94163326,"identity":"9e729d7d-d4c7-4a40-afd5-b551e2d84bc0","added_by":"auto","created_at":"2025-10-23 05:33:22","extension":"png","order_by":7,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":146452,"visible":true,"origin":"","legend":"","description":"","filename":"dseconfigspanel.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/503e481f7ad82006636fef78.png"},{"id":94163299,"identity":"e5f6b649-4754-44f2-9e0e-edf67aa50326","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"png","order_by":8,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":130209,"visible":true,"origin":"","legend":"","description":"","filename":"dseexplorationtimepanel.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/e8f0bc97c1f4061577a463b5.png"},{"id":94163297,"identity":"d72fdc0d-9c93-4165-ae21-77a375e3d1a2","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"png","order_by":9,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":203713,"visible":true,"origin":"","legend":"","description":"","filename":"dseparetocoveragepanel.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/1a760d251d1a778275615312.png"},{"id":94163300,"identity":"a6c6fe7a-a7ee-42eb-91c9-373cf4cbe7f6","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"eps","order_by":10,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":2890,"visible":true,"origin":"","legend":"","description":"","filename":"empty.eps","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/84b0d6696cecd247415f6893.eps"},{"id":94163770,"identity":"eb96dff6-6bff-4450-9a2f-67cdbf4e4990","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"png","order_by":11,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":42924,"visible":true,"origin":"","legend":"","description":"","filename":"energypridcition.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/30c377437e860ef26a8b42d8.png"},{"id":94163774,"identity":"1b998d6b-2092-48bd-beb3-4023743c2203","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"eps","order_by":12,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":91593,"visible":true,"origin":"","legend":"","description":"","filename":"fig.eps","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/3d7978e8f97d0fa3c6ed5906.eps"},{"id":94163316,"identity":"af54a5d1-5c5f-47b9-8f4b-6160a34659c1","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"png","order_by":13,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":141237,"visible":true,"origin":"","legend":"","description":"","filename":"methodology.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/254b9f060312f90f20bf1924.png"},{"id":94163317,"identity":"9d98f5e6-9643-414a-b9a4-3788a2e4846a","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"png","order_by":14,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":51289,"visible":true,"origin":"","legend":"","description":"","filename":"powerconsomption.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/a869c509b2b18d0bfd4933c8.png"},{"id":94163308,"identity":"9d1f24bd-3932-44d2-a07f-aa6193fb3992","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"png","order_by":15,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":141453,"visible":true,"origin":"","legend":"","description":"","filename":"scalabilitycomparison.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/f86b22ec13a158caadb70723.png"},{"id":94163305,"identity":"952fabaa-d262-4259-bb23-1580cc537d68","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"png","order_by":16,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":171661,"visible":true,"origin":"","legend":"","description":"","filename":"scalabilitycomparisonlogy.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/ab1b0168f5eb7a587f94bdad.png"},{"id":94163321,"identity":"d9dfd5f0-a661-4edb-a2d7-bae58c473c00","added_by":"auto","created_at":"2025-10-23 05:33:22","extension":"bst","order_by":17,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":146013,"visible":true,"origin":"","legend":"","description":"","filename":"snapacite.bst","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/e05a3c63fb4affeac7aac183.bst"},{"id":94163302,"identity":"cd4463d2-16ee-445b-84dd-762d8943bcca","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"bst","order_by":18,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":29828,"visible":true,"origin":"","legend":"","description":"","filename":"snaps.bst","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/60543591617c9a5fc4d21802.bst"},{"id":94163312,"identity":"892ba0d6-cbe0-4402-82fa-2857dc93070d","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"pdf","order_by":19,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":421391,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/6a1b7e20f8d4befdb948f38c.pdf"},{"id":94163318,"identity":"e39c559c-8b13-495c-a50c-8b81d6c61ada","added_by":"auto","created_at":"2025-10-23 05:33:22","extension":"bst","order_by":20,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":35515,"visible":true,"origin":"","legend":"","description":"","filename":"snbasic.bst","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/74df8a75267008d6fb233d79.bst"},{"id":94163771,"identity":"85998716-2cff-41c9-976a-8e5eb592d53d","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"bst","order_by":21,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":33968,"visible":true,"origin":"","legend":"","description":"","filename":"snchicago.bst","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/2ae0f588466a8203c9c88c17.bst"},{"id":94163307,"identity":"56816423-d577-4559-a0e8-6ad8df4b57a9","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"cls","order_by":22,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":55821,"visible":true,"origin":"","legend":"","description":"","filename":"snjnl.cls","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/69b24bedb93b2812d4833fb5.cls"},{"id":94163309,"identity":"6cbcd2e2-37f9-4497-8e29-cbc79f0eec82","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"bst","order_by":23,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":64023,"visible":true,"origin":"","legend":"","description":"","filename":"snmathphysay.bst","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/d4b7eec4cdc3fe4ed408b8d7.bst"},{"id":94163776,"identity":"80bdd8a0-40e5-4e27-b5a4-db964cb7b8a7","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"bst","order_by":24,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":64166,"visible":true,"origin":"","legend":"","description":"","filename":"snmathphysnum.bst","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/6247cb8a92dc7ff29286b071.bst"},{"id":94163306,"identity":"6019e30b-655b-4540-97ff-30ed7cb8781b","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"bst","order_by":25,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":37333,"visible":true,"origin":"","legend":"","description":"","filename":"snnature.bst","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/5a430d65cca2746b76eff49c.bst"},{"id":94163777,"identity":"3f2ddd6b-738b-4e15-9f08-c0c2c535c1a3","added_by":"auto","created_at":"2025-10-23 05:41:22","extension":"bst","order_by":26,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":39951,"visible":true,"origin":"","legend":"","description":"","filename":"snvancouveray.bst","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/53fece36b3ba1b7376ea7bf5.bst"},{"id":94163304,"identity":"8e205f26-eddb-4133-8f17-c09e775f7987","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"bst","order_by":27,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":40758,"visible":true,"origin":"","legend":"","description":"","filename":"snvancouvernum.bst","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/2332d56bde3e2a4046f21eae.bst"},{"id":94163893,"identity":"7d3da1c2-2d05-4fb6-ad85-8f56174d4d37","added_by":"auto","created_at":"2025-10-23 05:49:21","extension":"pdf","order_by":28,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":418495,"visible":true,"origin":"","legend":"","description":"","filename":"usermanual.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/2fb01602fc9532d4dd5b6608.pdf"},{"id":94163323,"identity":"5fa94998-67d5-453b-9ef3-c67525b89796","added_by":"auto","created_at":"2025-10-23 05:33:22","extension":"png","order_by":32,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":128597,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinedseconfigspanel.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/c854bc1a3bc22a42c41e6cfb.png"},{"id":94163772,"identity":"2c3a281e-8179-49f1-936f-dd89eaefcd3e","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"png","order_by":33,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":115385,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinedseexplorationtimepanel.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/39b024a9d85153c404812b45.png"},{"id":94163775,"identity":"c616d595-90fb-4548-a141-179cc6a36b9d","added_by":"auto","created_at":"2025-10-23 05:41:21","extension":"png","order_by":34,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":178775,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinedseparetocoveragepanel.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/5cf1fef6e0a9162a0cbf2c8e.png"},{"id":94163319,"identity":"4946934a-e035-42c0-9d35-5eb4473b3c58","added_by":"auto","created_at":"2025-10-23 05:33:22","extension":"png","order_by":37,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":44323,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinepowerconsomption.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/1c1c0c035217e0811cfc0357.png"},{"id":94163314,"identity":"81736f42-03d7-426e-a790-7c2206ef6bb9","added_by":"auto","created_at":"2025-10-23 05:33:21","extension":"png","order_by":39,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":144195,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinescalabilitycomparisonlogy.png","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/8f60f400da78ed265f9e40dd.png"},{"id":94163894,"identity":"224c2349-f48e-48c6-9453-45b0c4cd5a4b","added_by":"auto","created_at":"2025-10-23 05:49:22","extension":"xml","order_by":40,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":125087,"visible":true,"origin":"","legend":"","description":"","filename":"611b3f09605e4a898c5ebfb0c34a8c191structuring.xml","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/4b12819cb617c79f4f04ff88.xml"},{"id":94163778,"identity":"13cfbca2-dd12-4bbd-bafb-2313fa671e67","added_by":"auto","created_at":"2025-10-23 05:41:22","extension":"html","order_by":41,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":132255,"visible":true,"origin":"","legend":"","description":"","filename":"earlyproof.html","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1/0fc152c4ce957f94b0cf73a2.html"},{"id":98423621,"identity":"2d2dd54e-c410-4a63-8084-e74772d1f74b","added_by":"auto","created_at":"2025-12-17 16:32:27","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":970163,"visible":true,"origin":"","legend":"","description":"","filename":"Agem5basedframeworkforanalyzingIoTmicrocontrollerswithperipheralsandfirmwareSpringerNature5.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7754195/v1_covered_827e4fa3-d323-4e6a-8748-403a73a4ee36.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"A gem5-based framework for analyzing IoT\nmicrocontrollers with peripherals and firmware","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"IoT Circuits, Gem5 Simulation, Machine Learning, Design Space Exploration, Anomaly Detection, Energy Efficiency","lastPublishedDoi":"10.21203/rs.3.rs-7754195/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7754195/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eThe rapid proliferation of Internet of Things (IoT) devices imposes stringent demands on energy efficiency, real-time responsiveness, and security, which traditional simulation approaches often fail to address due to their limited ability to capture microarchitectural interactions. This paper introduces Gem5-ML, a gem5-based framework extended with IoT-specific processor, memory, and peripheral models, coupled with machine learning (ML) to accelerate design-space exploration. Representative workloads including sensing, control, communication, and lightweight security kernels are executed in SE mode to collect fine-grained microarchitectural statistics such as cache activity, bus contention, interrupt latency, and execution cycles. These features are used to train surrogate ML models that enable fast and accurate prediction of performance and energy trade-offs, reducing exploration time by up to 10\u0026times; while maintaining over 90% Pareto front coverage. The framework also incorporates anomaly detection mechanisms capable of identifying reliability issues such as interrupt storms, cache thrashing, and voltage droop with high accuracy. Experimental results demonstrate that Gem5-ML achieves efficient exploration, robust prediction, and actionable insights for energy-aware and secure IoT microcontroller design, highlighting its potential as a scalable methodology for next-generation low-power and resilient embedded systems.\u003c/p\u003e","manuscriptTitle":"A gem5-based framework for analyzing IoT\nmicrocontrollers with peripherals and firmware","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-10-23 05:33:16","doi":"10.21203/rs.3.rs-7754195/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"f1e1c32e-3ca8-48ba-ad43-4abf5c7f7dcc","owner":[],"postedDate":"October 23rd, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2025-12-11T07:55:01+00:00","versionOfRecord":[],"versionCreatedAt":"2025-10-23 05:33:16","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-7754195","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7754195","identity":"rs-7754195","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-06-05T02:00:03.366016+00:00
License: CC-BY-4.0