现在碰到一个问题,想咨询一下。fpga功能异常,加入reveal debug 功能后反而正常了,
以前碰到过类似的,xilinx 加chipscope 才运行正常的情况,后来发现是之前时序约束没做好,
但现在时序约束都做了
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


最近发现lattice加rvl时序正常原因了。我用defparam 传递参数,不加rvl参数传递错了,加rvl 后传递才正常。
用synplify 查看综合后结果,u1 u2参数传递一样了
我也不知道原因,加了后时序就正常了
加的时候为啥会传递正常? 表示不太理解,除非加的时候它用了这些参数,不加的时候没有用。
你要说本来正常,加了reveal后不正常了,我觉得还能理解。
如果本来不正常,加了反倒正常了,说胆你的设计应该是有问题的。
reveal可能会让时序变差,特别是当内部比较拥挤的时候。
是的,我也怀疑过是不是时序问题。以前碰到过类似的,xilinx 加chipscope 才运行正常的情况,后来发现是之前时序约束没做好