Searched Projects

Tags: comparison

project.name
0 Stars     86 Views

Take the adder/subtractor circuit in slide page 37 (of Chapter 4 slides) and modify its output to include also comparison capabilities (=, <, >) for the two input numbers. 

Hint: notice that if x=y then x-y = 0 (check if all bits of result are 0). If xy then x-y>0 (check if x≠y and sign bit is 0).


project.name
0 Stars     45 Views
User:

STRING CPU SERIES COMPARISON

STRING CPU SERIES COMPARISON


This is a comparison of every CPU I make. every time I make a CPU, I will add it here too. If you have any questions, suggestions, or something is not working, in a string series CPU, please ask here. Announcements on the CPUS will be announced here.

11-26-2023- UPDATE FOR STRING 3000SA: (RAND IN IN ALUE OUTPUTTING WHEN NOT IN USE) fixed broken ALU RAND FUNCTION

11-17-2023- ANNOUNCEMENT: (STRING3000SA RELEASE) released STRING3000SA

10-13-2023- GOOD NEWS FOR ALL CPUS: (CIRCUITVERSE IS HAPPY AGAIN) The glitchy simulator has been fixed and all CircuitVerse computers work like they used to

9-9-2023- BAD NEWS FOR ALL CPUS: (SIMULATION ERROR STATE) String CPUS are no longer able to run due to a glitch in the simulator. The simulator keeps entering an "error state," preventing the CPU from running; this glitch has also killed other computers and complex creations like the well-known Femto (RIP CircuitVerse computers). I hope this glitch is fixed.

7-27-2023- ANNOUNCEMENT: (NEW PROGRAM) added a new program "constantly shift to example programs of 2000 series+/ 3000 series+

7-22-2023- ANNOUNCEMENT: (STRING3000 RELEASE) released STRING3000

7-21-2023- UPDATE FOR ALL CPUS: (SAVE PRGM INSTRUCTION NOT WORKING FIX) Fixed CPU unable to save program data.

7-19-2023- UPDATE FOR ALL CPUS: (LOADED REG NOT RESETTING ON CERTAIN RESET INSTRUCTIONS FIX) Fixed LOADED REG not resetting on certain commands.

7-6-2023- ANNOUNCEMENT: (STRING2000C RELEASE) released STRING2000C

6-19-2023- UPDATE FOR ALL CPUS: (CONDITIONAL PC JUMP FIX 2) Actually fixed broken jump commands for good.

6-19-2023- UPDATE FOR STRING2000: (UNWANTED COUT FIX) Fixed sections of ALU setting C OUT to 1 when not in use.

6-18-2023- UPDATE FOR ALL CPUS: (CONDITIONAL PC JUMP FIX) Fixed CPU jumping despite not being supposed to according to conditional jump command rules.

6-18-2023- UPDATE FOR ALL CPUS: (PC REWORK) Fixed PC refusing to jump or giving a simulation stack limit error.

About string series:

Simple explanation.

String CPU series is an ongoing series of CPUS. They execute code in one tick. They run off a 32-bit memory with the program which they for now can't edit, but that may change in the future.

How they work:

These CPUS have 3 sections in the memory per each address with values (16 bit), addresses (10 bit), and opcodes (6 bit). the memory is 32 bit, despite the CPU being 16 bit. the latest string CPU has 43 different opcodes. Unfortunately, I don't know how to make an assembler, so for now we will have to stick with the tedious process of machine code, but that may change later.

Future stuff:

The goal of this series is to make a computer that can drive a 32x32 screen, like many of the other computers like the Femto can. I am pretty sure that it's going to be a while before string CPUS are able to do such a thing though, since I am trying to find out a way for the CPU to write to its program memory while reading and executing it, and I have still not made a GPU to drive the screen, which I also need to do. One day, there will be a string CPU sharing an EEPROM with a GPU that's hooked up to a 32x32 screen... eventually...