renode/renode-docs

Missing comma in logging basics

Closed this issue · 2 comments

Hello. I've tried using this and this snippet of code. It only worked after I added a comma between the range boundaries. Should the comma be there?

Depends what you want to do...
sysbus SilenceRange <A B> == sysbus SilenceRange <A,A+B-1>

So A is address and B is size of the region if you're using space in between. If you use comma, the second parameter is the offset of the end of the range, not size.