Shop OBEX P1 Docs P2 Docs Learn Events
Prop-CPLD - Page 2 — Parallax Forums

Prop-CPLD

2

Comments

  • rjo_rjo_ Posts: 1,825
    edited 2008-10-02 01:55
    Leon,

    Count me as a customer for life[noparse]:)[/noparse] I have a stereo microscope, but I still want a board ready to go. There are lots of commercial apps. I think this is potentially very good for you.

    et al:

    Here is an idea that would take me about a year to accomplish, but would fall out of you like water off a duck's back-->

    How about hanging Atera's cheapest FPGA board off of a Prop using a $50 cable? That way everybody could get 8MB of DRAM, a bunch of SRAM, additional VGA out, etc. etc. etc.

    The value would be in the documentation and in the proprietary objects that you could offer.

    And it would sell Altera's boards to a new customer base... which should lower the cost to Parallax[noparse]:)[/noparse]

    Rich
  • LeonLeon Posts: 7,620
    edited 2008-10-02 11:01
    The Terasic Cyclone boards are cheaper than Altera's, and Digilent sells a nice Xilinx Spartan3 board starting at $99; I've got one. There are lots of options.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • pemspems Posts: 70
    edited 2008-10-02 14:03
    Just curious what are projects come to everyone's mind when thinking of such board?
  • AleAle Posts: 2,363
    edited 2008-10-02 15:26
    My own un*x or multics clone (programmed entirely in assembler) running in a propeller of a SD card wink.gif
  • OwenSOwenS Posts: 173
    edited 2008-10-02 15:26
    Leon: I'm curious, why an Altera CPLD? I've found Xilinx' preferable, if only because their tools run on Linux
  • LeonLeon Posts: 7,620
    edited 2008-10-02 16:37
    I've used both Xilinx and Altera CPLDs. The Altera MAX II CPLDs are really FPGAs, and are therefore more interesting and advanced than the Xilinx ones. The Altera tools are much easier to use. Also, the only Xilinx CPLDs I have are rather old ones like the XC9536 and XC9572, although they are still made.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • heaterheater Posts: 3,370
    edited 2008-10-03 06:26
    This will get my 8080 emulator and CP/M running nicely.
    Then there will be loads of I/O for the Altair front panel, full of LEDs and switches, that it will sit behind.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • Graham StablerGraham Stabler Posts: 2,510
    edited 2008-10-03 08:45
    FWIW The Xilinx coolrunner cplds are very cool and have a very cheap development kit.

    www.xilinx.com/products/devkits/HW-CRII-SK-G.htm

    Graham
  • LeonLeon Posts: 7,620
    edited 2008-10-03 08:56
    It isn't made any more, and was very expensive at $99. I can get an FPGA board for that with plenty of RAM.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle

    Post Edited (Leon) : 10/3/2008 9:01:55 AM GMT
  • Graham StablerGraham Stabler Posts: 2,510
    edited 2008-10-03 09:51
    Mine was $50, didn't realize it was discontinued.
  • Graham StablerGraham Stabler Posts: 2,510
    edited 2008-10-03 09:53
    http://www.xilinx.com/products/devkits/SK-CRII-L-G.htm

    $39

    It was just for information, go with what flavour you like but I thought the point of a CPLD is that it isn't an FPGA, i.e. cheap fast with internal storage.

    Graham
  • LeonLeon Posts: 7,620
    edited 2008-10-03 10:48
    The Altera device I'm using is actually a small FPGA with on-chip configuration memory. They call it a CPLD for marketing reasons. It's a much better device than the Coolrunner in this application.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle

    Post Edited (Leon) : 10/3/2008 10:53:53 AM GMT
  • pemspems Posts: 70
    edited 2008-10-03 18:59
    Leon, is there an estimate of how much you'll charge for bare boards? populated?

    Thanks
  • LeonLeon Posts: 7,620
    edited 2008-10-03 19:24
    I haven't done any costings yet. I'll be able to do that when the PCB layout is finished.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • BTXBTX Posts: 674
    edited 2008-10-22 01:43
    Hi Leon.
    Any new notices/progress on this ?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Regards.

    Alberto.
  • AleAle Posts: 2,363
    edited 2008-10-22 14:53
    Maybe he is too hooked to the xmos wink.gif
  • LeonLeon Posts: 7,620
    edited 2008-10-22 15:05
    Yes, that's the problem!

    I'll see if I can get it done tonight.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • LeonLeon Posts: 7,620
    edited 2008-11-09 18:01
    I've just resumed work on the Prop-CPLD board, and have started laying out the PCB. Here is a pic of it so far:

    www.leonheller.com/Propeller/prop-cpld.gif

    After I've routed the critical tracks I'll use the autorouter to save time, it does a good job on this type of board.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • heaterheater Posts: 3,370
    edited 2008-11-09 18:18
    Good to see this is progressing.

    At first sight it looks to me as if it would be beneficial to swap the positions of CON5 and CON6 as there are lot of nets crossing over on their way to the Prop. Or even move them to the other side of the board.

    Similarly there is a lot of net crossing between the RAM and CPLD. Placement and pin swapping can make life easy for the auto router.

    Or perhaps this is just your first shot. I'm sure you know what you are doing.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • heaterheater Posts: 3,370
    edited 2008-11-09 18:48
    Actually looking at that placement I'm a little confused:

    1. I can't see the 8 bit bus and controls passing from Prop to CPLD.

    2 I can't see any IOs of the CPLD making it off the board via connector or pads. Like IO pins 15 to 21, 26 to 31 etc. as I thought was the intention.

    Are we only looking at 1 layer of net or something?

    Now looking back at the schematic those CPLD IOs are not shown connected at all, as it stands the CPLD can do nothing but provide logic and drive the RAM.

    Is there a newer schematic?

    Looking at the schematic it shows the Prop/CPLD bus using Prop IO P0 to P2 and P4 to P11. I guess the 8 lines P4 to P11 are intended for data and the others for control. This implies that communication over the bus will always need shifting operations. Could we not speed things up by using P0-P7 for data and avoiding the shifts ?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • nutsonnutson Posts: 242
    edited 2008-11-09 19:26
    In my soft-CPU design I have given the propeller 8 bidirectional data lines and 4 control lines to the FPGA, enabling 15 different commands: 6 registers write, 4 registers read, 4 clocks, 1 supercommand (8 databits interpreted as command)
  • LeonLeon Posts: 7,620
    edited 2008-11-09 19:42
    That's the first try. I've enabled pin-swapping on several of the parts and can swap a lot of the connections to make routing easier.


    @Heater

    Here's the current schematic:

    www.leonheller.com/Propeller/Prop-CPLD.pdf

    I thought I'd added those signals from the Propeller to the bus connections, but I seem to have forgotten them. I'll add them now and update the schematic.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle

    Post Edited (Leon) : 11/9/2008 8:03:47 PM GMT
  • heaterheater Posts: 3,370
    edited 2008-11-09 20:00
    Oh, now the Prop/CPLD bus is missing altogether. Or is there a plan to have it "pluggable" via neighbouring pads and links?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • LeonLeon Posts: 7,620
    edited 2008-11-09 20:13
    I've just added P0-P7 and P8-P10 to the CPLD, and 28 of the CPLD pins have been brought out to two 2x8 headers. New version:

    www.leonheller.com/Propeller/Prop-CPLD.pdf

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle

    Post Edited (Leon) : 11/9/2008 10:05:04 PM GMT
  • LeonLeon Posts: 7,620
    edited 2008-11-10 11:54
    Here's the PCB layout:

    www.leonheller.com/Propeller/prop-cpld_layout.GIF

    The placement isn't complete but I tried the autorouter on it and got almost 100% completion. I've decided to make it a 4-layer board - much easier to route and less likely to have problems with lots of loads on the CPLD.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • heaterheater Posts: 3,370
    edited 2008-11-10 14:27
    I'm still confused, maybe I'm getting tired.

    I can see in the schematic an address/data bus between CPLD and RAM.
    I can see an IO bus going out to CON7 and CON8.

    So far so good. But I can't see what happens to P0 to P10 from the prop.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • LeonLeon Posts: 7,620
    edited 2008-11-10 14:59
    Sorry, I've forgotten to connect them to the CPLD from the bus. It's just as well that you are checking it.

    I've uploaded the new version:

    www.leonheller.com/Propeller/Prop-CPLD.pdf

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • heaterheater Posts: 3,370
    edited 2008-11-10 15:09
    OK cool. I would have been tempted to keep the CPLD/SRAM bus separate from the PROP/CPLD bus but perhaps the schematic is getting crowded enough already.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
  • LeonLeon Posts: 7,620
    edited 2008-11-10 15:17
    I've reduced the signal via size to the smallest my usual supplier can manage (0.6 mm dia, 0.3 mm hole), and it routed very easily, even with the extra connections (apart from a couple of nets). New image uploaded:

    www.leonheller.com/Propeller/prop-cpld_layout.GIF

    If you think it's OK I'll finish the placement and do the routing properly. I'll make it as small as possible to keep the cost down. I might use 6 mil tracks instead of 8 mil, they won't cost any more.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • heaterheater Posts: 3,370
    edited 2008-11-10 15:47
    The decoupling capacitors seem to be wondering off the board, I'm sure you know where you want them.
    Are there going to be any mounting holes or such ?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    For me, the past is not over yet.
Sign In or Register to comment.