VR16 Update


Written On: 02 Jul 2025

Blogged as per this commit: a03ddea555b00e2594c6f16772c364bf0e9e9897

I’ve been on a huge break since 10-05-2025 (dd-mm-yyyy). This project has been truly draining.

Progress Update

  • Well, I went ahead and finished 98% of the front-end for this project.
  • Documentation is yet to be done and completed.
  • Made a small compiler for making vr-asm much more easier.

Oh, there was a chore update where I had refactored the entire repo’s directory. The current one looks soo cool hehehe.

Why 98%?

Well cause uh, the waveform for outputs isn’t correct. Which means that my core logic is essentially wrong.

What else?

SOOO that’s gonna take some time in fixing. Uh I did write a mini-compiler like program in Python.

The Thing with Python

See back in those days, people made a PC, then studied the asm based on that PC architecture. Then they wrote a whole compiler for it.

So each time, when a NEW pc came, new “asm” had to be studied, which was used to write the language on top.

HERE, I’m not doing that whatsoever. I’m supposed to create my own language using vr-asm.

I used direct ad64 python to write both my compiler and the assembler cause life is fun and easy with this lmao.

What’s the issue with the waveform?

No one asked but yeah.

I wrote a top-module named vr16_cpu.v and uh I connected everything. I edited the mem file to this:

0001000000000001
0001010000000010
0000100001xxxxxx
1111xxxxxxxxxxxx

In vr-asm this translates to:

start:
    addi r0, 1;
    addi r1, 2;
    add r3, r0, r1;
    halt;
end:

Yet, the r3 waveform didn’t store the value of 3. r2 had value 3. So there’s some connection logic thats pending to be fixed.

Misc.

I’ve been extremely burnt out with this project and it’s tough to do it genuinely.

I recently had a cycling accident. As a cyclist I’m ashamed to call it an accident. I recently bought a new helmet and while coming home I triped on a rock 🗿.

So I’ve been focusing on my health a bit, cause I wanna go back to my regime of cycling! I’ll explain this in a later on blog not here, cause this is a dev-blog not a . . . blog.

Apart from that, I’ve been you know doing shit-all, just gaming and stuff. Sooooo uh yeha. I’ll do this once I have the mental bandwidth to do this.

Until then, peace.


Consider subscribing to my newsletter for updates on new blogs! All data is safe as I use MailChimp!

Subscribe

* indicates required
a simple name for a personalised email