用于乘法和累加MAC的Verilog代码:错误:vish-4014找不到对象

问题描述

在实现您在下面看到的Verilog代码时,我遇到了如下错误消息:

df.groupby(['Pclass']).agg(aggregations)

您能告诉我如何解决问题或我在哪里做错了吗? 该代码旨在执行在Model-sim SE-64 10.6d上实现的乘法和累加任务

    ---------------------------------------------------------------------------
SpecificationError                        Traceback (most recent call last)
<ipython-input-44-28d5d263d58b> in <module>
----> 1 df.groupby(['Pclass']).agg(aggregations)

~\anaconda3\lib\site-packages\pandas\core\groupby\generic.py in aggregate(self,func,*args,**kwargs)
    926         func = _maybe_mangle_lambdas(func)
    927 
--> 928         result,how = self._aggregate(func,**kwargs)
    929         if how is None:
    930             return result

~\anaconda3\lib\site-packages\pandas\core\base.py in _aggregate(self,arg,**kwargs)
    340                     # {'ra' : { 'A' : 'mean' }}
    341                     if isinstance(v,dict):
--> 342                         raise SpecificationError("nested renamer is not supported")
    343                     elif isinstance(obj,ABCSeries):
    344                         raise SpecificationError("nested renamer is not supported")

SpecificationError: nested renamer is not supported

用于仿真的sim.do文件

 ** Error: (vish-4014) No objects found matching 'a'.
# Error in macro ./sim.do line 4
# (vish-4014) No objects found matching 'a'.
#     while executing
# "add wave a"   

解决方法

在ModelSim用户手册中查找“保留对象可见性”,并添加建议的开关。