nedoPC.org

Community of electronics hobbyists established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 21 Oct 2021 02:22



Reply to topic  [ 1 post ] 
Python Ternary CPUs 
Author Message
Maniac
User avatar

Joined: 04 Jan 2016 10:15
Posts: 278
Location: Russia, S.- Peterburg
Reply with quote
Ternary CPUs: how they work and how Python helps designing one

Description
0/1, False/True, off/on, etc.: the computers which we’re working on are based, from very long time, on the so called binary arithmetic/logic.

“Two states to rule them all": with these we built a complete ecosystem which goes from the hardware to the software… showing even this text that you’re reading now.

However the possibility to use the ternary logic instead, that started just a joke some years ago, generated recent papers and researches about it, with interesting features exploited and documented.

An FPGA project is in development to implement a “ternary CPU” and an ISA (Instruction Set Architecture) draft was roughly defined (and evolving).

But a CPU without code to execute is useless and here comes Python, which allows to quickly implement (and test) some simple, primitive assembler to generate executables ("ternaries”?), which can then be transferred to the FPGA board and run.

A basic emulator with a minimal set of instructions is implemented, in order to test the code even without the physical board.

This talk provides a short overview of the ternary logic, some challenges, and how the basic assembler and emulator are written, tested, and work.

Video link:

_________________
"Ученье свет, а неученье — тьма. Дело мастера боится, и коль крестьянин не умеет сохою владеть — хлеб не родится." (С)


12 Sep 2021 06:07
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.