question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BOOM lacks efficient WFI support

See original GitHub issue

Legally, WFI (wait for interrupt) can be handled as a NOP. However, BOOM should strive to be more efficient in how it handles WFI.

As a starting point, this signal from the CSR file is used to provide WFI support in Rocket (csr.io.csr_stall) by informing the Decode stage to stall:

https://github.com/ucb-bar/rocket-chip/blob/boom/src/main/scala/rocket/csr.scala#L506

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cceliocommented, Oct 25, 2017

Yes, the WFI is given to the CSRFile, since that is where external interrupts are managed. The CSRFile then asserts a csr_stall signal until it something happens. That csr_stall signal is then sent to the ROB and commit is blocked.

https://github.com/ucb-bar/riscv-boom/commit/98c60153c6c49e15aeb5664d702755dd6295fc7d#diff-69f876ff27fd9890b973a8d95cadfc0eR480

0reactions
cceliocommented, Mar 12, 2018

This is now a part of the master branch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FACT SHEET: Executive Order on Promoting Competition in ...
The economy is booming under President Biden's leadership. ... That lack of competition drives up prices for consumers.
Read more >
Not Good: Boom Overture Left Without Engines
The Boom Overture supersonic jet concept is left without engines, as Rolls-Royce has confirmed it's no longer working on this concept.
Read more >
The Best Mini Stereo Amplifier for 2022 | Reviews by Wirecutter
The BT20A includes Bluetooth support for easy wireless connection to ... Its only potential downsides are its lack of Bluetooth support and ...
Read more >
Enterprise Tablet Boom | Field Service Management Operations
The most obvious characteristic that sets tablets apart is the lack of a physical keypad for data input. However, the widespread nature of ......
Read more >
Bluetooth speakers tips and tricks - SoundGuys
Some speakers are simply more efficient than others. Other speakers have a higher output and require more power. For instance, the UE HYPERBOOM...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found