element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs 4 Bit ALU
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: timswift
  • Date Created: 5 Nov 2016 12:33 AM Date Created
  • Views 1242 views
  • Likes 4 likes
  • Comments 10 comments
  • 4 bit
  • transistor
  • alu
  • computer
  • diy
  • cpu
Related
Recommended

4 Bit ALU

timswift
timswift
5 Nov 2016

image

This is my 4 bit test ALU.

It has 6 functions, Add with carry, Subtract with carry, Shift Right with carry fill, AND, OR, and XOR.

 

While assembling the ALU I made some errors two of them being with the adder carry chain being wired backwards (MSB to LSB)

And the same with the shifter; wired to left shift instead of right shift.

 

It uses 181 transistor's and I am currently constructing the full 8 bit ALU which will contain 346 transistor's.

 

A photograph with labels:

         image

   The small Mux is to select the carry out from ether the adder, shifter, or the carry In.

   The inverter mux selects between invert or pass (used to select subtraction/addition).

 

 

Tim

  • Sign in to reply

Top Comments

  • phoenixcomm
    phoenixcomm over 9 years ago +3
    I LOVE IT.. somebody with more patience than I. I worked for Interdata 76 - 78. In 1980 I built a 16bit Z-80 out of AMD-2901 4bit slices. I also added more register sets. Back in 68 I also did something…
  • phoenixcomm
    phoenixcomm over 8 years ago in reply to timswift +1
    timswift ts a piece of cake! You just have to have the right tools, and wire for that matter. Don't try and wire wrap without a wire wrap gun. You just have to practice a few times. Wire: 30 AWG (very…
Parents
  • phoenixcomm
    phoenixcomm over 9 years ago

    I LOVE IT.. somebody with more patience than I. I worked for Interdata 76 - 78.  In 1980 I built a 16bit Z-80 out of AMD-2901 4bit slices. I also added more register sets.

    Back in 68 I also did something cruder than what you are doing with RTL my memory was just 8 bits but I think I used like 12 relays for each word  8data + 4control

    I used a Rotary Stepping Switch for addressing and it could add and subtract a multiplication was done the hard way  ie no barrel shifter.

    By the way If you are curious I have a copy of the Mick and Brick book (how to build a 370) if you would like to have a copy just em me.

     

    GUTS!!

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 8 years ago in reply to phoenixcomm

    You have a book on building a 370??? Oh that would be a great read...

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • timswift
    timswift over 8 years ago in reply to clem57

    The 370 is a 32 bit IBM mini-computer... Right?

     

     

    Tim

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • timswift
    timswift over 8 years ago in reply to clem57

    The 370 is a 32 bit IBM mini-computer... Right?

     

     

    Tim

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • clem57
    clem57 over 8 years ago in reply to timswift

    No, it is an IBM mainframe in the late 70's.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube