improved readme
Improved README:
The following changes were made to the riscv-opcodes README file to enhance the overall readability and clarity, making it more approachable for both new and experienced contributors:
-
Enhanced Section Organization:
- Clear Table of Contents added at the beginning for easy navigation, including key sections such as Project Structure, File Naming Policy, Encoding Syntax, and Usage.
-
Improved Project Structure Clarity:
- The project structure is now visually represented using a directory tree. This simplifies understanding the role of each file in the repository.
-
File Naming Policy Explanation:
- The section on file naming conventions for instruction encodings is reorganized for improved clarity. The file naming rules now explicitly explain the format for
rv_x,rv32_x,rv64_x,rv_x_y, andunratified/.
- The section on file naming conventions for instruction encodings is reorganized for improved clarity. The file naming rules now explicitly explain the format for
-
Detailed Encoding Syntax:
- The Encoding Syntax section was expanded to include more specific examples and structured explanations of regular instructions, pseudo instructions, and imported instructions. This makes it easier for contributors to grasp the instruction format and syntax.
- Bit encoding types and operators are also described in detail, with examples, for a better understanding of how the encoding works.
-
Clear Workflow for parse.py:
- A new section outlining the flow of the
parse.pyscript was added, including a breakdown of the different phases (regular instructions, pseudo instructions, imported instructions) and the checks performed in each phase. This improves understanding of how the script processes instructions and generates artifacts.
- A new section outlining the flow of the
-
Artifact Generation Process:
- Added clearer, step-by-step instructions on how to generate specific artifacts (like C, Chisel, LaTeX, etc.) using the
parse.pyscript and theMakefile. This helps users understand the full scope of available artifacts and how to produce them. - The prerequisites for generating these artifacts are now specified, along with explicit command examples to ensure users can run the script with ease.
- Added clearer, step-by-step instructions on how to generate specific artifacts (like C, Chisel, LaTeX, etc.) using the
-
Simplified Debugging Instructions:
- Instructions for enabling debug logging in
parse.pyhave been made more prominent, helping users troubleshoot issues more effectively.
- Instructions for enabling debug logging in
-
Contribution Guidelines:
- The section on contributing to the repository has been expanded with clear steps for creating a pull request (PR) and ensuring that all tests pass before submitting changes.
Hi @rpsene, I've added an example for setting options and I'm using trunk for formatting—please let me know if the changes look good or if you'd prefer a different format.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.53%. Comparing base (
383cbca) to head (ec5c00c). Report is 4 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #282 +/- ##
=======================================
Coverage 96.53% 96.53%
=======================================
Files 10 10
Lines 750 750
=======================================
Hits 724 724
Misses 26 26
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
- Flaky Tests Detection - Detect and resolve failed and flaky tests