Comments (11)
from bitfield.
From the nRF52833 document:
Where, apropos of nothing, I found this SPI timing diagram:
from bitfield.
Do you have some visually pleasing example of memory map diagram that you like?
from bitfield.
Here's a memory map from the EFM32HG by SiLabs, which is a bit on the advanced side but nicely shows how you'd expand on memory register regions. This is my favourite of the bunch, because of how it visually explains where the "expanded" regions are:
Various 8051 chips also have handy memory maps, and because they're so small they actually specify bitfields within the memory maps:
Here's one of the Nintendo 64, which mostly illustrates how you'd have variable-height regions:
Here's one describing the NES, which is nice because it has two side-by-side memory maps that are independent:
from bitfield.
Example with some paper tear effect.
from bitfield.
I spent a lot of time with the i.MX233 which has a bank of otp fuses. Here's the memory map from the reference manual:
Here's the full memory map, which just has the peripherals listed as "Peripheral Space":
from bitfield.
Necessary modification I see:
- left-sided index must be a settable property of lane
- may be autofilled via global option for default compact behaviour
- additional begin & end index needs to be introduced for large adress spaces
- attributes may be used for this, since they are not compatible with the compact mode
- cage rendering must support multiple options
- merged option
- only left/right, starting lane bottom and ending lane top border is drawn. Multiple lanes would be merged to a single thing. Label is only drawn once.
- no tick option
- draw no ticks inside the cage
- crossed out option
- connecting left,bottom corner with right,upper one
- for showing non linear behaviour
- connecting left,bottom corner with right,upper one
- merged option
- some attribute holding a whole new bitfield object
- will be on the right side of prior bitfield
- centered to the lane holding the attribute
- have these "extending" lines from the right corners of cage to the left corners of new bitfield
from bitfield.
@nopeslide good ideas. I would need some sketches of the ideas you have.
from bitfield.
@drom I sketched just the index and sub-bitfield idea
from bitfield.
from bitfield.
Discovered in the reference manual of an RZ/T1 -- this has four separate memory spaces, and so there are four columns.
from bitfield.
Related Issues (20)
- attr as array
- attr as number
- Support for `--bigendian true` HOT 7
- compact mode attributes HOT 5
- don't care bit rendering
- [Feature] ASCII output HOT 1
- Support rotation of labels inside bitfield HOT 8
- Left of Register with reg: HOT 2
- Support creation of memory maps HOT 2
- Document "reg" HOT 1
- integer value for attr instead of binary HOT 1
- Is it possible to display all the numbers? HOT 2
- Separator for long/variable length field HOT 2
- Auto detect total number of bits HOT 1
- Attrs spanning multiple bits. HOT 2
- Longer bitfields HOT 1
- Change color property from Hsl to Hex
- declaring multiple registers in bitfield HOT 4
- Document byte / character-based protocol in byte order using range description HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitfield.