litex-hub / ideas Goto Github PK
View Code? Open in Web Editor NEWRandom ideas and interesting ideas for things we hope to eventually do.
Random ideas and interesting ideas for things we hope to eventually do.
Looking at typical cosmetic changes @enjoy-digital makes on top of my commits I'm wondering if there is a description of the LiteX/Migen coding style or one should be written. I normally use PEP8 style and typical differences are:
I can of course configure my IDE for this style and follow it, but rules need to be known for this.
We currently have two different approaches:
It would be good for LiteX to generate suitable device tree for Linux / Zephyr (potentially micropython in future).
I started (but never finished) a tool to take a csr.cvs
file and generate a Linux Device Tree file - see https://github.com/mithro/litex-devicetree
It was targeting producing suitable dts for or1k as part of the LCA2018 Miniconf tutorial (see https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf). It seems to be used here;
A much better solution would be to allow modules to provide devicetree fragments in the same way that they can provide CSRs and stuff.
It would be really cool to transform this repository from linux-on-litex-vexriscv
to linux-on-litex
by supporting non-vexriscv CPUs.
It should be pretty trivial to support the mor1kx (as Linux on LiteX was originally develop for that CPU).
The possible future CPUs that might make some sense to support are;
rocket
- This was added by @gsomlo to LiteX recently and rocket has been a target for RISC-V Linux for a long time. This should hopefully be easy and would test things for 64bit?power
- microwatt
or other power processor would need to be added to LiteX first.sh2
/ sh4
- j-core
or other SH processor would need to be added to LiteX first.It would allow better comparison on things like;
riscv
vs power
vs or1k
)vexriscv
vs rocket
)vexriscv
vs rocket
)I have (first code I've written in many, many years) coded a FAT16 reader for the secondary SD Card attached via SPI, using the GPIO pins on the de10nano as part of the MiSTer system that I own.
The code can be obtained from: https://github.com/rob-ng15/litex-mister
As it is the first coding I've done in many years it may be a bit rough around the edges, and will need tidying up, but as proof of concept it works.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.