Search the web
Sign In
New User? Sign Up
minimigtg68 · Minimig with fpgacpu tg68
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
TG68 core   Message List  
Reply | Forward Message #177 of 321 |
Hi Tobias,

I'm attempting to instantiate your TG68 core in a project of mine and am
having trouble getting it to behave as I expect.

I've got a small internal RAM and have written a small test bootstrap ROM
for it. It reads the stack and reset vectors, jumps to the start and appears
to execute the code OK.

BUT...

(1) AS# and RW# are asserted during a memory write instruction, but not
de-asserted before the next instruction fetch starts. So the next
instruction is overwritten while being fetched... I did a quick fix by
pulsing the memory write on leading edge of AS# & RW#...

(2) The memory write drives the correct address and then asserts AS# and
RW#, but the write data doesn't appear on the data (out) bus until approx 10
cycles have elapsed!!! In that time it has fetched and executed a number of
BRA instructions!!!

Not sure what I don't understand here?!? I tried DTACK# tied low, then tried
setting DTACK# to AS# in a clocked process. Am I asserting DTACK# too early
here??? Otherwise, I don't really know how I'm supposed to use the TG68
core... :(

Regards,

--
| Mark McDougall | "Electrical Engineers do it
| <http://members.iinet.net.au/~msmcdoug> | with less resistance!"



Mon Dec 1, 2008 4:01 pm

tcdevelop
Online Now Online Now
Send Email Send Email

Forward
Message #177 of 321 |
Expand Messages Author Sort by Date

Hi Tobias, I'm attempting to instantiate your TG68 core in a project of mine and am having trouble getting it to behave as I expect. I've got a small internal...
Mark McDougall
tcdevelop
Online Now Send Email
Dec 1, 2008
4:00 pm

... OK, my fault for not understanding the 68k timing (haven't done a 68k design myself). I see that a standard 68000 bus cycle is 4 MPUCLKs long... Is it true...
Mark McDougall
tcdevelop
Online Now Send Email
Dec 2, 2008
12:21 am

... My last post was utter trollop. I'm afraid I don't understand how the TG68 core is supposed to work... :( Regards, --...
Mark McDougall
tcdevelop
Online Now Send Email
Dec 2, 2008
12:44 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help