<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[H265 ENCODER RTL V2.0仿真教程]]></title><description><![CDATA[<ul>
<li>
<p dir="auto">Download the <em><strong><a href="http://openasic.org/topic/71/h265-video-encoder-rtl-ip-core-version-2-0?_=1560825446526&amp;loggedin=true" rel="nofollow ugc">H265 Video Encoder RTL IP Core V2.0</a></strong></em></p>
</li>
<li>
<p dir="auto">解压后得到四个文件夹， 其中“<code>sw</code>”是产生测试向量，“<code>sim</code>”是仿真文件，“<code>rtl</code>”是<code>IP Core</code>的所有代码，“<code>lib</code>”是memory行为级模型<br />
<img src="/assets/uploads/files/1560827791580-folder.jpg" alt="0_1560827791156_folder.JPG" class=" img-fluid img-markdown" /></p>
</li>
<li>
<p dir="auto">进入“sw”文件夹中，修改“<code>f265_encode.cfg</code>”中的参数配置<br />
<code>InputFile</code> ：输入待编码的YUV文件<br />
<code>WidthVideo</code> ：视频宽<br />
<code>HeightVideo</code> ：视频高<br />
<code>GOPLength</code> ： GOP 长度<br />
<code>EncodeFrames</code> ：编码帧数<br />
<code>EncodeQP</code> ：QP<br />
<img src="/assets/uploads/files/1560827964375-cfg.jpg" alt="0_1560827963878_cfg.JPG" class=" img-fluid img-markdown" /></p>
</li>
<li>
<p dir="auto">执行“<code>.\f265.exe -c .\f265_encode.cfg</code>”，Linux下用“<code>f265</code>”<br />
运行完成以及导出文件如下图所示<img src="/assets/uploads/files/1560828001435-result.jpg" alt="1_1560828001126_result.JPG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1560828001429-files.jpg" alt="0_1560828001125_files.JPG" class=" img-fluid img-markdown" /><br />
其中，<br />
“<code>I_SLICE</code>”表示帧内预测编码结果；“<code>P_SLICE</code>”表示P帧编码结果<br />
“<code>bs.hevc</code>”是编码完成的码流文件；“<code>fp_psnr.csv</code>”输出编码结果<code>PSNR，bitrate</code>等<br />
“<code>rec.yuv</code>”重建完成的YUV文件；”<code>s_bit_stream</code>”是CABAC输出的熵编码完成的文件，用于硬件测试。</p>
</li>
<li>
<p dir="auto">将软件导出的文件放到 “<code>/sim/top_testbench/tv</code>”中，并将原始YUV也放入<code>tv</code>文件夹中，如下图所示，”<code>ime_cfg.dat</code>”是配置IME参数，不用更改<img src="/assets/uploads/files/1560828092679-tv.jpg" alt="0_1560828090871_tv.JPG" class=" img-fluid img-markdown" /></p>
</li>
<li>
<p dir="auto">修改“tb_enc_top.v”中的参数，确认与软件导出数据时所用参数相同<br />
<code>'define TEST_I             1            // 测试I帧</code><br />
<code>'define TEST_P             0           // 测试P帧</code><br />
<code>'define FRAME_WIDTH     416 </code><br />
<code>'define FRAME_HEIGHT    240 </code><br />
<code>'define INITIAL_QP         20</code><br />
<code>'define GOP_LENGTH       50</code><br />
<code>'define FRAME_TOTAL      2</code><br />
<code>'define FILE_CUR_YUV     "./tv/BlowingBubbles.yuv" // 指定原始YUV文件路径 </code></p>
</li>
<li>
<p dir="auto">利用Makefile运行仿真，“<code>make vcs</code>” or “<code>make ncsim</code>” or “<code>make vsim</code>”，可能由于软件版本不同，会出现仿真错误，建议更换仿真软件或者使用新版本的仿真软件<br />
仿真正确完成结果如图所示<br />
<img src="/assets/uploads/files/1560828334533-finish.jpg" alt="0_1560828333973_finish.JPG" class=" img-fluid img-markdown" /></p>
</li>
<li>
<p dir="auto">下面两图是软件和硬件设置的QP不同输出的错误结果，错误后会停止编码，供参考<br />
<img src="/assets/uploads/files/1560828358801-error2-resized.jpg" alt="1_1560828358491_error2.JPG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1560828358797-error1.jpg" alt="0_1560828358490_error1.JPG" class=" img-fluid img-markdown" /></p>
</li>
</ul>
]]></description><link>http://www.openasic.org/topic/72/h265-encoder-rtl-v2-0仿真教程</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 18:00:58 GMT</lastBuildDate><atom:link href="http://www.openasic.org/topic/72.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Jun 2019 04:11:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Tue, 17 Jun 2025 07:07:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/li_fpga" aria-label="Profile: li_fpga">@<bdi>li_fpga</bdi></a> TB文件内应用路径文件有问题，我的正确的给你 仅供参考!!![0_1750144059512_1750144023812.jpg](Uploading 100%)</p>
]]></description><link>http://www.openasic.org/post/702</link><guid isPermaLink="true">http://www.openasic.org/post/702</guid><dc:creator><![CDATA[haihuihu]]></dc:creator><pubDate>Tue, 17 Jun 2025 07:07:52 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Thu, 05 Jun 2025 03:02:35 GMT]]></title><description><![CDATA[<p dir="auto">我这边在windows平台上，使用modelsim和debussy联合仿真出现一些问题，报错截图![0_1749092536736_屏幕截图 2025-01-16 134608.jpg](Uploading 100%) ，请问了如何即解决</p>
]]></description><link>http://www.openasic.org/post/698</link><guid isPermaLink="true">http://www.openasic.org/post/698</guid><dc:creator><![CDATA[张琪]]></dc:creator><pubDate>Thu, 05 Jun 2025 03:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Tue, 22 Oct 2024 03:51:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E9%BE%99%E8%A1%8C%E6%B3%BD%E9%9B%A8" aria-label="Profile: 龙行泽雨">@<bdi>龙行泽雨</bdi></a> 请问解决了嘛我也遇到了这个报错</p>
]]></description><link>http://www.openasic.org/post/664</link><guid isPermaLink="true">http://www.openasic.org/post/664</guid><dc:creator><![CDATA[maxwei]]></dc:creator><pubDate>Tue, 22 Oct 2024 03:51:10 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Mon, 05 Aug 2024 03:44:10 GMT]]></title><description><![CDATA[<p dir="auto">@vfire119 你好  这个问题你解决了吗</p>
]]></description><link>http://www.openasic.org/post/641</link><guid isPermaLink="true">http://www.openasic.org/post/641</guid><dc:creator><![CDATA[haihuihu]]></dc:creator><pubDate>Mon, 05 Aug 2024 03:44:10 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Wed, 26 Jun 2024 04:23:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bo" aria-label="Profile: bo">@<bdi>bo</bdi></a> thanks for replying back, is there any databook for this h265, i am unable understand some logics, if you're happy to tell the working of few modules, I will message you, share your mail Or should contact through this website chat box</p>
<p dir="auto">感谢您的回复，是否有此 h265 的数据手册，我无法理解一些逻辑，如果您愿意告诉一些模块的工作原理，我会向您发送消息，分享您的邮件或者应该通过此网站聊天框联系thank you!</p>
]]></description><link>http://www.openasic.org/post/618</link><guid isPermaLink="true">http://www.openasic.org/post/618</guid><dc:creator><![CDATA[karthik_tdk]]></dc:creator><pubDate>Wed, 26 Jun 2024 04:23:32 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Wed, 26 Jun 2024 03:25:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karthik_tdk" aria-label="Profile: karthik_tdk">@<bdi>karthik_tdk</bdi></a> 京东上就有卖的</p>
]]></description><link>http://www.openasic.org/post/616</link><guid isPermaLink="true">http://www.openasic.org/post/616</guid><dc:creator><![CDATA[bo]]></dc:creator><pubDate>Wed, 26 Jun 2024 03:25:33 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Thu, 13 Jun 2024 05:07:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bo" aria-label="Profile: bo">@<bdi>bo</bdi></a> said in <a href="/post/561">H265 ENCODER RTL V2.0仿真教程</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xzk" aria-label="Profile: xzk">@<bdi>xzk</bdi></a> 我们有本教材的，你可以先参考一下 《视频编解码芯片设计原理》</p>
</blockquote>
<p dir="auto">你好，我知道在哪里可以得到那本书吗</p>
]]></description><link>http://www.openasic.org/post/605</link><guid isPermaLink="true">http://www.openasic.org/post/605</guid><dc:creator><![CDATA[karthik_tdk]]></dc:creator><pubDate>Thu, 13 Jun 2024 05:07:36 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Tue, 11 Jun 2024 07:02:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jadick" aria-label="Profile: jadick">@<bdi>jadick</bdi></a> Hello! I got the same issue "Segmentation fault" while running "sudo ./f265 -c f265_encode.cfg", and have no ideas. Could you have solved it?</p>
]]></description><link>http://www.openasic.org/post/597</link><guid isPermaLink="true">http://www.openasic.org/post/597</guid><dc:creator><![CDATA[HQU_Xie]]></dc:creator><pubDate>Tue, 11 Jun 2024 07:02:58 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Wed, 27 Mar 2024 08:09:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fudh" aria-label="Profile: Fudh">@<bdi>Fudh</bdi></a> 请问你解决了吗？</p>
]]></description><link>http://www.openasic.org/post/587</link><guid isPermaLink="true">http://www.openasic.org/post/587</guid><dc:creator><![CDATA[JingpingHong]]></dc:creator><pubDate>Wed, 27 Mar 2024 08:09:26 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Tue, 19 Mar 2024 08:16:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bo" aria-label="Profile: bo">@<bdi>bo</bdi></a> 您好，请问这个版本是否支持2560x1600，就这个分辨率硬件仿真和f265不一致</p>
]]></description><link>http://www.openasic.org/post/585</link><guid isPermaLink="true">http://www.openasic.org/post/585</guid><dc:creator><![CDATA[codingL]]></dc:creator><pubDate>Tue, 19 Mar 2024 08:16:08 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Fri, 08 Mar 2024 03:07:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mldxl" aria-label="Profile: mldxl">@<bdi>mldxl</bdi></a> 仿真的top层不是有dump fdsb的系统命令吗？我的可以出波形</p>
]]></description><link>http://www.openasic.org/post/580</link><guid isPermaLink="true">http://www.openasic.org/post/580</guid><dc:creator><![CDATA[damian]]></dc:creator><pubDate>Fri, 08 Mar 2024 03:07:38 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Mon, 16 Oct 2023 05:55:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xzk" aria-label="Profile: xzk">@<bdi>xzk</bdi></a> 我们有本教材的，你可以先参考一下 《视频编解码芯片设计原理》</p>
]]></description><link>http://www.openasic.org/post/561</link><guid isPermaLink="true">http://www.openasic.org/post/561</guid><dc:creator><![CDATA[bo]]></dc:creator><pubDate>Mon, 16 Oct 2023 05:55:13 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Mon, 09 Oct 2023 08:01:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tang" aria-label="Profile: tang">@<bdi>tang</bdi></a> 您好  请问有H265 ENCODER RTL代码的说明文档吗  或者说代码具体是哪些部分采用了FPGA的并行呢  理解起来有点吃力</p>
]]></description><link>http://www.openasic.org/post/559</link><guid isPermaLink="true">http://www.openasic.org/post/559</guid><dc:creator><![CDATA[xzk]]></dc:creator><pubDate>Mon, 09 Oct 2023 08:01:10 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Mon, 09 Oct 2023 07:56:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bo" aria-label="Profile: bo">@<bdi>bo</bdi></a> 您好  请问有H265 ENCODER RTL代码的说明文档吗  或者说代码具体是哪些部分采用了FPGA的并行呢  理解起来有点吃力</p>
]]></description><link>http://www.openasic.org/post/558</link><guid isPermaLink="true">http://www.openasic.org/post/558</guid><dc:creator><![CDATA[xzk]]></dc:creator><pubDate>Mon, 09 Oct 2023 07:56:42 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Wed, 27 Sep 2023 03:12:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fudh" aria-label="Profile: Fudh">@<bdi>Fudh</bdi></a> 请问您用7020的板子实现了嘛？</p>
]]></description><link>http://www.openasic.org/post/553</link><guid isPermaLink="true">http://www.openasic.org/post/553</guid><dc:creator><![CDATA[JingpingHong]]></dc:creator><pubDate>Wed, 27 Sep 2023 03:12:21 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Tue, 11 Jul 2023 08:30:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mldxl" aria-label="Profile: mldxl">@<bdi>mldxl</bdi></a> 1</p>
]]></description><link>http://www.openasic.org/post/543</link><guid isPermaLink="true">http://www.openasic.org/post/543</guid><dc:creator><![CDATA[LiuChangjiang]]></dc:creator><pubDate>Tue, 11 Jul 2023 08:30:34 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Tue, 11 Jul 2023 02:10:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xzk" aria-label="Profile: xzk">@<bdi>xzk</bdi></a> 136031569</p>
]]></description><link>http://www.openasic.org/post/542</link><guid isPermaLink="true">http://www.openasic.org/post/542</guid><dc:creator><![CDATA[LiuChangjiang]]></dc:creator><pubDate>Tue, 11 Jul 2023 02:10:19 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Mon, 03 Jul 2023 12:50:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/liuchangjiang" aria-label="Profile: LiuChangjiang">@<bdi>LiuChangjiang</bdi></a> 您好能请教你一下如何在modelsim仿真的吗  或者方便看下您的makefile文件吗</p>
]]></description><link>http://www.openasic.org/post/541</link><guid isPermaLink="true">http://www.openasic.org/post/541</guid><dc:creator><![CDATA[xzk]]></dc:creator><pubDate>Mon, 03 Jul 2023 12:50:05 GMT</pubDate></item><item><title><![CDATA[Reply to H265 ENCODER RTL V2.0仿真教程 on Thu, 25 May 2023 12:09:58 GMT]]></title><description><![CDATA[<p dir="auto">请问在进行波形仿真的时候使用verdi软件，但是进行make ncsim和make vcs并不产生fsdb文件以至于无法看到波形，有解决方法吗</p>
]]></description><link>http://www.openasic.org/post/530</link><guid isPermaLink="true">http://www.openasic.org/post/530</guid><dc:creator><![CDATA[mldxl]]></dc:creator><pubDate>Thu, 25 May 2023 12:09:58 GMT</pubDate></item></channel></rss>