6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 4:44 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Jul 02, 2007 5:13 pm 
Offline

Joined: Mon Jul 02, 2007 2:54 pm
Posts: 3
Hi all,
I'm an italian student. I'm trying to make a vhdl description of processor 6502 for the electronic computers course. I know there are many free vhdl implementation, but i have to make an rtl view and so i need some info that i haven't find yet on the net.

1. what type of registers are acc, x, y, pc, sp, databuf and addrbuf? I don't want any functional explanation, i need to know if they are latch, edge triggered or master-slave and if they are clocked or not (it seems that in the design of the original processor all are non clocked, but all the vhdl on the net make them clocked)

2. Could someone explain me the right timing for read/write memory access? (i'm not so good in electronic field and the timing diagram on datasheets are quite obscure to me :( )

3. Could someone explain what are the two phase clock out signals for?

4. Is there a table with the propagation delays for each single component of the 6502?

Because i have to describe the original architecture, i can't follow any suggestions to view subsequent processor like 65c02 or the like!
Thanks in advance to all of you guys,
Fulvio


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 04, 2007 4:42 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
Fulvio wrote:
1. what type of registers are acc, x, y, pc, sp, databuf and addrbuf? I don't want any functional explanation, i need to know if they are latch, edge triggered or master-slave and if they are clocked or not (it seems that in the design of the original processor all are non clocked, but all the vhdl on the net make them clocked)


This is an implementation detail -- since it's an RTL description, the only requirement is that it be synchronized against the chip's clock. How you do this is up to you. Since external logic only sees the effects of clock transitions, it won't matter to external devices either.

Quote:
2. Could someone explain me the right timing for read/write memory access? (i'm not so good in electronic field and the timing diagram on datasheets are quite obscure to me :( )


During Phi2 low, the CPU puts the address on the A0-A15. During phi2 high, the bus transaction (read or write) is completed. The timing diagrams are your best source for this, and truely, they really are the simplest possible timing diagrams you can get. I would recommend becoming familiar with how to read timing diagrams.

Quote:
3. Could someone explain what are the two phase clock out signals for?


Convenience. Phi1 is used to clock logic that works when the CPU isn't using the bus. Phi2 is used to clock logic that works when the CPU is. Depending on your peripheral hardware, you can get by with just one; you can synthesize Phi1 by just inverting Phi2 and vice versa, provided your peripheral can handle the propegation delay.

Quote:
4. Is there a table with the propagation delays for each single component of the 6502?


Again, these are implementation details -- you decide for your own design.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jul 05, 2007 3:40 pm 
Offline

Joined: Mon Jul 02, 2007 2:54 pm
Posts: 3
Thanks a lot kc5tja. I hope i'll do a good job!
Cheers,
Fulvio


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jul 05, 2007 4:27 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
Not a problem -- good luck on your project.

Will the results of your efforts be published on the Internet somewhere? I'm sure a few folks here might be interested in the project when it's finished.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 06, 2007 2:32 pm 
Offline

Joined: Mon Jul 02, 2007 2:54 pm
Posts: 3
kc5tja wrote:
Not a problem -- good luck on your project.

Will the results of your efforts be published on the Internet somewhere? I'm sure a few folks here might be interested in the project when it's finished.


Well, i have no problem to publish my project on internet, but maybe it could not be of great interest. By the way, I'll post a message on this forum to publish my work. I've not problem to make so, hope someone enjoy it :D


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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: