• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Bit and pin notation with colons

Cerb

Elite Member
For example, bits/pins 23:8, or 15:0. What exactly is each side referencing? If it's start:end, why the backwards the counting (endianness?)?
 
Because assuming you are talking about an HDL, 23:8 is the same as saying 23 "down to" 8, which refers to bits from 23 to 8 excluding bits 7:0.
 
I'm reading data sheets and assembly language docs (RAM chips, LCD drivers, ADC chips, etc.), which assume I already know these things. Most of it I have been able to either look up or infer well enough, but that's been one that I haven't been able to nail down, that's used everywhere. Programming-centric docs stick to pseudo-C n<<m type notations, but I haven't come across any that have both for the same data sets...and making too much of a mistake could fry things, soon 🙂.
 
Back
Top