Author Topic: Development board with FPGA GW1N-LV9LQ144C6/I5  (Read 4664 times)

0 Members and 1 Guest are viewing this topic.

Offline FlyingDutchTopic starter

  • Regular Contributor
  • *
  • Posts: 147
  • Country: pl
Development board with FPGA GW1N-LV9LQ144C6/I5
« on: May 02, 2023, 11:06:02 am »
Hello forum,

I designed a simple development board with FPGA from GowinSemi - IC model: GW1N-LV9LQ144C6/I5. Here is link to mouser.com with this product:
https://www.mouser.com/ProductDetail/GOWIN-Semiconductor/GW1N-LV9LQ144C6-I5?qs=wnTfsH77Xs6N%2FyGezJZrJQ%3D%3D

https://www.gowinsemi.com/en/product/detail/46/

Tis is basic FPGA with 8640 LUT and 120 I/Os in LQFP-144 case. The amount of resources allow conduct experiments with Soft-CPU (for example with RISC-V soft-cores). My main goal was to design FPGA development which is cheap, but is suitable for beginners. Apart the FPGA itself the board is equipped with:
1) 24 MHz clock circuit
2) LDO voltage controllers and switches for configuring FPGA I/O Banks (three voltages: 3.3V , 2.5V and 1.2 V
3) FPGA Mode switches (for boot mode)
4) Setup circuitry (Reconfig, Done etc.)
5) FPGA reset circuit
6) USB to JTAG based on FTDI chip FT 2232HL (allowing programing by USB socket)
7) JTAG Header for alternating programming by "Gowin Cable" external programmer
8) Additional 32Mb SPI flash IC
9) 8MB of PSRAM (Pseudo RAM) alowing big frame-buffers
10) DSub15 VGA connector
11) 8 user LEDs
12) 8 DIP-Switches
13) 5 Push Buttons
14) TF (uSD) card module
15) Simple audio output
16) 59 I/O pins led out to the three goldpin connectors

I wanted the FPGA kit had the opportunity to program by USB socket and did not require expensive external programer (Gowin "USB Cable"), hence the use of the FTDI chip . I also wanted the FPGA board bring out a large number of I/O pins. I don't plan to output differential pins (LVDS) with impedance and length control on PCB. Here is finished schematic (PNGx and PDF).

It remains to design the PCB.
This is how (third image)  the initial arrangement of components on the PCB looks like. I will update the thread as I design the PCB.

Please be so kind to give me a feedback about this design  :)

Regards


« Last Edit: May 02, 2023, 11:11:09 am by FlyingDutch »
 

Offline Gribo

  • Frequent Contributor
  • **
  • Posts: 640
  • Country: ca
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #1 on: May 02, 2023, 01:14:39 pm »
You left the regulator's thermal pads unconnected. You should connect them to a ground plane.
I am available for freelance work.
 
The following users thanked this post: FlyingDutch

Offline FlyingDutchTopic starter

  • Regular Contributor
  • *
  • Posts: 147
  • Country: pl
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #2 on: May 02, 2023, 01:18:41 pm »
You are right - thanks :)

Regards
 

Offline colorado.rob

  • Frequent Contributor
  • **
  • Posts: 420
  • Country: us
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #3 on: May 02, 2023, 09:16:29 pm »
I would drop the VGA and add an HDMI port. I think HDMI is more straight-forward than VGA. And finding a VGA monitor is getting difficult. I don't know that I have a VGA monitor anywhere at home.

You can either do the proper TMDS termination on the board, or go with a direct LVDS connection. The users might need to use a HDMI port extender to use an LVDS port with some devices. But it is more flexible.

Either that or make it a 40-pin LCD connector.
 
The following users thanked this post: FlyingDutch

Online nctnico

  • Super Contributor
  • ***
  • Posts: 27888
  • Country: nl
    • NCT Developments
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #4 on: May 02, 2023, 11:06:19 pm »
A better option is to add a board-to-board connector with good signal integrity (IOW: not headers) so you can add whatever high-speed interface you like to the board.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 
The following users thanked this post: FlyingDutch, karpouzi9

Offline FlyingDutchTopic starter

  • Regular Contributor
  • *
  • Posts: 147
  • Country: pl
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #5 on: May 03, 2023, 05:30:28 am »
I would drop the VGA and add an HDMI port. I think HDMI is more straight-forward than VGA. And finding a VGA monitor is getting difficult. I don't know that I have a VGA monitor anywhere at home.

You can either do the proper TMDS termination on the board, or go with a direct LVDS connection. The users might need to use a HDMI port extender to use an LVDS port with some devices. But it is more flexible.

Either that or make it a 40-pin LCD connector.

Hello @colorado.rob,
I thought about adding HDMI output. This board is designed for learning FPGAs and VGA projects in HDL are much simpler than HDMI, but maybe you are right. I will add HDMI output to this design, but I do not drop VGA connector.

Thanks for comment and regards
 

Offline FlyingDutchTopic starter

  • Regular Contributor
  • *
  • Posts: 147
  • Country: pl
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #6 on: May 03, 2023, 05:54:20 am »
A better option is to add a board-to-board connector with good signal integrity (IOW: not headers) so you can add whatever high-speed interface you like to the board.
Hello @nctnico,

I designed this board for beginners for learning purposes and the ease of connecting to signals is essential. I am not willing to change this. I would like to design a second more advanced board with Gowin FPGA GW1N LV9 with BGA256 case. On this second board, I will lead to the connector high-speed signals (LVDS) with tracks designed with impedance and length control and more convenient connectors.

Thanks for your comment and regards
 

Offline up8051

  • Frequent Contributor
  • **
  • Posts: 305
  • Country: pl
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #7 on: May 03, 2023, 09:16:04 am »
Beginners will buy "Tang Nano 9k" for 18$,  cheaper than chip itself from  mouser.

I would love to buy a development chip with LVDS outputs, LCD 40/50 pin connector and voltage generators for LCD, switched voltages of I/O banks, etc

Best regards
JarekC
 
The following users thanked this post: FlyingDutch

Online nctnico

  • Super Contributor
  • ***
  • Posts: 27888
  • Country: nl
    • NCT Developments
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #8 on: May 03, 2023, 01:49:47 pm »
A better option is to add a board-to-board connector with good signal integrity (IOW: not headers) so you can add whatever high-speed interface you like to the board.
Hello @nctnico,

I designed this board for beginners for learning purposes and the ease of connecting to signals is essential. I am not willing to change this. I would like to design a second more advanced board with Gowin FPGA GW1N LV9 with BGA256 case. On this second board, I will lead to the connector high-speed signals (LVDS) with tracks designed with impedance and length control and more convenient connectors.

Thanks for your comment and regards
I get that but boards like yours are a dime-a-dozen on Aliexpress. Recently I bought two Tang Nano boards for 11 euro each and my biggest complaint is that they don't have good connectors that allow use as a module on a serious prototype board. Besides that, having board-to-board connectors doesn't rule out to have pads for headers. They can both exist at the same time.
« Last Edit: May 03, 2023, 01:52:09 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2794
  • Country: ca
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #9 on: May 03, 2023, 01:53:23 pm »
Hello @colorado.rob,
I thought about adding HDMI output. This board is designed for learning FPGAs and VGA projects in HDL are much simpler than HDMI, but maybe you are right. I will add HDMI output to this design, but I do not drop VGA connector.
VGA and HDMI are fundamentally the same (and not, that is not a coincidence!), but VGA requires digital-to-analog conversion while HDMI instead sends color values directly via serial links, so I would say HDMI is a bit simpler logically. One problem with HDMI is that it requires fast IO and preferably hardware SERDES if you want to achieve 1080p@60Hz (this requires 1450 Mpbs per lane!), and half of that for 720p@60Hz, but of course if 480p is all you need (which is what you are probably going to aim for with VGA), you can get away with relatively slow 270 Mpbs per lane.

With that said, I do agree that VGA is long obsolete and past it's usefulness except in a very few cases of recreating ancient hardware.
« Last Edit: May 03, 2023, 02:01:16 pm by asmi »
 
The following users thanked this post: colorado.rob, FlyingDutch

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2794
  • Country: ca
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #10 on: May 03, 2023, 01:55:15 pm »
Besides that, having board-to-board connectors doesn't rule out to have pads for headers. They can both exist at the same time.
Actually it kind of does because those extra pads for headers will create stubs which negatively affect signal integrity due to reflections.
« Last Edit: May 03, 2023, 01:59:10 pm by asmi »
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 27888
  • Country: nl
    • NCT Developments
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #11 on: May 03, 2023, 01:58:33 pm »
Besides that, having board-to-board connectors doesn't rule out to have pads for headers. They can both exist at the same time.
Actually it kind of does because those extra pads for headers will create stubs which negatively affect signal integrity due to reflections.
That is not a huge problem for the frequencies these FPGAs are useful at. For a prototype spread over several boards, the signal integrity won't be excellent anyway.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2794
  • Country: ca
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #12 on: May 03, 2023, 01:59:14 pm »
I get that but boards like yours are a dime-a-dozen on Aliexpress. Recently I bought two Tang Nano boards for 11 euro each and my biggest complaint is that they don't have good connectors that allow use as a module on a serious prototype board.
Why don't you design your own board which would have whatever you want? These are very simple FPGAs, so designing a PCB for them is a rather trivial matter (no DDRx, rather easy power requirements, etc.).
 
The following users thanked this post: FlyingDutch

Online nctnico

  • Super Contributor
  • ***
  • Posts: 27888
  • Country: nl
    • NCT Developments
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #13 on: May 03, 2023, 02:02:05 pm »
I get that but boards like yours are a dime-a-dozen on Aliexpress. Recently I bought two Tang Nano boards for 11 euro each and my biggest complaint is that they don't have good connectors that allow use as a module on a serious prototype board.
Why don't you design your own board which would have whatever you want? These are very simple FPGAs, so designing a PCB for them is a rather trivial matter (no DDRx, rather easy power requirements, etc.).
Why would I for a prototype? If I'm going to design a board, I'm not going to make something universal I could sell as a product. However, if somebody is asking for input to design such a product aimed at prototyping, I'm more than happy to help with suggestions. It is up to the person to deem my suggestions usefull or not. Looking at what market segment is interesting is part of product development.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2794
  • Country: ca
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #14 on: May 03, 2023, 02:13:35 pm »
Why would I for a prototype?
I always design a devboard whenever I evaluate a new FPGA for my future projects, or if my existing devboards can't accomodate peripheral I want to use. Don't really see a problem with that, these boards always get a lot of mileage :-//

If I'm going to design a board, I'm not going to make something universal I could sell as a product. However, if somebody is asking for input to design such a product aimed at prototyping, I'm more than happy to help with suggestions. It is up to the person to deem my suggestions usefull or not. Looking at what market segment is interesting is part of product development.
His board is clearly intended for beginners, who probably don't even know what LVDS is, much less how to use it. Also high-speed connectors tend to be relatively expensive, and beginners tend to be very price-sensitive as they are not yet committed to FPGAs and might not be willing to invest into the devboard.
 
The following users thanked this post: FlyingDutch

Offline FlyingDutchTopic starter

  • Regular Contributor
  • *
  • Posts: 147
  • Country: pl
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #15 on: May 03, 2023, 04:41:41 pm »
Beginners will buy "Tang Nano 9k" for 18$,  cheaper than chip itself from  mouser.

I would love to buy a development chip with LVDS outputs, LCD 40/50 pin connector and voltage generators for LCD, switched voltages of I/O banks, etc

Best regards
JarekC

Hello @up805,
I am going to design a second more advanced board with differential signals (LVDS) led out to better connectors and with tracks impedance and length matching. Also with 40 pin connector for LCD. A am also planning to place ADC with 20 MSPS speed and a similar speed DAC on board. This simpler board is for getting more experience and checking if everything is working properly.

Thanks for your comment and Regards
 

Offline FlyingDutchTopic starter

  • Regular Contributor
  • *
  • Posts: 147
  • Country: pl
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #16 on: May 03, 2023, 04:46:52 pm »

VGA and HDMI are fundamentally the same (and not, that is not a coincidence!), but VGA requires digital-to-analog conversion while HDMI instead sends color values directly via serial links, so I would say HDMI is a bit simpler logically. One problem with HDMI is that it requires fast IO and preferably hardware SERDES if you want to achieve 1080p@60Hz (this requires 1450 Mpbs per lane!), and half of that for 720p@60Hz, but of course if 480p is all you need (which is what you are probably going to aim for with VGA), you can get away with relatively slow 270 Mpbs per lane.

With that said, I do agree that VGA is long obsolete and past it's usefulness except in a very few cases of recreating ancient hardware.

Hello @asmi,
I agree with you, but my experience as a beginner is such that at the start of learning it is easier to understand how VGA projects work (I mean in HDL code). This the reason I put the VGA output on this board.

Thanks for your comment and regards
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2794
  • Country: ca
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #17 on: May 03, 2023, 05:00:26 pm »
Hello @asmi,
I agree with you, but my experience as a beginner is such that at the start of learning it is easier to understand how VGA projects work (I mean in HDL code). This the reason I put the VGA output on this board.
I don't understand how it's so - it's the same code, up to the last stage, which goes into DACs (for VGA) vs SERDES (HDMI). My concern with VGA is that it's extremely unlikely that a future user will actually have a VGA-capable display unless he bought one specifically for that reason (which is unlikely because beginners typically are not willing to invest serious money into a display that won't be useful for anything else, as all other boards typically have only digital outputs, like HDMI or even DisplayPort), and as time goes on, it becomes progressively harder to find.

Online nctnico

  • Super Contributor
  • ***
  • Posts: 27888
  • Country: nl
    • NCT Developments
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #18 on: May 03, 2023, 05:48:40 pm »
IMHO an LCD panel interface (either parallel or LVDS) makes more sense. These are cheap from various sources. The only problem is that the connector typically isn't standard but going for something that also works on the Raspberry pi is likely a good enough default.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2794
  • Country: ca
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #19 on: May 03, 2023, 06:15:21 pm »
IMHO an LCD panel interface (either parallel or LVDS) makes more sense.
It's exact same as HDMI and VGA (sans the output stage)! And DisplayPort is again the same - apparently people designing all these interfaces really hate change, so they tried their absolute hardest to shoehorn old analog approach (with blanking and stuff, which make no sense for modern displays) into digital protocols. I would agree though that even 720p would probably be too much for such small density device, while 800x480 LCD panel would be just about right. But this again raises a concern about increased price, because it's unreasonable to expect users to already have such a panel.

Online langwadt

  • Super Contributor
  • ***
  • Posts: 4701
  • Country: dk
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #20 on: May 03, 2023, 06:23:30 pm »
IMHO an LCD panel interface (either parallel or LVDS) makes more sense.
It's exact same as HDMI and VGA (sans the output stage)! And DisplayPort is again the same - apparently people designing all these interfaces really hate change, so they tried their absolute hardest to shoehorn old analog approach (with blanking and stuff, which make no sense for modern displays) into digital protocols. I would agree though that even 720p would probably be too much for such small density device, while 800x480 LCD panel would be just about right. But this again raises a concern about increased price, because it's unreasonable to expect users to already have such a panel.


https://wiki.sipeed.com/hardware/en/tang/Tang-Nano-9K/Nano-9K.html

on Aliexpress it is half the price of the FPGA alone on mouser

 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2794
  • Country: ca
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #21 on: May 03, 2023, 06:27:01 pm »
https://wiki.sipeed.com/hardware/en/tang/Tang-Nano-9K/Nano-9K.html

on Aliexpress it is half the price of the FPGA alone on mouser
Aaand? What's your point?

Online nctnico

  • Super Contributor
  • ***
  • Posts: 27888
  • Country: nl
    • NCT Developments
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #22 on: May 03, 2023, 06:31:45 pm »
IMHO an LCD panel interface (either parallel or LVDS) makes more sense.
It's exact same as HDMI and VGA (sans the output stage)! And DisplayPort is again the same - apparently people designing all these interfaces really hate change, so they tried their absolute hardest to shoehorn old analog approach (with blanking and stuff, which make no sense for modern displays) into digital protocols. I would agree though that even 720p would probably be too much for such small density device, while 800x480 LCD panel would be just about right. But this again raises a concern about increased price, because it's unreasonable to expect users to already have such a panel.
Small TFT panels are a dime-a-dozen.

https://wiki.sipeed.com/hardware/en/tang/Tang-Nano-9K/Nano-9K.html

on Aliexpress it is half the price of the FPGA alone on mouser
Aaand? What's your point?
The point is that what the OP wants to make can be bought off-the-shelve for a far lower price than the OP can buy the parts for. So how to sell this board into a cost conscious market? This can be done by offering a very good ecosystem but how to tie that to the product of the OP? Maybe the beginners market isn't even interesting but a higher end board could sell better to a more professional market segment.
« Last Edit: May 03, 2023, 06:35:54 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2794
  • Country: ca
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #23 on: May 03, 2023, 06:33:03 pm »
The point is that what the OP wants to make can be bought off-the-shelve for a far lower price than the OP can buy the parts for.
And? What about all other stuff?

Online nctnico

  • Super Contributor
  • ***
  • Posts: 27888
  • Country: nl
    • NCT Developments
Re: Development board with FPGA GW1N-LV9LQ144C6/I5
« Reply #24 on: May 03, 2023, 06:38:31 pm »
The point is that what the OP wants to make can be bought off-the-shelve for a far lower price than the OP can buy the parts for.
And? What about all other stuff?
Random Google find:

https://learn.lushaylabs.com/tang-nano-9k-graphics/

With the endless flood of 'shields' that are pluggable into a breadboard, the possibilities are limitless. For as long as you don't need high speed interconnects or a more permanent solution... Which circles back to the market segment that isn't addressed by all pin-header based boards. Think about why the Raspberry Pi compute modules that fit in an SO-DIMM slot exist. An M.2 or mSata slot could also be an interesting form factor for an FPGA board. And these connectors don't add any cost to the board at all.

Just thinking out loud here  ;)
« Last Edit: May 03, 2023, 07:08:11 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf