Author Topic: Building a CPU!  (Read 10296 times)

0 Members and 1 Guest are viewing this topic.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Building a CPU!
« Reply #15 on: May 30, 2012, 08:01:09 am »
Ah I found out that you can see what a pin does by hovering the cursor over it, but it's still very inconveniënt. There are no built in decade counters and the clock is very slow. Even at 1 tick :P
If you like my work: why not give me an internet?








Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Building a CPU!
« Reply #16 on: May 30, 2012, 08:03:09 am »
Why is the clock slow O.o 4.1 khz is good enough I guess
I'm not a nerd but I pretend:

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Building a CPU!
« Reply #17 on: May 30, 2012, 08:46:17 am »
Why is the clock slow O.o 4.1 khz is good enough I guess
I'd go with 2Mhz (for my cpu irl)
If you like my work: why not give me an internet?








Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Building a CPU!
« Reply #18 on: July 07, 2012, 04:23:09 am »
Hmm I really should pick up this project again. I'm kinda worried about the very limited address space. The address bus is only 8 bits wide so I can address 256 bytes of ram and programs can only be 256 chars long. Well this is my first cpu, so... good nuff. 4 bits cpu is not enough to run decent applications on so... it's used for control applications and or simple mathematical operations. The cpu will run trough 256 bytes in about 0.256 ms @2Mhz
If you like my work: why not give me an internet?








Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Building a CPU!
« Reply #19 on: July 07, 2012, 12:23:40 pm »
Hmm I really should pick up this project again. I'm kinda worried about the very limited address space. The address bus is only 8 bits wide so I can address 256 bytes of ram and programs can only be 256 chars long.
You can use paged addressing to increase the memory, if need be.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Building a CPU!
« Reply #20 on: July 08, 2012, 08:44:42 am »
Well I kinda have that right now. I got 16 bytes pages and I got a register for selecting the page which allows me to have 8 bit addresses on a 4 bit machine. I can do basic math with the register when I rotate it into the accumulator.
If you like my work: why not give me an internet?