Searched Projects

Tags: ALU

project.name
0 Stars     14 Views
User:

Pract 4


project.name
0 Stars     4 Views

ALU multiplexer

MULTIPLEXER ALU


project.name
0 Stars     4 Views
User:

Full Adder

ALU

project.name
1 Stars     94 Views
User:
User Image me

This is a CPU witch is capable of executing a lot of stuff in one clock cycle, and this CPU can shift left up to 7 times and shift right up to 7 times witch means that it is possible to  multiply and divide in one clock cycle if you program a table in the program memory. it has a 32 bit instruction width and a 8 bit address. it also has 

The ALU has the following operations:

  • ADD
  • SUBTRACT
  • SHIFT_LEFT (up to 7 times per cycle 3 bit)
  • SHIFT_RIGHT (up to 7 times per cycle 3 bit)
  • XOR
  • OR
  • NOT


project.name
1 Stars     35 Views
User:

My 4 Bit CPU, Not very standard so it might not actually be a CPU yet. **Made By Ben W.**


project.name
0 Stars     33 Views

simple ALU

ALU

project.name
17 Stars     1642 Views
Everything is working great in this build!  So I will be taking about a week break from this.
Well except single pixel drawing on GPU but more on that later.

I included a Hello World program and a screen clear test program running by default.
But I would love to see what programs people can come up with. So definitely fork this and make your own programs for it, and link them in the comments below!

Also I am working on adding more instructions for the cpu and the gpu, let me know what might be useful in the comments and definitely check my in progress updates below!

I am running into an issue with per pixel drawing giving a contention error which doesn't make sense as i have tested the chip. unless the rgb screen col and row pins are also outputs i don't get what is going on.

For now though i'm taking a break from that and working on implementing some more of the OPs.

Here is a list of instructions. I'll add descriptions soon.
Anything with a * before it is not implemented yet.
0 NOP [0]
1 JMP [1]
2 SETA [10]
3 SETB [11]
4 LDA [100]
5 LDB [101]
6 WRA [110]
7 WRB [111]

*8 IA [1000]
*9 IB [1001]
*10 DA [1010]
*11 DB [1011]
*12 SLA [1100]
*13 SLB [1101]
*14 SRA [1110]
*15 SRB [1111]

16 ADD [1 0000]
17 SUB [1 0001]
18 MUL [1 0010]
19 DIV [1 0011]

20 EQL [1 0100]
21 NEQL [1 0101]
22 GRT [1 0110]
23 LSS [1 0111]
24 GRQL [1 1000]
25 LEQL [1 1001]

26 SSP [1 1010]
27 PUSH [1 1011]
28 POP [1 1100]
29 LTS [1 1101]

*30 PROC [1 1110]
*31 EPROC [1 1111]

32 SAS [10 0000]

project.name
0 Stars     60 Views

ALU 32 Bits

ALU

project.name
2 Stars     135 Views
User:
An example of an ALU for the CircuitVerse learning book:
https://learn.circuitverse.org/docs/alu.html

project.name
0 Stars     79 Views

Micro_intro

ALU

project.name
0 Stars     106 Views
User:

Minimal ALU

ALU
An elegant ALU design with arithmetic, logical and bitwise operations. The design attempts to maintain modularity, allowing new operations to be added with ease.

project.name
0 Stars     106 Views

ALU

ALU

project.name
2 Stars     295 Views
User:

JCU 501

New and improved JCU 501! The new JCU 501 contains two accumulators (one for each input), as well as capacity to handle it's own input stream.

Functions:
0 - A OR B
1 - A AND B
2 - A XOR B
3 - A + B
4 - A NOR B
5 - A NAND B
6 - A XNOR B
7 - !(A + B)
8 - A = B
9 - A > B
a - A < B
b - 0
c - A != B
d - A <= B
e - A >= B
f - 1

project.name
1 Stars     206 Views
User:

JCU100

A simple ALU device I made (My first actually). You can give it a whirl if you want.

 I'll try implementing it into another project at some point, hopefully a fully fledged computer or something like that.

project.name
2 Stars     279 Views
User:

JCU150

The JCU150! Now bigger and better!

 Now it can compare stuff! Well, kinda. Still working on making a "greater than" and "less than" comparitor. If anyone knows how, please tell me!

project.name
3 Stars     272 Views
User:

JCU 500

After a bit of figuring out, I've now got the JCU500! The JCU500 is an ALU capable of performing every major function you would need it too, and can even perform comparisons, such as greater or less than. Also reused the old JCU100 in a "lite" form. Enjoy!

 Now all I need to do is make a computer for it...

project.name
1 Stars     284 Views
User:

Spaghett MK 1

An attempt at making a functional Computer

Tbf, I don't know if I made a "functional computer" as much as I made a mess.

project.name
1 Stars     229 Views
User:

JCU 500

Re-upload of the JCU 500, now with a proper IC setup, for extra franciness. You can see the original here: https://circuitverse.org/users/1577/projects/4133.
 Functions are as follows
  • 0 - A OR B
  • 1 - A AND B
  • 2 - A XOR B
  • 3 - A + B
  • 4 - A NOR B
  • 5 - A NAND B
  • 6 - A XNOR B
  • 7 - NOT (A + B)
  • 8 - A == B
  • 9 - A > B
  • A - A < B
  • B - 0
  • C - A != B
  • D - A <= B
  • E - A >= B
  • F - 255