6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Sep 20, 2024 7:28 pm

All times are UTC




Post new topic Reply to topic  [ 122 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9  Next
Author Message
 Post subject: Re: Yet another TTL 6502
PostPosted: Thu Jan 17, 2019 9:37 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
I predict you'll go with 6 layers if you use that FPGA. :wink:
Eurocircuits is a great choice for a board manufacturer. I've wanted so badly to try them out for 6 layer boards.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Fri Jan 18, 2019 4:29 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
I think should be able to do it with 4 layers. Big advantage of FPGA is that it doesn't matter how you connect most pins, so there won't be much vias needed. The vias cause most of the problems, because they are relatively big (4 trace widths in size) and are present on all layers. And if it gets really crowded I can also make board bigger to give myself a bit more room.


Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Sat Jan 19, 2019 12:18 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Incrementer stage (bits 4-7) redone properly with good pour flow on all layers. Had to swap bunch of gates so that the output of the incrementer was in proper order for connecting to ADL bus (vertical orange traces on the right)


Attachments:
inc2.png
inc2.png [ 20.08 KiB | Viewed 1181 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Tue Jan 22, 2019 10:00 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Finished complete address incrementer (except for bypass caps on bottom)


Attachments:
inc16.png
inc16.png [ 64.29 KiB | Viewed 1139 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Tue Jan 22, 2019 6:04 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Upper part of the address bus logic done, plus part of lower part. The remaining lower part are the ICs in the bottom row. I've moved that row up a little bit. It could be moved up a little more, but I want to keep some room for wide ground strips and space for some GND vias. I still need to clean up details, and hook up the control signals.

I've marked a few buses going in/out of this area. The AB/DB buses go out to the FPGA, and the ALU bus goes to output of ALU (to the left). The DB/ALU buses also need to go to lower part of address bus.

Lower part of address bus isn't nearly as crowded, so should go a bit quicker.


Attachments:
adh.png
adh.png [ 146.73 KiB | Viewed 1120 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Fri Jan 25, 2019 7:15 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Ordered all of the new components so I could fit them on a paper copy to make sure there were no surprises with funny widths or overlapping packages.

Real 65C02 for comparison.

Looks quite nice with all the major IC packages having identical widths.


Attachments:
ttl-6502.jpg
ttl-6502.jpg [ 235.37 KiB | Viewed 1061 times ]


Last edited by Arlet on Sat Jan 26, 2019 11:35 am, edited 1 time in total.
Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Sat Jan 26, 2019 11:33 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Address area now completely routed (except for control lines to FPGA and LEDs)

Next up: the register section. About 400 wires left to do in register + ALU section, and then probably another 100 or so that I still need to connect in schematic.


Attachments:
ab.png
ab.png [ 109.24 KiB | Viewed 1025 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Sat Jan 26, 2019 3:23 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Picture of full board so far. Hooked up register inputs to ALU bus, most of the status flag logic, as well as DB to M register. Down from 400 to 300 wires.

Also added some extra blinkenlights for M register and Data bus.


Attachments:
board.png
board.png [ 70.1 KiB | Viewed 1010 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Sat Jan 26, 2019 5:55 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Added a couple of LEDs for control signals at top of board, plus some text to explain what they are for. Also attached those control signals and address bus to FPGA. Because of the flexible pin allocation of FPGA, it's a fairly painless process (see top screenshot)

Green picture is from the Eurocircuits board viewer.


Attachments:
fpga.png
fpga.png [ 52.81 KiB | Viewed 996 times ]
board.png
board.png [ 270.44 KiB | Viewed 996 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Sat Jan 26, 2019 8:06 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Great progress! Do you think you're close to ordering a board?


Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Sat Jan 26, 2019 8:20 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
I think at least another week before I can order boards, but two weeks is more likely. I did a bunch of work yesterday, but mostly rerouting old stuff to make room for control bus to FPGA.

I've also worked on the Verilog code. I'm splitting the code up into a separate modules for data path and controls, with proper declaration of all control/status signals. This should make it easier to verify that I have all necessary signals, as well as provide the top level module for the FPGA.

I've already discovered a couple that I forgot, for instance, the control unit needs to look at bit 7 of M register to decide whether a branch crosses a page boundary.


Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Sat Feb 02, 2019 2:42 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
Quick status update. Less than 200 wires left to do on current schematic (mostly in ALU, which is what I'm working on right now). Still need to add control signals, some more LEDs, and stuff like power regulator/oscillator.


Attachments:
200.png
200.png [ 256.9 KiB | Viewed 921 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Sun Feb 03, 2019 6:22 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
ALU fully connected, including input/output buses and flags. Controls not yet connected, but they're all available at the bottom edge. Still need to do some local improvements. There are a couple of design rule violations and some ugly traces.


Attachments:
alu.png
alu.png [ 97.41 KiB | Viewed 869 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Mon Feb 04, 2019 1:01 am 
Offline
User avatar

Joined: Sun Oct 18, 2015 11:02 pm
Posts: 428
Location: Toronto, ON
Wow. Very compact! It’s interesting to see what’s feasible with this package size. Will you also have planes for GND and VCC?

_________________
C74-6502 Website: https://c74project.com


Top
 Profile  
Reply with quote  
 Post subject: Re: Yet another TTL 6502
PostPosted: Mon Feb 04, 2019 4:52 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
One layer is VCC, the other 3 layers all have GND, but the picture doesn't show the pours. I try to minimize using the inner GND layer for routing, but sometimes it's unavoidable, or it's just better overall. I try to do most of the routing in bottom/VCC layers, and use the top/GND layer for short traces.

Here's a detail of the inner GND layer. I was lazy was some of the traces at the top. I need to take another look and try to put them in bottom layer.


Attachments:
gnd.png
gnd.png [ 22.37 KiB | Viewed 828 times ]
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 122 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9  Next

All times are UTC


Who is online

Users browsing this forum: drogon and 45 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: