|
|
Last visit was: Fri Dec 27, 2024 4:28 pm
|
It is currently Fri Dec 27, 2024 4:28 pm
|
BugsForth for the Bugs18 CPU
Author |
Message |
Myron Plichota
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 |
|
|
BigEd
Joined: Wed Jan 09, 2013 6:54 pm Posts: 1808
|
Thanks Myron, and welcome!
|
Tue Jan 23, 2018 8:09 am |
|
|
Myron Plichota
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 |
|
|
BigEd
Joined: Wed Jan 09, 2013 6:54 pm Posts: 1808
|
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 |
|
|
Myron Plichota
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 |
|
Who is online |
Users browsing this forum: claudebot 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
|
|