Skip to content

mole99/tt02-1bit-alu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1bit ALU

Link to the Wokwi project: tiny-tapeout-1bit-alu

This design is based on the 1bit ALU from Structured Computer Organization: Andrew S. Tanenbaum.

1bit ALU

Pin list

Pin Function
1 CIN
2 INVA
3 A
4 ENA
5 B
6 ENB
7 F0
8 F1

Functions

The following functions are supported:

F1 F0 Operation
0 0 A AND B
0 1 NOT B
1 0 A OR B
1 1 ADD

ENA and ENB enable/disable the respective input. INVA inverts A before applying the operation. CIN is used as input for the full adder.

Results

The 7-segment display shows either a "0" or a "1" depending on the output. If the ADD operation is selected, the dot of the 7-segment display represents the COUT.

Releases

No releases published

Packages

 
 
 

Languages

  • Python 62.9%
  • Tcl 20.1%
  • Verilog 17.0%