Wrap around by bit masking

DSP related issues, mathematics, processing and techniques
deraudrl
Posts: 239
Joined: Thu Nov 28, 2019 9:12 pm
Location: SoCal

Re: Wrap around by bit masking

Post 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:
I keep a pair of oven mitts next to my computer so I don't get a concussion from slapping my forehead while I'm reading the responses to my questions.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Wrap around by bit masking

Post 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
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
HughBanton
Posts: 265
Joined: Sat Apr 12, 2008 3:10 pm
Location: Evesham, Worcestershire
Contact:

Re: Wrap around by bit masking

Post 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
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Wrap around by bit masking

Post by trogluddite »

^ Excellent, the memref key makes everything a lot clearer - thanks again!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Post Reply