FITFLOP
Home

riscv (18 post)


posts by category not found!

struggling with evaluationboard "WCH32v307v R1 1v0" right at the start

Troubleshooting the WCH 32 V307 V R1 1 V0 Evaluation Board A Guide for Beginners If you re embarking on a project using the WCH 32 V307 V R1 1 V0 evaluation boa

3 min read 19-10-2024 26
struggling with evaluationboard "WCH32v307v R1 1v0" right at the start
struggling with evaluationboard "WCH32v307v R1 1v0" right at the start

How can I compile a c program to a baremetal rv32i processor?

Compiling C Programs for Bare Metal RV 32 I Processors Building a C program that runs directly on a bare metal RISC V processor specifically an RV 32 I variant

2 min read 07-10-2024 26
How can I compile a c program to a baremetal rv32i processor?
How can I compile a c program to a baremetal rv32i processor?

In a RISC-V architecture, do jump instructions (conditional or JAL/JALR) increase the PC by 4 as the rest of the instructions?

Do Jump Instructions Increase the PC by 4 in RISC V In the world of RISC V architecture understanding how jump instructions affect the Program Counter PC is cru

2 min read 05-10-2024 26
In a RISC-V architecture, do jump instructions (conditional or JAL/JALR) increase the PC by 4 as the rest of the instructions?
In a RISC-V architecture, do jump instructions (conditional or JAL/JALR) increase the PC by 4 as the rest of the instructions?

Image I/O in RISC-V

Understanding Image I O in RISC V A Deep Dive The RISC V architecture with its open source nature and modular design has gained immense popularity in the embedd

3 min read 05-10-2024 25
Image I/O in RISC-V
Image I/O in RISC-V

Multi-dimensional array in RISC-V

Understanding Multi Dimensional Arrays in RISC V Multi dimensional arrays are essential data structures used in programming to store and manipulate data organiz

2 min read 04-10-2024 34
Multi-dimensional array in RISC-V
Multi-dimensional array in RISC-V

Using gcov on a freestanding environment with riscv64-unknow-elf-gcc 13.2.0

Unlocking Code Coverage in Freestanding RISC V Environments A Guide to Using gcov Developing embedded systems on RISC V architectures often involves working in

2 min read 04-10-2024 32
Using gcov on a freestanding environment with riscv64-unknow-elf-gcc 13.2.0
Using gcov on a freestanding environment with riscv64-unknow-elf-gcc 13.2.0

Custom U-Boot writes to environment file but cannot read from it

Troubleshooting U Boot Environment File Read Write Issues Imagine you ve meticulously crafted a custom U Boot configuration only to find that while it happily w

2 min read 03-10-2024 30
Custom U-Boot writes to environment file but cannot read from it
Custom U-Boot writes to environment file but cannot read from it

Can I make upper mepc bits read-only zero? How to decide?

Understanding and Addressing the Upper ME Pc Bits Read Only Zero Issue Problem In embedded systems particularly with memory mapped peripherals M Pc the question

2 min read 03-10-2024 28
Can I make upper mepc bits read-only zero? How to decide?
Can I make upper mepc bits read-only zero? How to decide?

float/double is not working on qemu and spike for riscv-unknown-elf-gcc tool chain

Floating Point Woes on QEMU and Spike A Guide to RISC V GCC Floating Point Issues The Problem Floating Point Arithmetic Issues in RISC V GCC You re working with

2 min read 02-10-2024 33
float/double is not working on qemu and spike for riscv-unknown-elf-gcc tool chain
float/double is not working on qemu and spike for riscv-unknown-elf-gcc tool chain

RISC-V Fixed Point Arithmetic

RISC V Fixed Point Arithmetic A Deep Dive The RISC V architecture known for its flexibility and open source nature offers support for fixed point arithmetic a c

2 min read 02-10-2024 27
RISC-V Fixed Point Arithmetic
RISC-V Fixed Point Arithmetic

CORDIC algorithm in RISC-V

CORDIC Algorithm Efficient Trigonometry Calculations on RISC V The CORDIC C Oordinate Rotation D Igital Computer algorithm provides a powerful and efficient met

3 min read 02-10-2024 28
CORDIC algorithm in RISC-V
CORDIC algorithm in RISC-V

How to detect if function is called from interrupt handler on RiscV

How to Detect if a Function is Called from an Interrupt Handler on RISC V When programming on RISC V architecture one common requirement is to determine whether

3 min read 01-10-2024 56
How to detect if function is called from interrupt handler on RiscV
How to detect if function is called from interrupt handler on RiscV

I can't figure out a loop problem in my bubblesort, RISC-V

Debugging Your RISC V Bubblesort A Common Loop Issue and Solution Are you wrestling with a stubborn loop bug in your RISC V assembly implementation of bubblesor

2 min read 30-09-2024 23
I can't figure out a loop problem in my bubblesort, RISC-V
I can't figure out a loop problem in my bubblesort, RISC-V

If an interrupt signal lasts for multiple cycles, will it be processed multiple times in RISC-V?

Interrupt Handling in RISC V One Signal One Response Problem Imagine you re writing code for a RISC V processor and you encounter an interrupt signal that persi

2 min read 30-09-2024 26
If an interrupt signal lasts for multiple cycles, will it be processed multiple times in RISC-V?
If an interrupt signal lasts for multiple cycles, will it be processed multiple times in RISC-V?

How to increment a pointer to RVV type?

Understanding RVV Pointers and Incrementing Them RISC V Vector RVV instructions are designed to accelerate computation by operating on vectors of data A key par

2 min read 30-09-2024 40
How to increment a pointer to RVV type?
How to increment a pointer to RVV type?

how to support threadx module for risc v

Supporting Thread X on RISC V A Comprehensive Guide The RISC V architecture has gained immense popularity due to its open source nature and flexibility As embed

2 min read 29-09-2024 49
how to support threadx module for risc v
how to support threadx module for risc v

How to compile to RISC-V?

Compiling for RISC V A Guide for Beginners The RISC V architecture is gaining momentum as a promising alternative to traditional architectures like x86 and ARM

2 min read 29-09-2024 26
How to compile to RISC-V?
How to compile to RISC-V?

How should I put NOPs in RISC-V code snippet?

How to Insert NOPs in RISC V Code Snippet When working with RISC V assembly language inserting NOP No Operation instructions is essential for various reasons in

2 min read 29-09-2024 28
How should I put NOPs in RISC-V code snippet?
How should I put NOPs in RISC-V code snippet?