【国产FPGA高云GW1N-4系列开发板测评】开发环境搭建以及新建工程
<p style="text-align:justify"> </p><p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">记得第一次接触</font><font face="Calibri">FPGA</font><font face="宋体">还是在大学的时候,那时候对这个没有太多认识,虽然大学学过</font><font face="Calibri">Verilog HDL</font><font face="宋体">编程语言,认为就是把这门课修好就可以,哪知道出了学校才知道它的重要性。本人是做单片机开发的,以后会用到</font><font face="Calibri">FPGA</font><font face="宋体">,所以就申请了此次</font><font face="Calibri">FPGA</font><font face="宋体">开发板测评活动,所以非常感谢电子工程世界论坛以及高云厂商提供的测评机会。在</font><font face="Calibri">FPGA</font><font face="宋体">方向,我是小白一枚。那么学习</font><font face="Calibri">FPGA</font><font face="宋体">就从</font><font face="Calibri">GW1N</font><font face="宋体">系列开发板开始吧</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">搭建环境前先来简单了解一下</font><font face="Calibri">GW1N-4FPGA</font><font face="宋体">开发板;它有四个数码管、</font><font face="Calibri">16</font><font face="宋体">个</font><font face="Calibri">LED</font><font face="宋体">、一个</font><font face="Calibri">64M</font><font face="宋体">外部</font><font face="Calibri">Flash</font><font face="宋体">、</font><font face="Calibri">4</font><font face="宋体">个滑动开关以及</font><font face="Calibri">JTAG</font><font face="宋体">接口,整体而言外设还是有点少,但是对于我这样一个新手,使用还是可以的。系统框图如下:</font></span></span></span></span></p>
<p style="text-indent: 21pt; text-align: center;"> </p>
<p style="text-indent: 21pt; text-align: center;"> </p>
<p style="text-indent: 21pt;"></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">再了解一下</font><font face="Calibri">GW1N-4FPGA</font><font face="宋体">芯片系列产品特点:</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">-</font></span></span><span style="font-size:10.5000pt"><span style="font-family:Calibri">10,000 <font face="宋体">次写寿命周期 </font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:Calibri">- <font face="宋体">超过</font><font face="Calibri">10 </font><font face="宋体">年的数据保存能力</font><font face="Calibri">(+85°C) </font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:Calibri">- <font face="宋体">数据位宽:</font><font face="Calibri">32 </font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:Calibri">- GW1N-1P5/2 <font face="宋体">行存储容量:</font><font face="Calibri">96K bits </font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:Calibri">- GW1N-4 <font face="宋体">行存储容量:</font><font face="Calibri">256K bits </font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:Calibri">- GW1N-9 <font face="宋体">行存储容量:</font><font face="Calibri">608K bits </font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:Calibri">- <font face="宋体">页擦除能力:</font><font face="Calibri">2,048 bytes </font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:Calibri">- <font face="宋体">字编程时间:</font><font face="Calibri">≤16μs </font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:Calibri">- <font face="宋体">页擦除时间:</font><font face="Calibri">≤120ms</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">低功耗;高性能</font><font face="Calibri">DSP </font><font face="宋体">模块;丰富的基本逻辑单元;灵活的</font><font face="Calibri">PLL</font><font face="宋体">资源等特点。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">现在来搭建一下开发环境。</font></span></span></span></span></p>
<ol>
<li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">下载安装包。</font></span></span></span></span></li>
</ol>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">在官网下载即可。下载地址如下:</font> </span></span><a href="http://www.gowinsemi.com.cn/faq.aspx"><u><span class="15" style="font-size:12.0000pt"><span style="font-family:宋体"><span style="color:#0000ff"><span style="text-decoration:underline"><span style="text-underline:single"><font face="宋体">广东高云半导体科技股份有限公司</font> (gowinsemi.com.cn)</span></span></span></span></span></u></a></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">在下载页面根据自己的系统下载相应的安装包。</font></span></span></span></span></p>
<p style="text-indent: 21pt; text-align: center;"> </p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><font face="宋体">2、安装</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">在下载完安装包,一直</font><font face="Calibri">NEXT</font><font face="宋体">,即可。这里比较简单。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">3</font><font face="宋体">、申请</font><font face="Calibri">license</font><font face="宋体">。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">在如图所示页面申请</font><font face="Calibri">license</font><font face="宋体">。注意最好在工作日申请,</font><font face="Calibri">24</font><font face="宋体">小时内会有回复。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<ol start="4">
<li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">添加</font><font face="Calibri">license</font></span></span></span></span></li>
</ol>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">打开高云软件,会弹出添加</font><font face="Calibri">license</font><font face="宋体">页面,直接添加即可,这样开发环境就搭建完成。</font></span></span></span></span></p>
<p style="text-indent: 21pt;"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">5</font><font face="宋体">、新建工程</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">单机</font><font face="Calibri">FILE</font><font face="宋体">或者在</font><font face="Calibri">quick start</font><font face="宋体">新建工程,新建</font><font face="Calibri">FPGA</font><font face="宋体">工程。如下图所示。完成后选择项目目录。</font></span></span></span></span></p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<p style="text-align: left; margin-left: 40px;"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">6</font><font face="宋体">、选择</font><font face="Calibri">device</font><font face="宋体">,因为是</font></span></span><span style="font-size:9.0000pt"><span style="font-family:Verdana"><span style="color:#000000"><span style="letter-spacing:0.0000pt"><span style="font-weight:normal"><span style="font-style:normal">GW1N-LV4LQ144</span></span></span></span></span></span><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="Calibri">C6/I5</font><font face="宋体">,所以选中这个器件即可。完成后会出现一个</font><font face="Calibri">summary,完成后会有一个关于工程的简单情况展示,如下图。工程就新建完毕</font><font face="宋体">。</font></span></span></span></span></p>
<p style="text-align:left"> </p>
<p style="text-align:left"></p>
<p style="text-align:left"> </p>
<p style="text-align:left"></p>
<p style="text-align:left"></p>
<p style="text-align:left"> </p>
<p style="text-align: left; margin-left: 40px;">7、新建工程完毕后,就FILE新建VHDL文件,然后编写代码。如图</p>
<p style="text-align: left;"> </p>
<p style="text-align: left;"> </p>
<p style="text-align: left; margin-left: 40px;"></p>
<p style="text-indent:21.0000pt; text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify">8、编写完代码后,即可点击综合,出现红色字体表示有错误或者警告,0错误0警告,则全显示完成。</p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<p style="text-indent:21.0000pt; text-align:justify">9、综合完成,要进行物理约束,在上图页面中双击USER Constraints,然后出现如下图,选择IO constraints,进行管脚设置。在管脚设置中可以拖拉到管脚或者直接填写管脚号。最后点击完成。</p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<p style="text-indent:21.0000pt; text-align:justify">10、接下来就是进行布局布线。双击Place & Route。</p>
<p style="text-indent:21.0000pt; text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<p style="text-indent:21.0000pt; text-align:justify">11、最后就是下载到开发板。</p>
<p style="text-indent:21.0000pt; text-align:justify"></p>
<p style="text-indent:21.0000pt; text-align:justify">以后就是个人的学习所得。不喜勿喷。谢谢。</p>
<p style="text-indent:21.0000pt; text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"> </p>
<p style="text-indent:21.0000pt; text-align:justify"> </p>
<p>10个步骤就开始进行布局布线了</p>
<p>fpga开始布线,学的很快</p>
Jacktang 发表于 2021-12-9 07:47
10个步骤就开始进行布局布线了
fpga开始布线,学的很快
<p>小白一枚,还请多多指教</p>
<p>这个界面看着好入门,,,期待国产越做越完善。</p>
freebsder 发表于 2021-12-9 17:56
这个界面看着好入门,,,期待国产越做越完善。
<p>这个软件入门还是很方便的,同样期待国产越来越好</p>
页:
[1]