riscv-isa-manual
open-source-cs
riscv-isa-manual | open-source-cs | |
---|---|---|
41 | 66 | |
3,293 | 17,748 | |
2.6% | - | |
9.7 | 0.0 | |
3 days ago | 4 days ago | |
TeX | ||
Creative Commons Attribution 4.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
riscv-isa-manual
-
The Improved RISC-V Specification (latest WIP draft)
https://github.com/riscv/riscv-isa-manual/releases
Regarding the recent "How to improve the RISC-V specification" post [0], I just wanted to point out, that the latest draft manual is already a great improvement. (see link above)
It includes a lot of the newly ratified extensions: bitmanip,zicond,vector,vector crypto, ...
And there are a bunch of included SAIL definitions for bitmanip and zicond, but other instructions are still missing the SAIL code. Most notably, the SAIL definitions from the RV32I/RV64I base isa are also missing.
I asked for the further SAIL integration plans here: https://github.com/riscv/riscv-isa-manual/issues/1369
Here is an example SAIL snippet from cpopw:
let bitcount = 0;
-
How to improve the RISC-V specification
I encourage you to look at the newest isa manual draft on github: https://github.com/riscv/riscv-isa-manual/releases
It includes the more recently extensions, and e.g. the bitmanip instructions all have associated pseudo code.
Here is e.g. the code for cpopw:
let bitcount = 0;
- Need help with designing a basic RISC V processor?
-
The legend of “x86 CPUs decode instructions into RISC form internally”
I tried searching the spec [1] for "overflow" and here is what it says at page 17:
> We did not include special instruction-set support for overflow checks on integer arithmetic operations in the base instruction set, as many overflow checks can be cheaply implemented using RISC-V branches.
> For general signed addition, three additional instructions after the addition are required
Is this "cheap", replacing 1 instruction with four? According to some old mainframe era research (cannot find link now), addition is the most often used instruction and they suggest that we should replace each one with four?
Their "rationale" is not rational at all. It doesn't make sense.
Overflow check should be free (no additional instructions required), otherwise we will see the same story we have seen for last 50 years: compiler writers do not want to implement checks because they are expensive; language designers do not want to use proper arithmetic because it is expensive. As a result, there will be errors and vulnerabilities. A vicious circle.
[1] https://github.com/riscv/riscv-isa-manual/releases/download/...
- 64-bit Arm ∩ 64-bit RISC V
- Beginner question: F extension
-
Riscv Ghidra Instruction Manual
Why not use the actual release PDF instead from their github? https://github.com/riscv/riscv-isa-manual
-
How would I go about designing an 8-bit RISC-V CPU? Is it possible?
https://github.com/riscv/riscv-isa-manual/releases/download/Priv-v1.12/riscv-privileged-20211203.pdf Part 2
-
Have to convert a C language code into RISC-V MIPS
If you don't want to cheat then read the RISC-V ISA manual: https://github.com/riscv/riscv-isa-manual/releases/download/Ratified-IMAFDQC/riscv-spec-20191213.pdf
-
How does a computer understand machine language?
Yeah you are on the right track. Processors are designed on top of an Instruction Set Architecture (ISA). For an example you can look on top of the RISC-V specifications:https://github.com/riscv/riscv-isa-manual/releases/download/Ratified-IMAFDQC/riscv-spec-20191213.pdf (possible PDF download)
open-source-cs
- Accepted to university but denied loan due to unsettled status. What to do now?
-
Any recommendations for studying computer science in the area or online?
If you are going the broad CS route, do you want a degree, or do you just want the knowledge? If you want a degree, maybe start at a JC, then transfer to a UC or CSU (locally...Sac State). If you just want the knowledge, there are a number of websites out there like OSSU or Teach Yourself CS or this one on Github.
-
Should I continue with the business degree or change to computer science?
Here are pretty much all the classes you would need to take to get a computer science degree.
-
Should I study calculus in the UK or do further maths?
I'm self-studying, and stuck between taking online calculus courses or use UK textbooks to learn further maths. I'm learning maths for a career in CS, following advice online(loose guidelines from a github). Most sources say to learn calculus for CS, however I've seen that A-Level maths is calculus and further maths is less calculus? I'm just confused, there are resources for calculus online so I could do either. My other line of thinking is that if UK has maths/further maths then that must be enough for Universities here... If anyone can give any advice or just point me in the right direction that would be great!
- Fuck College and Diplomas in Kenya
-
A Question for Freelancers
Also check this repository out. It has some useful resources that will give you an edge over others. https://github.com/ForrestKnight/open-source-cs Don't use it right now. Start it when you have learnt a bit of HTML, CSS, Javascript. When you become familiar with these and have built some projects then you will need to up your game. At that point you will be needing this repository.
-
I want to study Software Engineering but I cannot afford it. Any idea what a syllabus would look like to study on my own?
You're in luck!! https://github.com/ForrestKnight/open-source-cs
- How to start getting into coding?
-
Free online coding courses
https://github.com/ForrestKnight/open-source-cs is getting on a bit, but a lot of great info.
-
Seeking mentors & dedicated learners who want to collab & connect while keeping each other motivated to becoming the next developers.🔥 Using Zero to Mastery + other resources. Here's my general guide i'm following to becoming a software engineer:
Although, I am a current comp-sci student, I'm self-learning how to program and self-preparing myself to be job ready. Although, it has definitely been proven possible to achieve this without a computer science education, if anyone who wants to join the group is interested in that, following this free program🎓 while learning to code, would be pretty much the same curriculum that I'm taking at university.
What are some alternatives?
riscv-elf-psabi-doc - A RISC-V ELF psABI Document
computer-science - :mortar_board: Path to a free self-taught education in Computer Science!
riscv-emulator-docker-image
cs-video-courses - List of Computer Science courses with video lectures.
amaranth - A modern hardware definition language and toolchain based on Python
cs-topics - My personal curriculum covering basic CS topics. This might be useful for self-taught developers... A work in development! This might take a very long time to get finished!
riscv-v-spec - Working draft of the proposed RISC-V V vector extension
open-source-cs-python - Video discussing this curriculum:
vroom - VRoom! RISC-V CPU
ibex - Ibex is a small 32 bit RISC-V CPU core, previously known as zero-riscy.
open-source-cs-degree - The Open Source Computer Science Degree