Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/shop/widgets/widgets-product.php:652 Stack trace: #0 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/csf-framework/classes/widget-options.class.php(672): zib_shop_widget_ui_oneline_product_lists() #1 /www/wwwroot/chipdebug.com/wp-includes/class-wp-widget.php(394): CSF_Widget->widget() #2 /www/wwwroot/chipdebug.com/wp-includes/widgets.php(847): WP_Widget->display_callback() #3 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/inc/template.php(42): dynamic_sidebar() #4 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/page/posts.php(36): zib_bbs_page_template() #5 /www/wwwroot/chipdebug.com/wp-includes/template.php(880): require_once('...') #6 /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/bbs/inc/class.init.php(428): load_template() #7 /www/wwwroot/chipdebug.com/wp-includes/class-wp-hook.php(353): zib_bbs->template_redirect() #8 /www/wwwroot/chipdebug.com/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters() #9 /www/wwwroot/chipdebug.com/wp-includes/plugin.php(523): WP_Hook->do_action() #10 /www/wwwroot/chipdebug.com/wp-includes/template-loader.php(23): do_action() #11 /www/wwwroot/chipdebug.com/wp-blog-header.php(19): require_once('...') #12 /www/wwwroot/chipdebug.com/index.php(17): require('...') #13 {main} thrown in /www/wwwroot/chipdebug.com/wp-content/themes/zibll/inc/functions/shop/widgets/widgets-product.php on line 652


lattice clarity是什么?
在LATTICE ECP5之前的器件,包括ECP3、XO3、XO2等器件生成IP时使用的都是IP EXPRESS,而ECP5之后就是clairty。不同之处就是IP EXPRESS生成的IP是单独的,而clarity则会将生成的IP打包成一个工程,同时还会生成一个包含所有IP的模块,你可以在diamond工程中直接例化整个IP模块,当然你依然可以单例化每个IP,各有所爱吧。最后要说的是IP EXPRESS使用的是.ipx文件, 而CLARITY这个工具生成的是.sbx文件。
lattice clarity 生成IP操作步骤
以下以clarity生成DDR3的IP为例,其它IP类同:
5.点击完customsize,就会出现DDR3的IP配置框,在里面输入适合你的控制器参数,
每一项的具体意义需要参看DDR3 IP控制器的文档,IP文档的查找下载方法参见文末。
这里DDR3有两个资源组要分配,分别是eclk_group和sclk_group,分别将这两个组用鼠标拖到右边的器件视图中,
如果这个组之前分配过,器件视图边缘的管脚会亮起,如果要重新分配,只需将其拖到可用的引脚BANK上,当鼠标拖动到可用的BANK上时,鼠标会变成一个”+”号,如下图,松开鼠标就可以将管脚分配到该BANK上。
确认Generat运行无误
a. 在File List的input file中点右键选择exist file
找到SBX文件,选择将其加入
如图SBX文件已加到工程中,这个时候你就可以在工程中例化你生成的DDR3控制器IP了。
a. 双击SBX文件,打开clarity,然后选择build标签,然后右键选择config标签,其它步骤与上面流程一样。
LATTICE IP 文档查找下载方法:
文档可以在下面这个地方找到,双击链接会直接在浏览器中打开文档,
如果双击链接不能直接在浏览器中打开链接,那么右键选择复制链接。