Skip to content

Does DarkRISCV include unit tests or regression tests? #71

Closed Answered by samsoniuk
pointerliu asked this question in Q&A
Discussion options

You must be logged in to vote

Well, apart from normal implementation bugs (signed shift, for example), the most persistent bug is related to memory interfaces, on both instruction and data buses. But, contrary to implementation bugs that are hidden until someone needs use them, the memory access bugs are quickly identified because the core is unable to boot!

The instruction related problems are quickly identified because the boot code in asm will uncompress and print the following banner:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

                  vvvvvvvvvvvvvvvvvvvvvvvvvvvv
rrrrrrrrrrrrr       vvvvvvvvvvvvvvvvvvvvvvvvvv
rrrrrrrrrrrrrrrr      vvvvvvvvvvvvvvvvvvvvvvvv
rrrrrrrrrrrrrrrrrr    vvvvvvvvvvvvvvvvvvvvvvvv
rrrrrrrrrrr…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pointerliu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants