Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[top] Provide list of desired vectors for power estimation #9297

Closed
6 tasks
tjaychen opened this issue Nov 18, 2021 · 8 comments
Closed
6 tasks

[top] Provide list of desired vectors for power estimation #9297

tjaychen opened this issue Nov 18, 2021 · 8 comments
Assignees
Labels
Priority:P0 Priority: critical TOP:earlgrey Type:Task Tasks, to-do list.

Comments

@tjaychen
Copy link

tjaychen commented Nov 18, 2021

  • power virus test that simulates maximum instantaneous step. This should include

    • staggered activation of otbn, aes, kmac/hmac.
      - kmac / aes would need to take turns being fed data
      - kmac activation should be a combination of otp background, key manager background and software
      - for otbn, any signature verification / signing event is sufficient
    • entropy complex ongoing
      - reseed / update operation ongoing
    • flash scramble ongoing (ideally both instruction and data, but data should be sufficient for now)
      - instruction scrambling gated by script availability
    • simultaneous io toggling as defined here
      - ideally for digital activity, 3xuart / 2xi2c modules should be activated
      - for first pass simplicity can activate IO portion only for now through GPIO
      - for dedicated pins, focus on SPI device quad activity
      - USB activity should be activated
      - for first pass simplicity activate IO portion only for now via pin forcing in usbdev.
    • ongoing cpu activity (icache / sram scrambling both activated)
      - servicing ongoing threads and random read/write data to memory
      - icache needs to be activated, otherwise the system may spend most of its time fetching code
      - flash verification is currently insufficient to turn on icache
    • background checks enabled wherever possible
      - rstmgr background checks
      - others?
  • low power test that simulates deep sleep state

  • low power test that simulates light sleep state

  • general system idle that is NOT low power

Make sure to document these test cases in the test plan.

@tjaychen tjaychen self-assigned this Nov 18, 2021
@tjaychen
Copy link
Author

@zi-v

@zi-v
Copy link
Contributor

zi-v commented Nov 21, 2021

Thanks!

@tjaychen
Copy link
Author

@zi-v let me know if there are other scenarios of interest.

@zi-v
Copy link
Contributor

zi-v commented Nov 23, 2021

For the max instantaneous step, please also consider adding concurrent IO toggling.

@tjaychen
Copy link
Author

tjaychen commented Nov 23, 2021 via email

@zi-v
Copy link
Contributor

zi-v commented Nov 25, 2021

More power scenarios:

  • Power up
  • Transition from Active to AON
  • Transition from AON to Active

@tjaychen
Copy link
Author

@zi-v are the latter two not covered by transition in and out of low power states? That was my intent.

@zi-v
Copy link
Contributor

zi-v commented Nov 26, 2021

They are. I was just not clear to me that the above covers it already. I thought it only talk about the static state and wanted to make sure that the transitions are also covered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:P0 Priority: critical TOP:earlgrey Type:Task Tasks, to-do list.
Projects
None yet
Development

No branches or pull requests

5 participants