Last visit was: Mon Dec 09, 2024 7:16 am
It is currently Mon Dec 09, 2024 7:16 am



 [ 5 posts ] 
 BugsForth for the Bugs18 CPU 
Author Message

Joined: Mon Jan 22, 2018 2:49 pm
Posts: 19
Hello all,

BugsForth is a native compiler for the Bugs18 CPU. The intro doc is hosted at http://laughtonelectronics.com/BugsForth.html (thanks Jeff).

Myron Plichota


Mon Jan 22, 2018 3:04 pm

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1807
Thanks Myron, and welcome!


Tue Jan 23, 2018 8:09 am

Joined: Mon Jan 22, 2018 2:49 pm
Posts: 19
Thank you for welcoming me, BigEd.

Starting out on this forum has been a pleasant experience for me, and I look forward to discovering more about the other members' work as we explore and share our passion for experimental CPU design.

I've learned a lot creating the Bugs18 SoC and BugsForth. I'm learning more by programming BugsForth apps. The minimal instruction set is terrible for implementing the comparison/flag-generating ops like < 0= etc. In my next CPU, the instruction set will be expanded to include these as single-cycle instructions. Ditto for - and a few other math primitives.

Myron Plichota


Tue Jan 23, 2018 1:11 pm

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1807
I look forward to some interesting trade-offs! It's not so easy to see, but in principle every little bit of complexity in a CPU will cause a little bit of slowdown in the clock speed. (Perhaps more often, the clock speed is a hard target based on external memory, or a necessarily slow path, and it's more a question of adding just a little complexity at a time until that hard target is only just met.)


Tue Jan 23, 2018 1:22 pm

Joined: Mon Jan 22, 2018 2:49 pm
Posts: 19
That's the knife edge to balance on all righty. For the time being, I'm digging into developing apps as-is. With a cross-section of code examples available, I'll be able to consider the tradeoffs based on the statistical frequency of the slower, canonical ops that concern me.


Tue Jan 23, 2018 2:00 pm
 [ 5 posts ] 

Who is online

Users browsing this forum: CCBot and 0 guests


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