-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Hi,
I was trying to build this from scratch. And I'm getting this error "BUILD THE CGRA ERROR: init() got an unexpected keyword argument 'name_map'" when I tried to "python garnet.py --width 32 --height 16 --verilog".
Currently, I'm using python==3.8, magma-lang==2.0.70, mantle==2.0.6.
Here's the shortened log:
--- GARNET-BUILD ()
....
--- Genesis Is Starting Work On Your Design ---
....
--- Genesis Finished Generating Your Design ---
Generating LALR tables
....
Ordt complete Sun Feb 04 23:55:42 PST 2024
- BUILD THE CGRA
Traceback (most recent call last):
File "garnet.py", line 971, in
main()
File "garnet.py", line 888, in main
garnet = Garnet(args)
File "garnet.py", line 67, in init
self.interconnect = create_cgra(**cc_args.dict)
File "/homes/iws/jwang710/aha_ws/garnet/cgra/util_onyx.py", line 490, in create_cgra
core = PeakCore(pe_fc, ready_valid=ready_valid)
File "/homes/iws/jwang710/aha_ws/garnet/peak_core/peak_core.py", line 135, in init
self.wrapper = _PeakWrapper(peak_generator)
File "/homes/iws/jwang710/aha_ws/garnet/peak_core/peak_core.py", line 36, in call
self = super().call(peak_generator)
File "/homes/iws/jwang710/aha_ws/garnet/peak_core/peak_core.py", line 52, in init
circuit = peak_generator(MagmaFamily())
File "/homes/iws/jwang710/aha_ws/garnet/src/peak/peak/features.py", line 141, in call
res = self.fc(*args, **kwargs)
File "/homes/iws/jwang710/aha_ws/garnet/src/lassen/lassen/sim.py", line 21, in PE_fc
DataReg = gen_register_mode(DATAWIDTH, 0)(family)
File "/homes/iws/jwang710/aha_ws/garnet/src/peak/peak/features.py", line 141, in call
res = self.fc(*args, **kwargs)
File "/homes/iws/jwang710/aha_ws/garnet/src/lassen/lassen/mode.py", line 30, in RegisterMode_fc
Reg = family.gen_register(T, init)
File "/homes/iws/jwang710/aha_ws/garnet/src/peak/peak/family.py", line 382, in gen_register
return m.Register(T, init,
File "/homes/iws/jwang710/python/lib/python3.8/site-packages/magma_lang-2.0.75-py3.8.egg/magma/generator.py", line 102, in call
this = _make_type(cls, *args, **kwargs)
File "/homes/iws/jwang710/python/lib/python3.8/site-packages/magma_lang-2.0.75-py3.8.egg/magma/generator.py", line 75, in _make_type
cls.init(dummy, *args, **kwargs)
TypeError: init() got an unexpected keyword argument 'name_map'.
I tried to use different versions of magma-lang and mantle but these error still occurs.
Could you kindly share which version of python/magma/mantle/... packages you are using and running for the current repo? I really appreciate any help.
Thank you,
Jiayi
Metadata
Metadata
Assignees
Labels
No labels