obscure "unsupported comparator" error message #564

Open
opened 2024-12-17 17:26:47 +08:00 by sb10q · 1 comment
Owner
 python3 -m artiq.frontend.artiq_compile nac3devices.py
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/sb/artiq/artiq/frontend/artiq_compile.py", line 75, in <module>
    main()
  File "/home/sb/artiq/artiq/frontend/artiq_compile.py", line 68, in main
    exp_inst.core.compile(exp_inst.run, [], {}, embedding_map, file_output=output)
  File "/home/sb/artiq/artiq/coredevice/core.py", line 127, in compile
    self.compiler.compile_method_to_file(obj, name, args, file_output, embedding_map)
nac3artiq.CompileError: compilation failed
----------
unsupported comparator
``` python3 -m artiq.frontend.artiq_compile nac3devices.py Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/home/sb/artiq/artiq/frontend/artiq_compile.py", line 75, in <module> main() File "/home/sb/artiq/artiq/frontend/artiq_compile.py", line 68, in main exp_inst.core.compile(exp_inst.run, [], {}, embedding_map, file_output=output) File "/home/sb/artiq/artiq/coredevice/core.py", line 127, in compile self.compiler.compile_method_to_file(obj, name, args, file_output, embedding_map) nac3artiq.CompileError: compilation failed ---------- unsupported comparator ```
Author
Owner

This is caused by these lines in ad9834.py:

if phase_reg not in PHASE_REGS:
            raise ValueError("Invalid phase register")
This is caused by these lines in ad9834.py: ``` if phase_reg not in PHASE_REGS: raise ValueError("Invalid phase register") ```
Siddhangana was assigned by sb10q 2024-12-17 17:29:35 +08:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#564
No description provided.