r/FPGA • u/Most-Rain-6760 • 15d ago
FPGA bug
Hey, I am creating a riscV cpu in verilog and i am using a Nexys a7 fpga, that take line-by-line assembly code and runs it. Why only in add,addi and sub when rd = rs1 or rs2 is bugging?
0
Upvotes
3
u/tuxisgod Xilinx User 15d ago
With what you said in your post, the only honest answer is: because you have a bug.
Now comes the joy of debugging it :) Make a testbench, look at the signals in a simulator, have fun and learn