Last visit was: Sun Jan 23, 2022 5:43 pm It is currently Sun Jan 23, 2022 5:43 pm

 Page 1 of 1 [ 3 posts ]
DDL4 CPU - A 4-Bit Discrete CPU Learning Platform
Author Message

Joined: Thu Apr 04, 2019 6:20 pm
Posts: 22
Greetings All!
per BigEd's encouragement, i'm posting some info about my DDL4 CPU:

each module is design to be experimented with independently of the others. you can connect them up to breadboards to learn about each section. the project has been covered on hackaday.com and hackster.io:

https://blog.hackster.io/building-more- ... 404c85f9dd

the ALU is a logic gate duplication of the 74181 ALU. this too has been covered on hackaday.com:

i've been really struggling with where to go with the design next, and trying to decide if there is value in tuning this for some types of computing classes...

i'd really love some feedback, even if it isn't positive!

Wed Apr 10, 2019 12:24 am

Joined: Wed Apr 24, 2013 9:40 pm
Posts: 207
Location: Huntsville, AL
I think that the lack of an obvious speed or area penalty when using modern programmable logic is a bad thing for young engineers.

When I was in school I had to make many digital circuits by building them up from SSI/MSI components. State machines made from discrete logic and FFs were particularly sensitive to the number of input and output transitions that the machine had. To avoid the explosion of the min terms or the max terms, changes were often necessary to the state transition tables. Unnecessary transitions were some of the lessons that such an exercise drove home.

With programmable logic, the synthesizer creates the equations, and they are seldom examined by the developers. When still using CPLDs for designs, I often had my young charges design some state machines manually using D and JK FFs, and to examine the complexity of the min terms produced to see the effect of their designs on the logic complexity. In many cases, I would have to go back to some of the basics we learned using Karnaugh maps/tables to demonstrate these effects.

Therefore, I am in favor of using basic gates to construct circuits. Modern logic simply hides these details. In many cases, the details are unimportant, but there are always edge cases where an understanding of the details may be the difference between a successful project or a failed project.

_________________
Michael A.

Wed Apr 10, 2019 2:01 am

Joined: Wed Jan 09, 2013 6:54 pm
Posts: 1666
Yes, I think showing logic gates and composing them into an ALU and then a computer is a great way into seeing how things work.

Wed Apr 10, 2019 10:50 am
 Page 1 of 1 [ 3 posts ]

#### Who is online

Users browsing this forum: AhrefsBot, CCBot, DotBot and 0 guests

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

 Jump to:  Select a forum ------------------ General Discussions Newbies Software    General programming    Languages and tools    Kernels and operating systems Hardware    Hardware in general    CPU/MCU choices and designs    Implementation and Construction Programmable logic Simulation and emulation Nostalgia Projects Anycpu.org