quiz: from this snippet, would you be able to understand how to program the breakpoint/watchpoint units in tandem?
Conversation
Notices
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Tuesday, 06-May-2025 03:35:58 JST ✧✦Catherine✦✧
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Tuesday, 06-May-2025 03:39:35 JST ✧✦Catherine✦✧
in order to single-step on this goddamn core, you have to program the two breakpoint/watchpoint units in tandem
the second one is used to match on only the address of the current instruction
and the first one is used to construct a NOT gate appended to the output of the second one
it took me like 20 minutes to figure out how to implement this, _and i write RTL professionally_
imagine being a developer with no RTL background or something :)
-
Embed this notice
Andrew Zonenberg (azonenberg@ioc.exchange)'s status on Tuesday, 06-May-2025 03:43:37 JST Andrew Zonenberg
@whitequark debug random number generator
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Tuesday, 06-May-2025 03:43:51 JST ✧✦Catherine✦✧
@azonenberg well it definitely generates numbers
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Tuesday, 06-May-2025 04:59:28 JST ✧✦Catherine✦✧
one more upsetting comment for the upsetting comment pile
-
Embed this notice
Andy Wingo (wingo@mastodon.social)'s status on Tuesday, 06-May-2025 05:07:37 JST Andy Wingo
@whitequark lol. lmao
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Tuesday, 06-May-2025 05:08:27 JST ✧✦Catherine✦✧
@wingo I designed several CPUs and build debug tooling for CPUs for both software _and_ RTL side and I still somewhat struggled with this!
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Tuesday, 06-May-2025 06:54:44 JST ✧✦Catherine✦✧
another one
-
Embed this notice
Ted Mielczarek (tedmielczarek@mastodon.social)'s status on Tuesday, 06-May-2025 07:50:44 JST Ted Mielczarek
@whitequark the GDB remote protocol is such a mess of undocumented assumptions.
-
Embed this notice
TheZoq2 (thezoq2@mastodon.social)'s status on Tuesday, 06-May-2025 15:48:09 JST TheZoq2
@whitequark Ah yes, verilog concatenation syntax, truly the most universal way to express this
Also, beautiful formatting, no notes
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Tuesday, 06-May-2025 18:00:37 JST ✧✦Catherine✦✧
@equinox there is a { missing, yep
-
Embed this notice
equi (equinox@chaos.social)'s status on Tuesday, 06-May-2025 18:00:38 JST equi
@whitequark is there a { missing on the 3rd line or am I blind?
-
Embed this notice