You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,Cheng:
I'm very glad to meet such a strong CGRA simulator!
After I followed the instruction step by step, I met the error:
=================================== FAILURES ===================================
_____________________________ test_cgra_universal ______________________________
CGRARTL_test.py:116: in test_cgra_universal
DataType = mk_data( 32, 1 )
../../lib/messages.py:36: in mk_data
namespace = { 'str': str_func }
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:557: in mk_bitstruct
add_repr=add_repr, add_hash=add_hash )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:529: in bitstruct
return wrap( _cls )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:522: in wrap
return _process_class( cls, add_init, add_str, add_repr )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:457: in _process_class
cls.init = _mk_init_fn( _get_self_name(fields), fields )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:191: in _mk_init_fn
_globals = _globals,
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:107: in _create_fn
custom_exec( py.code.Source(src).compile(), _globals, _locals )
E AttributeError: module 'py' has no attribute 'code'
by the way:
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-7.4.4, pluggy-1.2.0 -- /home/ai/venv/bin/python3
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/ai/cgra/OpenCGRA/cgra/translate/.hypothesis/examples')
rootdir: /home/ai/cgra/OpenCGRA
configfile: pytest.ini
plugins: pymtl3-0.5.5.1, hypothesis-6.79.4
collected 1 item
Could you help me? Have a nice Day!
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,Cheng:
I'm very glad to meet such a strong CGRA simulator!
After I followed the instruction step by step, I met the error:
=================================== FAILURES ===================================
_____________________________ test_cgra_universal ______________________________
CGRARTL_test.py:116: in test_cgra_universal
DataType = mk_data( 32, 1 )
../../lib/messages.py:36: in mk_data
namespace = { 'str': str_func }
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:557: in mk_bitstruct
add_repr=add_repr, add_hash=add_hash )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:529: in bitstruct
return wrap( _cls )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:522: in wrap
return _process_class( cls, add_init, add_str, add_repr )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:457: in _process_class
cls.init = _mk_init_fn( _get_self_name(fields), fields )
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:191: in _mk_init_fn
_globals = _globals,
/home/ai/venv/lib/python3.7/site-packages/pymtl3/datatypes/bitstructs.py:107: in _create_fn
custom_exec( py.code.Source(src).compile(), _globals, _locals )
E AttributeError: module 'py' has no attribute 'code'
by the way:
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-7.4.4, pluggy-1.2.0 -- /home/ai/venv/bin/python3
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/ai/cgra/OpenCGRA/cgra/translate/.hypothesis/examples')
rootdir: /home/ai/cgra/OpenCGRA
configfile: pytest.ini
plugins: pymtl3-0.5.5.1, hypothesis-6.79.4
collected 1 item
Could you help me? Have a nice Day!
Thanks!
The text was updated successfully, but these errors were encountered: