6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 5:55 pm

All times are UTC




Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: Sun Mar 07, 2010 5:04 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
Ruud wrote:
BigEd wrote:
So INX should be 1 cycle, and INX16 would be 2.


Ehhhh, no and maybe yes. If you use the ALU to increment X, the internal data bus is needed twice.


Maybe a single bus is a good foundation for your design, but I wasn't thinking of that constraint. (In a TTL design of course it costs more to add busses than in FPGA.) Looking at the 65ce02 datasheet (pdf) we see
Quote:
A unique design feature allows [Address registers] ADL and ADH to store indirect address vectors while [Address Counters] ABL and ABH function as counters, thus relieving the ALU from internal address fetches and increasing throughput

and we also see some additional busses in the block diagram (see below)

The same datasheet shows the reduced cycle counts, including many single-cycle instructions (and no page-crossing penalties). Garth has previously mentioned patents covering the elimination of dead cycles, but I haven't yet discovered the patent numbers.

Edit: attached version of image in case imageshack drops the ball.


Attachments:
File comment: 65ce02 block diagram from datasheet
65ce02block (1).png
65ce02block (1).png [ 669.45 KiB | Viewed 2078 times ]


Last edited by BigEd on Fri Dec 13, 2013 3:31 pm, edited 2 times in total.
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Mar 07, 2010 11:55 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
ElEctric_EyE wrote:
Ruud, I keep getting "unexpected end of archive" when trying to download the PNG files. Problem could be on my end?...


Off-topic: I got home and I still have the same problem on my laptop running a 32 bit version of windows... I go onto my main computer which has a 64 bit version, and it loads ok. (I did a parite virus check on my laptop, nothing found. That virus has attached itself to .exe files and screwed up other files in the past on my laptop).

On-topic: I have the day off tomorrow, I plan on ordering a few more parts and checking your schematics out. Do you have your version built yet? or partially built?

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 08, 2010 7:05 am 
Offline
User avatar

Joined: Fri Dec 12, 2003 7:22 am
Posts: 259
Location: Heerlen, NL
ElEctric_EyE wrote:
Do you have your version built yet? or partially built?

No. But I'm busy scraping the parts together. But I first optimize the schematics for the board. For example, the way the 573's are connected to the EEPROM's is not optimal for routing. By swapping 5 lines routing becomes very simple suddenly. I'm not only optimizing it for the auto-router but also for myself: I have to solder the boards by hand.

During this proces I found a bus on 6502-m2 which is an inheritance from the past. Due to other changes it became obselete so I removed it and connected the inputs of the 191's directly to the internal data bus.

I'll keep you informed.

_________________
Code:
    ___
   / __|__
  / /  |_/     Groetjes, Ruud
  \ \__|_\
   \___|       URL: www.baltissen.org



Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 08, 2010 6:34 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
BigEd wrote:
...Garth has previously mentioned patents covering the elimination of dead cycles, but I haven't yet discovered the patent numbers.

Code:
Broken external image link
http://img716.imageshack.us/img716/3018/65ce02blockdiagram.jpg

I heard of the 65CE02 mentioned here on the forums, but I didn't realize how powerful it was compared to the original before I read through the manual last night. Why didn't WDC use this design as it's foundation? or did WDC's version come before this iteration? Is the 65CE02 still being sold?

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 08, 2010 7:31 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10980
Location: England
As I understand it, the 65CE02 came later than the 65816, and arguably borrowed some ideas from it. The 'CE02 is by Commodore, not by WDC, and I think it didn't happen in any quantity because of marketing or management misses.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 09, 2010 1:09 pm 
Offline
User avatar

Joined: Fri Dec 12, 2003 7:22 am
Posts: 259
Location: Heerlen, NL
BigEd wrote:
The 'CE02 is by Commodore

In that case it was the CPU meant for the C65, the successor of the C64. Except a number of prototypes, this machine hasn't been produced.

_________________
Code:
    ___
   / __|__
  / /  |_/     Groetjes, Ruud
  \ \__|_\
   \___|       URL: www.baltissen.org



Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 09, 2010 4:07 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
I remember that a few 3rd-party vendors adopted the 65CE02 for their processor of choice, and I seem to recall that Apple had once experimented with it. Since Woz's DOS relied on CPU instruction timings so heavily, they rejected it in favor of the 65816 for the Apple IIgs.

I do know, however, that the 65CE02 existed for a few years before the first C65 prototype was made. The C65 used a CSG4510A if memory serves me correctly, which has a 65CE02 core, but a handful of other peripherals integrated right on the chip (e.g., both CIA chips, etc.).


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Mar 13, 2010 1:56 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
8BIT wrote:
This company has the 144 pin QFP's available. I used them when I bought chips for my SBC-3 bulk order.

You could contact them to see what the minimum order might be. If too much for you, you could see if others want in on a bulk purchase.

XC3S400-4TQG144C

http://www.americaii.com/
Daryl


I put in a RFQ 3 days ago, for min order. No response yet, although they seem to be well stocked on this IC.

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Mar 28, 2010 9:34 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
New update from Dennis, looks like almost final?, on the 6502 on Spartan 3 as of Mar 16, 2010. Such a nice looking board. And to think it has a 6502 at the core. He notes just a few problems with the VHDL code. Beautiful... 'cept for the fact it only runs @ 4MHz.

http://mycpu.selfhost.it/mycpucompact.htm

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Sep 27, 2010 9:09 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Now he's got it up to 34MHz!

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Sep 27, 2010 10:50 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
Wow. Why so slow? I would have thought an FPGA implementation could go at least in the 60MHz region with today's technology. :/ My lack of FPGA-related experience is showing through here.

(Though, I'm strongly considering a very cheap Windows-based laptop just to tinker around with this stuff.)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Sep 27, 2010 11:38 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
A 34MHz 6502 is slow? This is a man's effort to implement another version of 6502 on FPGA with VHDL.. You have something to teach here kc5tja?

_________________
65Org16:https://github.com/ElEctric-EyE/verilog-6502


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Sep 27, 2010 11:42 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
Dude, settle down and back off. I only asked a question. What part of, "My lack of FPGA-related experience is showing through here." was not understood?

I think it's cool that he did push it to 34MHz. Other FPGA hackers have reported (non-6502) CPUs up into the 133MHz realm. So, I thought a 6502 implementation could also go at least as fast.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 28, 2010 12:09 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
So when does it go on sale? :D


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Sep 28, 2010 2:12 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
ElEctric_EyE wrote:
Now he's got it up to 34MHz!

I'd be delighted if I could run my POC unit at 34 MHz. It barely stays on its feet at 12.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: