Last visit was: Wed Jun 17, 2026 10:29 am
It is currently Wed Jun 17, 2026 10:29 am



 [ 33 posts ]  Go to page Previous  1, 2, 3
 Tridora-CPU - an FPGA stack machine CPU for Pascal 
Author Message

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1884
> The demo is written in Pascal and uses some assembly language routines to accelerate the fire effect and for the tile animation.

Thanks for the video - nice effect - and a happy festive season to you too.


Fri Dec 26, 2025 2:54 pm

Joined: Sun Oct 20, 2024 9:43 pm
Posts: 13
I have created another demo, and this time I also made some changes to the logic design.

This one is a sprite animation demo, and it turned out that drawing four 32x32 pixel sprites in software is too slow - so I added a minimum amount of hardware acceleration to the video controller. It can now shift a word of pixel data and it can generate a mask for having a transparent color in a sprite. These operations were the parts of the sprite routines that took the most cycles. Now the sprite routines are five times faster.

The additions to the logic design are minimal. I did not want to change the interface to the video RAM, so the new hardware functions are not connected to it. They are just some new registers that provide the shifting and masking operations, and afterwards you have to write the data to video RAM yourself.

Here is a video showing the sprite demo before and after the new hardware features:

https://youtu.be/67gn44C7D5A

Now I am thinking of doing something similar to provide integer multiply/divide functionality which the Tridora-CPU itself does not have. Of course, I could do it right and create new instructions for that, but I fear that might break the logic design which seems to already have some random timing problems (which most of the time go away if I change synthesis optimization settings). I should also probably do some research on optimizing critical paths.


Wed May 20, 2026 10:06 pm

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1884
Nice video explanation and demo - thanks!


Thu May 21, 2026 8:07 am
 [ 33 posts ]  Go to page Previous  1, 2, 3

Who is online

Users browsing this forum: byteplus-ai, chrome-131-bots, claudebot, SemrushBot and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software