Welcome, Guest. Please login or register.

Author Topic: FPGA Replay Board  (Read 821289 times)

Description:

0 Members and 13 Guests are viewing this topic.

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #179 on: January 03, 2012, 03:39:09 AM »
And it's actually possible to stuff the HDL code for existing implementations of 68k Mac, Speccy, BBC, etc into your own synthesizer software and use the resulting bitfile (core). :p ;)
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #180 on: January 04, 2012, 02:32:41 PM »
Quote from: amigadave;674227
something more complicated than a simple 9pin to 23pin Serial port adapter is required.


What kind of pinout does that Miracle piano keyboard use really? ;)

Quote from: amigadave;674227
What about a Parallel port that is compatible with the original Amiga's parallel port for devices like the DCTV, DSS8+, or other peripherals that need a connection to an Amiga parallel port?  Would that be possible with some extra code using the available extra i/o pins?


If there's pins to do it, then yes. Only the voltage level conversion might need some extra components to deal with. But the question is .. why? ;)
A lot better stuff could be wired via the USB port etc.
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #181 on: January 04, 2012, 05:48:07 PM »
The FPGA I/O level depend on the Vcco voltage (asfair) that can vary between 1.2 - 3,3 V. Which voltage that is used depend on the designer (mikej). Any other voltage has to be dealt with using a voltage conversion. The standard trick is a zenerdiode to "Vcc" to limit voltage and a resistor to limit current. The trick has the drawback that it MIGHT overload the supply line that the zenerdiode it's wired to and thus fry most things there (see Xilinx appnote).

A better approach is a dedicated level conversion chip.
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #182 on: January 04, 2012, 11:01:33 PM »
Quote from: JimS;674352
mentions the interface problems but doesn't go into much detail on dealing with it.

Either use diode to Vcc of correct voltage feed. And use a series resistor to limit current. But make sure to calculate the additional current load on the Vcc such that other devices use more current than the one that will spill over. An additional measure is a zenerdiode from Vcc to GND to sink excess current (Kirchhoff..).

Quote from: JimS;674352
That dedicated chip is going to have to be bidirectional on the parallel port.

The catch with this approach is that you need to tell a bidirectional variant which way signals shall flow.

Quote from: amigadave;674360
Many of those people own peripherals that they once used on their original Amiga computers and might want to use them again on a modern replacement, since the FPGA clones are able to run almost all Amiga software, it would also be good if they could use some of the old Amiga third party hardware expansions, like the Miracle piano keyboard, a DCTV paint and image capture device, and other devices that connected to the Serial, or Parallel ports.

The point is that there are usually more efficient ways to accomplish what those peripherals do. Especially using I/O efficient interfaces like I2S etc. That usually also does away with any messy voltage level conversion in massive parallel arrays. Direct connection to the FPGA also imply the risk to fry the main chip.

You can do messy line interfacing and use lots of I/O to connect a sampler. Or you could use a small chip that does it all directly. Just because something is possible doesn't make it the right solution.

Quote from: amigadave;674360
Edit:  I have a USB to Parallel port adapter that I bought to run an old large format printer from my Windows PC.

Because USB polls no more than 1000 times /second and each transfer require a lot of setup data on top of being half duplex and hubbed. USB has some really horrible latency times (totaly unsuitable for bit-bang), throughout is way lower than one could expect, and unpredictable I/O performance.
So your USB-to-Parallel port adapter is only good for printers and LED blinking. Unless you have documentation and your willing to write a new firmware for its possible reflashable MCU.

Quote from: JimS;674365
The trick is whether or not the serial port in the FPGA minimig core can hit the MIDI serial baud rate.

Baud is signaling rate, bits per cycle. The bit rate is possible either by dividing some other clock or by using a PLL (DCM). It might require a update to the FPGA binary (core) however.
« Last Edit: January 04, 2012, 11:07:28 PM by freqmax »
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #183 on: January 05, 2012, 06:49:55 AM »
Quote from: JimS;674397
Oh, I agree with you totally, it makes a lot more sense to build some new custom hardware replace whatever external devices you might have on the serial & parallel ports. But there is the software involved. If it were relatively easy to do the Amiga's ports, then you wouldn't have to write a new sampler program for example.


The action plan depend on how complicated the device is. A simple 8-bit A/D sampler doesn't seem worthwhile for parallel-port replica. While a real-time video compressor might.

Software is not a problem however as the core could translate a new hardware device to behave like the old hardware from a software point of view. And you could have a list of hardware devices to be used that could be selected from the OSD menu.

I can see that I/O will be a problem. So the daughter board connectors P3/P7 would have to be used for a parallel port version. Which would then prevent your 68060/Ethernet etc.. board from being connected that maybe your software requires. And you would be stuffed. A possible workaround is an external CPLD that serialize/parallelize  the connection using the expansion I/O.

Quote from: JimS;674397
That's what I meant to say. To drive the Miracle piano, the FPGA core would have to hit the MIDI bit rate. I guess that would depend on the design of that core.


It depend on which base clocks that is present. Likely the video clock at 27 MHz. If the selected clock is dividable by N is precise enough then a plain logic prescaler will do. Otherwise it depend on I/O availability for another crystal oscillator or availability of DCMs. Finding out these things is one reason why the source for the core is essential.

27 000 000 / 31 250 = 864 divides even! ;)
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #184 on: January 05, 2012, 06:55:25 PM »
Quote from: mikej;674498
UPS have let me down - yet again. Apparently they tried to deliver on Tuesday, having not told me the parcel had been released from customs. They hadn't told the driver the door code. I got a letter today telling me this. Tomorrow is a holiday here, so I won't get it until Monday. grrr.

UPS is a pain, select another company next time..
Otoh, if the company that placed the transportation order tells them to get their act together. They can get "convinced" and they have delivered on Saturdays before.

So basically.. give them hell.

Quote from: JimS;674473
I think a better plan would be to imbed a SPI core into the Amiga core, mapped in at some spare I/O address. Then hook on one of those mp3 decoders that interface with SPI and have audio in.

Why involve an mp3 decoder?

A/D -> SPI -> FPGA .. core glue.  And you can implement any sampler card every heard of on Amiga.
« Last Edit: January 05, 2012, 06:59:41 PM by freqmax »
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #185 on: January 09, 2012, 09:33:13 AM »
How is your order book vs manufactured boards ratio?
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #186 on: January 10, 2012, 01:02:33 AM »
The core can be fixed later, better get the hardware out.
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #187 on: January 10, 2012, 12:31:53 PM »
Partnerships involves entanglements. Better that mikej keeps 100% controll without the company politics.
Better wait for next good batch, than get 1000s of units with corporate BS.
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #188 on: January 10, 2012, 05:00:47 PM »
I had the same thoughts for a long time..
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #189 on: January 12, 2012, 12:15:00 PM »
Yeah, low profile might be a good idea.
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #190 on: January 15, 2012, 03:01:20 PM »
DVI/HDMI has some "must support" modes to be allowed to use the logo. They also have a crappy license for the HDMI part.
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #191 on: January 15, 2012, 05:39:32 PM »
OSD Menu for image adjustments are perfect when you get not readable image.. :p
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #192 on: January 15, 2012, 08:35:51 PM »
Where nothing is connected.. :p

Like in a hotel room where more equipment is heavy to bring..
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #193 on: January 15, 2012, 11:12:55 PM »
A circumvention is to allow some button to cycle through some basic modes until something works. That is upon boot and without any screen assistance.
« Last Edit: January 15, 2012, 11:17:33 PM by freqmax »
 

Offline freqmax

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show all replies
Re: FPGA Replay Board
« Reply #194 from previous page: January 25, 2012, 04:23:23 PM »
Quote from: mikej;677379
I've visited the factory in Shenzhen last week and they have started to source components for the next run.


So they build it without your physical assistance?

How large run will it be?