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(676): 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(426): 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


DDR GENERIC这个IP只是做数据采样,并不做数据对齐,这个需要你自己做对齐
这个DDR GENERIC IP的代码在生成的.v文件中直接可以看到,就是一些IDDR或ODDR的源语,很简单。
在过了一遍你的ADC资料后,我给出以下检查建议:
在ADC稳定输出后再使能DDR_GENERIC_RX。注意以下两点:
A. AD上电过程的结束最好通过串行配置接口读取相应的寄存器来确认。
2.AD可以输出TestPatterns,用于word对齐处理。 frame clk可用于确认数据的起始(注意我们这个DDR_GENERIC的IP是只采集数据不做word对齐的,可以查看他生成的代码,由于各个器件系列的DDR IO结构稍有差异,这个IP主要是为了方便生成不同器件的DDR IO相关原语)。
3.复位时要注意先复位你的ADC,在ADC初始化完成后再复位DDR_GERNERIC。