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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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
Messages 177 - 206 of 334   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#206 From: "tobiflexx" <t.gubener@...>
Date: Sat Aug 29, 2009 10:02 pm
Subject: Re: DE1 FPGA EP2C20 is to small for the new Minimigcore :-(
tobiflexx
Offline Offline
Send Email Send Email
 
>
> cong. tobiflexx, when you release files :)
>
For the DE1: Perhaps never :-(
For the DE2: Perhaps next week.

Best
TobiFlex

> --- In minimigtg68@yahoogroups.com, "tobiflexx" <t.gubener@> wrote:
> >
> > Hello,
> > now i have finesh a new core with the latest minimig source from 270409 for
the DE2 Board. There are two 68K IPs inside. The core need 59 EABs. No Problem
for the DE2 FPGA. But the DE1 FPGA has only 52 EABs :-(
> > If i disasable the hires vr_filter from amber.v the core needs 54 EABs.
Damned!!!
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > .
> > Perhapes I can use the SRAM for the floppy FIFO. That will free 32 EABs.
> > I will try it....
> >
> >
> > Best
> > TobiFlex
> > .
> >
>

#205 From: "ozkanocakli" <ozkanocakli@...>
Date: Sat Aug 29, 2009 9:29 pm
Subject: Re: DE1 FPGA EP2C20 is to small for the new Minimigcore :-(
ozkanocakli
Offline Offline
Send Email Send Email
 
cong. tobiflexx, when you release files :)

--- In minimigtg68@yahoogroups.com, "tobiflexx" <t.gubener@...> wrote:
>
> Hello,
> now i have finesh a new core with the latest minimig source from 270409 for
the DE2 Board. There are two 68K IPs inside. The core need 59 EABs. No Problem
for the DE2 FPGA. But the DE1 FPGA has only 52 EABs :-(
> If i disasable the hires vr_filter from amber.v the core needs 54 EABs.
Damned!!!
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> .
> Perhapes I can use the SRAM for the floppy FIFO. That will free 32 EABs.
> I will try it....
>
>
> Best
> TobiFlex
> .
>

#204 From: "tobiflexx" <t.gubener@...>
Date: Sat Aug 29, 2009 9:15 pm
Subject: DE1 FPGA EP2C20 is to small for the new Minimigcore :-(
tobiflexx
Offline Offline
Send Email Send Email
 
Hello,
now i have finesh a new core with the latest minimig source from 270409 for the
DE2 Board. There are two 68K IPs inside. The core need 59 EABs. No Problem for
the DE2 FPGA. But the DE1 FPGA has only 52 EABs :-(
If i disasable the hires vr_filter from amber.v the core needs 54 EABs.
Damned!!!
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Perhapes I can use the SRAM for the floppy FIFO. That will free 32 EABs.
I will try it....


Best
TobiFlex
.

#203 From: Manuel Alfayate <gaula92@...>
Date: Wed Aug 5, 2009 9:20 am
Subject: Re: Re: Version 12e and version 13: ZENTEL SDRAM compatibility
gaula92
Offline Offline
Send Email Send Email
 
Wow, Tobias! I'm so happy you didn't leave the FAMPIGA project!
I have both the Minimig+ARM controller and the Alteda DE1, but I find the C-ONE a closed and expensive board. DE1 is much more general-purpose and it's a lot cheaper here in europe.
 
I really look forward for a Yakub core port to the DE1! It will be fantastic! :D
 
Regards
 
    Manuel


From: TobiFlex <t.gubener@...>
To: minimigtg68@yahoogroups.com
Sent: Wednesday, August 5, 2009 10:44:46 AM
Subject: [minimigtg68] Re: Version 12e and version 13: ZENTEL SDRAM compatibility

 

Hi and welcome here!
The V12e and V13 are old versions. Currently I'm working on a new Core Version for the DE1, DE2 and C-One with the latest minimig source YQ090421. I'm also change the SDRAM module to a 3-3-3 Timing. I hope this will solve the problems with different SDRAM chips.
The C-One version will have HD support with a real IDE Connector.
The DE1 and DE2 version will don't have HD Support until the ARM Code with HD image support is not available..

best
TobiFlex

> Hello there
>
> I'm new to this group (and FPGA in general) but this Minimig core is the best thing has ever happened to the Altera DE1 board!
>
> I had to try a lot of versions before I found out that ONLY version 12e is compatible with the newer Altera DE1 board using ZENTEL-labeled SDRAM chips. Version 13 is incompatible with those new boards.
>
> So I wanted to ask:
>
> 1) What are the advantages/differen ces between V12e and V13? Is V12e supposed to have disk write support?
>
> 2) If SDRAM is the problem, can you please compile V13 POF files with the V12e SDRAM controller? Or can you provide basic instructions so I can do it myself?
>
> Thanks, Tobiflexx and the rest!
>



#202 From: "TobiFlex" <t.gubener@...>
Date: Wed Aug 5, 2009 8:44 am
Subject: Re: Version 12e and version 13: ZENTEL SDRAM compatibility
tobiflexx
Offline Offline
Send Email Send Email
 
Hi and welcome here!
The V12e and V13 are old versions. Currently I'm working on a new Core Version
for the DE1, DE2 and C-One with the latest minimig source YQ090421. I'm also
change the SDRAM module to a 3-3-3 Timing. I hope this will solve the problems
with different SDRAM chips.
The C-One version will have HD support with a real IDE Connector.
The DE1 and DE2 version will don't have HD Support until the ARM Code with HD
image support is not available.

best
TobiFlex

> Hello there
>
> I'm new to this group (and FPGA in general) but this Minimig core is the best
thing has ever happened to the Altera DE1 board!
>
> I had to try a lot of versions before I found out that ONLY version 12e is
compatible with the newer Altera DE1 board using ZENTEL-labeled SDRAM chips.
Version 13 is incompatible with those new boards.
>
> So I wanted to ask:
>
> 1) What are the advantages/differences between V12e and V13? Is V12e supposed
to have disk write support?
>
> 2) If SDRAM is the problem, can you please compile V13 POF files with the V12e
SDRAM controller? Or can you provide basic instructions so I can do it myself?
>
> Thanks, Tobiflexx and the rest!
>

#201 From: "gaula92" <gaula92@...>
Date: Wed Aug 5, 2009 7:52 am
Subject: Version 12e and version 13: ZENTEL SDRAM compatibility
gaula92
Offline Offline
Send Email Send Email
 
Hello there

I'm new to this group (and FPGA in general) but this Minimig core is the best
thing has ever happened to the Altera DE1 board!

I had to try a lot of versions before I found out that ONLY version 12e is
compatible with the newer Altera DE1 board using ZENTEL-labeled SDRAM chips.
Version 13 is incompatible with those new boards.

So I wanted to ask:

1) What are the advantages/differences between V12e and V13? Is V12e supposed to
have disk write support?

2) If SDRAM is the problem, can you please compile V13 POF files with the V12e
SDRAM controller? Or can you provide basic instructions so I can do it myself?

Thanks, Tobiflexx and the rest!

#200 From: "TobiFlex" <t.gubener@...>
Date: Mon Apr 6, 2009 11:00 am
Subject: Re: TG80 Development Tools
tobiflexx
Offline Offline
Send Email Send Email
 
Hello,
look into the "c.bat" file. There you can see that I use the SDCC.
After installing SDCC on your system remove or rename  the standard "crt0.o"
from the "SDCC\lib\Z80" Folder. Bigrom use his own crt0.asm!

TobiFlex

>
> I need to know the development tools used to program the TG80 so I can modify
the bigrom for minimigtg68 please ?
>
> I am looking to load the KS into the flash to enable selecting kiskstart using
switches.
>
> Enya.
>

#199 From: "breeanna.eithne@..." <Enya@...>
Date: Mon Apr 6, 2009 8:06 am
Subject: TG80 Development Tools
breeanna.eit...
Offline Offline
Send Email Send Email
 
I need to know the development tools used to program the TG80 so I can modify
the bigrom for minimigtg68 please ?

I am looking to load the KS into the flash to enable selecting kiskstart using
switches.

Enya.

#198 From: "fordp2002" <SimonEllwood@...>
Date: Fri Mar 27, 2009 11:24 pm
Subject: New board to run Minmig and others :D
fordp2002
Offline Offline
Send Email Send Email
 
MikeJ has been busy. See here:-

http://www.fpgaarcade.com/

Fantastic!

He has indicated plans to support many other platforms.

Maybe Atari ST is not welcomed round here, but I might try and fly Star Glider I
guess.

And as this is a DE1/ DE2 board have a look at this thread too:-

http://zet.aluzina.org/forums/viewtopic.php?f=4&t=7&start=20

All the best to fellow retro FPGAers everywhere!

#197 From: "Leslie" <layling@...>
Date: Tue Dec 16, 2008 12:14 pm
Subject: Re: Still no success working minimig onde1 board
redskulldc
Offline Offline
Send Email Send Email
 
Hi Mark, et al.

--- In minimigtg68@yahoogroups.com, Mark McDougall <msmcdoug@...>
wrote:
> AFAIK there are two issues with (DE1) Minimig atm...
>
> (1) SDRAM timing. Some DE1 boards use different SDRAM chips which
aren't
> compatible with the Minimig SDRAM controller out-of-the-box. I also
believe
> that SDRAM problems can be mitigated to some extent via timing
constraints
> in Quartus.

The SDRAM controller files for v12d and v12e have one difference.
The SDRAM controller file for V13 reverts to using the 12d version.

FMAX setting for 13 is markedly different from either 12 versions.

SPIHOST.rom appears identical for 12 versions, but different for V13.
V13 spihost.rom still works for me when using 12d build.

Haven't looked too much at differences between other file versions.

My experience with different versions:

12d works fine, with versions: 7.1, 7.2, 8.0, 8.1 (all FULL versions)
12e builds fine, but always gives me a spihost load timeout error.

13 only works for me when built using 8.0 (sp0/sp1).
Blanks screen when built with 7.x , and I get the RED error screen
when built with 8.1 $%#!!! (I think ozkanocakli had the same problem).

I have the later SDRAM chip : PSC - A2V64S40CTP
I contacted TerASIC support, as the PSC web-site :
http://www.psc.com.tw/ doesn't provide any datasheets.
TerASIC support told me that data for the PSC chips is covered by an
NDA, but they believed the PSC chips were identical to the ISSI chips
(for which data is freely available).

I can only suspect that the chips are ever-so-slightly different, and
the SDRAM controller is running just within tolerance for ISSI chips,
but outside that of the PSC chips.

I did get this:
http://whoyouvotefor.info/altera_sdram.html
SDRAM controller working on my DE1 ok, might try grafting it on to
minimigtg68 over the xmas break.

> (2) Reportedly some SD cards aren't compatible with the Minimig SD
> controller. People have had success with some previously failing SD
cards
> using certain format utilities.

I haven't found an SD card that wouldn't work correctly *AFTER* being
formatted with SD card specific software. I mainly use Toshiba brand.

> Anyone else disagree with this summary?
A fair assessment.

Cheers,
Leslie

#196 From: Mark McDougall <msmcdoug@...>
Date: Tue Dec 16, 2008 3:03 am
Subject: Re: Re: Still no success working minimig onde1 board
tcdevelop
Online Now Online Now
Send Email Send Email
 
ozkanocakli wrote:

> de 1 board shows regular messages
>
> spihost.rom found
> kick.rom loading

AFAIK there are two issues with (DE1) Minimig atm...

(1) SDRAM timing. Some DE1 boards use different SDRAM chips which aren't
compatible with the Minimig SDRAM controller out-of-the-box. I also believe
that SDRAM problems can be mitigated to some extent via timing constraints
in Quartus.

(2) Reportedly some SD cards aren't compatible with the Minimig SD
controller. People have had success with some previously failing SD cards
using certain format utilities.

Personally, I've had mixed success with the various releases of Minimig on
the DE1, DE2 and my own hardware platform, both with .SOF releases and my
own builds with various versions of Quartus.

Unfortunately, until timing issues etc are resolved it's a case of "luck of
the draw" for the DE1/2 builds as far as I can tell. Seems most people have
managed to find a version that works on their hardware. I've been menaing to
take a closer look at the DE1/DE2 problems but haven't found the time.

Unfortunately there's probably not a lot you can do except try the different
builds and different SD cards. Not sure anyone else can help you either?!?

Anyone else disagree with this summary?

Regards,

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

#195 From: "ozkanocakli" <ozkanocakli@...>
Date: Mon Dec 15, 2008 9:31 pm
Subject: Re: Still no success working minimig onde1 board
ozkanocakli
Offline Offline
Send Email Send Email
 
first of all if I bothered with my posts I am sorry, the point i am
able to send sof file via jtag or pof file with programing mode.

de 1 board shows regular messages

spihost.rom found
kick.rom loading

then black screen turns red like amiga, when gives custom chipset
error, and it resets it self

I can get minimig menu by pressing blue key switch

best regards

#194 From: Mark McDougall <msmcdoug@...>
Date: Mon Dec 15, 2008 9:23 pm
Subject: Re: Re: Still no success working minimig onde1 board
tcdevelop
Online Now Online Now
Send Email Send Email
 
ozkanocakli wrote:

> I download latest version 8.1 , when i try to compile it it gives
> several errors

You'll find people are going to be more willing (and able!) to help if you
actually bothered to describe _what_ errors you're getting and the steps you
took to get to that point, rather than just waving your arms and saying "it
doesn't work".

Regards,

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

#193 From: Alex Perez <aperez@...>
Date: Mon Dec 15, 2008 8:29 pm
Subject: Re: altera versions
aperezbios
Offline Offline
Send Email Send Email
 
recompile with quartus 8 web edition, which is free.

On Dec 15, 2008, at 11:07 AM, ozkanocakli wrote:

type of de1 board does not match with the compiled sof file,

minimig13_de1_quartus81 device is EP2C20F484

when I check my device, it says EP2C15/20

so the file download is not suitable how will i fix it



#192 From: "ozkanocakli" <ozkanocakli@...>
Date: Mon Dec 15, 2008 7:07 pm
Subject: altera versions
ozkanocakli
Offline Offline
Send Email Send Email
 
type of de1 board does not match with the compiled sof file,


minimig13_de1_quartus81 device is EP2C20F484

when I check my device, it says EP2C15/20


so the file download is not suitable how will i fix it

#191 From: "ozkanocakli" <ozkanocakli@...>
Date: Thu Dec 4, 2008 9:16 pm
Subject: Re: Still no success working minimig onde1 board
ozkanocakli
Offline Offline
Send Email Send Email
 
--- In minimigtg68@yahoogroups.com, Alex Perez <aperez@...> wrote:
>
> Why not recompile it? It's not that hard, and you can do it for free
> with Quartus 8 Web Edition from the Altera site.
>
> On Dec 2, 2008, at 12:56 PM, ozkanocakli wrote:
>
> > I tried every ever pof & sof files, not working, I got minimig
menu
> > but
> > red screen came to dcreen thats mean custom chips error :(
> >
> >
> >
>
I download latest version 8.1 , when i try to compile it it gives
several errors

#190 From: "ozkanocakli" <ozkanocakli@...>
Date: Tue Dec 2, 2008 9:11 pm
Subject: Re: Still no success working minimig onde1 board
ozkanocakli
Offline Offline
Send Email Send Email
 
--- In minimigtg68@yahoogroups.com, Alex Perez <aperez@...> wrote:
>
> Why not recompile it? It's not that hard, and you can do it for free
> with Quartus 8 Web Edition from the Altera site.
>
> On Dec 2, 2008, at 12:56 PM, ozkanocakli wrote:
>
> > I tried every ever pof & sof files, not working, I got minimig
menu
> > but
> > red screen came to dcreen thats mean custom chips error :(
> >
> >
> >
>

I am able to program de1 but I could not get boot screen, I will be
happy if you can help me via msn

#189 From: Alex Perez <aperez@...>
Date: Tue Dec 2, 2008 9:08 pm
Subject: Re: Still no success working minimig onde1 board
aperezbios
Offline Offline
Send Email Send Email
 
Why not recompile it? It's not that hard, and you can do it for free with Quartus 8 Web Edition from the Altera site.

On Dec 2, 2008, at 12:56 PM, ozkanocakli wrote:

I tried every ever pof & sof files, not working, I got minimig menu but 
red screen came to dcreen thats mean custom chips error :(



#188 From: "ozkanocakli" <ozkanocakli@...>
Date: Tue Dec 2, 2008 8:56 pm
Subject: Still no success working minimig onde1 board
ozkanocakli
Offline Offline
Send Email Send Email
 
I tried every ever pof & sof files, not working, I got minimig menu but
red screen came to dcreen thats mean custom chips error :(

#187 From: "TobiFlex" <t.gubener@...>
Date: Tue Dec 2, 2008 7:20 pm
Subject: Re: Minimig will could be ported to a Terassic DE2-70 board easely?
tobiflexx
Offline Offline
Send Email Send Email
 
No. But I have turned it to the C-ONE.
http://c64upgra.de/c-one/s_news.htm
http://c64upgra.de/c-one/pics/c1extender_final3.jpg

Regards,
TobiFlex

>
> Hi
>
> Whether I too new user DE2-70.
> have turned out at you port minimig on this board?
>

#186 From: "TobiFlex" <t.gubener@...>
Date: Tue Dec 2, 2008 7:13 pm
Subject: Re: TG68 - bugs???
tobiflexx
Offline Offline
Send Email Send Email
 
Hi Mark,
I'm glad that you work with the TG68 Core and that the bug was a
false alarm.

Regards,
TobiFlex
>
> Gary Hoyles wrote:
>
> > You seem to be crying wolf a lot, why not keep your errors to
yourself
> > untill you are !00% sure
>
> It may seem that way, but since I've been working on it pretty
much full
> time for the last 24 hours, I did actually get to the point where,
after a
> few solid hours staring at one particular problem, I thought I
_was_ sure...
> you can't ever be 100% sure either BTW.
>
> It wasn't immediately apparent to me that timing was an issue,
because
> although the system clock rate is reasonably high, the clock
enable is only
> 12MHz. Apparently that is still a problem. By lowering the clock
rate and
> keeping the 12MHz enable, it starts to behave more sanely.
>
> In any case, I stand by the assertion that the address is changing
while AS#
> is asserted, and that _will_ cause grief.
>
> FWIW I also note that there is a new version on opencores that is
not used
> in Minmig, despite the fact that AFAIK Minimig v13 was released
after
> changes were made to the core. I have no idea if the changes
address this issue.
>
> Regards,
>
> --
> |              Mark McDougall                | "Electrical
Engineers do it
> |  <http://members.iinet.net.au/~msmcdoug>   |   with less
resistance!"
>

#185 From: "mjollnir1976" <fixator@...>
Date: Tue Dec 2, 2008 12:21 pm
Subject: Re: Minimig will could be ported to a Terassic DE2-70 board easely?
mjollnir1976
Offline Offline
Send Email Send Email
 
Hi

Whether I too new user DE2-70.
have turned out at you port minimig on this board?

#184 From: Mark McDougall <msmcdoug@...>
Date: Tue Dec 2, 2008 9:03 am
Subject: Re: TG68 - bugs???
tcdevelop
Online Now Online Now
Send Email Send Email
 
Gary Hoyles wrote:

> You seem to be crying wolf a lot, why not keep your errors to yourself
> untill you are !00% sure

It may seem that way, but since I've been working on it pretty much full
time for the last 24 hours, I did actually get to the point where, after a
few solid hours staring at one particular problem, I thought I _was_ sure...
you can't ever be 100% sure either BTW.

It wasn't immediately apparent to me that timing was an issue, because
although the system clock rate is reasonably high, the clock enable is only
12MHz. Apparently that is still a problem. By lowering the clock rate and
keeping the 12MHz enable, it starts to behave more sanely.

In any case, I stand by the assertion that the address is changing while AS#
is asserted, and that _will_ cause grief.

FWIW I also note that there is a new version on opencores that is not used
in Minmig, despite the fact that AFAIK Minimig v13 was released after
changes were made to the core. I have no idea if the changes address this issue.

Regards,

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

#183 From: Gary Hoyles <dimlow_uk@...>
Date: Tue Dec 2, 2008 8:51 am
Subject: Re: TG68 - bugs???
dimlow_uk
Offline Offline
Send Email Send Email
 
You seem to be crying wolf a lot, why not keep your errors to yourself untill you are !00% sure


From: Mark McDougall <msmcdoug@...>
To: minimigtg68@yahoogroups.com
Sent: Tuesday, December 2, 2008 7:00:09 AM
Subject: Re: [minimigtg68] TG68 - bugs???

Mark McDougall wrote:

> move.l #$0810, a0
> move.w #$1234, d0
> move.w d0,(a0)
>
> ...doesn't work. It outputs #$1234 on *both* address and data_out buses!

***SIGH***

Sorry Tobias, a false alarm. Should've checked the timing report!!!!

All looks OK...

Regards,

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


#182 From: Mark McDougall <msmcdoug@...>
Date: Tue Dec 2, 2008 7:00 am
Subject: Re: TG68 - bugs???
tcdevelop
Online Now Online Now
Send Email Send Email
 
Mark McDougall wrote:

> move.l #$0810, a0
> move.w #$1234, d0
> move.w d0,(a0)
>
> ...doesn't work. It outputs #$1234 on *both* address and data_out buses!

***SIGH***

Sorry Tobias, a false alarm. Should've checked the timing report!!!!

All looks OK...

Regards,

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

#181 From: Mark McDougall <msmcdoug@...>
Date: Tue Dec 2, 2008 3:59 am
Subject: TG68 - bugs???
tcdevelop
Online Now Online Now
Send Email Send Email
 
Hi Tobias,

2) I *think* I've found an execution bug.

move.w #$1234, d0
move.l #$0810, a0
move.w d0,(a0)

...works correctly. It writes $1234 to address $0810. However...

move.l #$0810, a0
move.w #$1234, d0
move.w d0,(a0)

...doesn't work. It outputs #$1234 on *both* address and data_out buses!

Regards,

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

#180 From: Mark McDougall <msmcdoug@...>
Date: Tue Dec 2, 2008 3:58 am
Subject: TG68 - bugs???
tcdevelop
Online Now Online Now
Send Email Send Email
 
Hi Tobias,

OK, I've started a new thread because I think I know a little more about
what is going on. I still reserve the right to a big "DOH" if you point out
something stupid that I've done!! ;)

I should mention that I assert DTACKn immediately after AS# is asserted.

1) The core is changing address whilst AS# is asserted. From what I can
tell, this is a big no-no. It's a problem on writes as you can imagine. I
also appears to be holding AS# for quite a long time - longer than I would
think necessary. My temp fix was to strobe my RAM-write on the leading-edge
cycle of AS# asserted.

2) I *think* I've found an execution bug.

move.w #$1234, d0
move.l #$0810, a0

...works correctly. It writes $1234 to address $0810. However...

move.l #$0810, a0
move.w #$1234, d0

...doesn't work. It outputs #$1234 on *both* address and data_out buses!

I can provide you with signaltap traces if you like.

BTW TG68.vhd v1.01, TG68_fast.vhd v1.04 as from Minimig v13 disto.

Regards,

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

#179 From: Mark McDougall <msmcdoug@...>
Date: Tue Dec 2, 2008 12:44 am
Subject: Re: TG68 core
tcdevelop
Online Now Online Now
Send Email Send Email
 
Mark McDougall wrote:

> 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...

My last post was utter trollop.

I'm afraid I don't understand how the TG68 core is supposed to work... :(

Regards,

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

#178 From: Mark McDougall <msmcdoug@...>
Date: Tue Dec 2, 2008 12:21 am
Subject: Re: TG68 core
tcdevelop
Online Now Online Now
Send Email Send Email
 
Mark McDougall wrote:

> 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... :(

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 that to run the TG68 core at 12MHz I need a 24MHz clock_ena?

Regards,

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

#177 From: Mark McDougall <msmcdoug@...>
Date: Mon Dec 1, 2008 4:01 pm
Subject: TG68 core
tcdevelop
Online Now Online Now
Send Email Send Email
 
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!"

Messages 177 - 206 of 334   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

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