Page 2 of 2

Re: Wrap around by bit masking

Posted: Wed Jan 20, 2021 4:49 pm
by deraudrl
It just dawned on me that I had once used this exact method for a similar application...on an i860 chip.

Gawd, I feel old. :shock:

Re: Wrap around by bit masking

Posted: Sat Jan 23, 2021 3:47 am
by trogluddite
HughBanton wrote:However I've put together a schematic showing my [...] code

Aha, a "memrefin" example - I'd been getting curious about those ever since you first mentioned them! Thanks! :D

Re: Wrap around by bit masking

Posted: Sat Jan 23, 2021 5:25 pm
by HughBanton
I've made a couple of mods to my wave-scan dem and updated the original post, v2. Nothing serious; I spotted one factual slip-up on the front, and I've also added the key to memrefin[addr] which @myco posted when it was first introduced on Alpha.

The dual wave-read code is also 99% @myco's - as if you couldn't guess!

H

Re: Wrap around by bit masking

Posted: Sat Jan 23, 2021 9:05 pm
by trogluddite
^ Excellent, the memref key makes everything a lot clearer - thanks again!