RTIO: implemented exceptions #39
pca006132
commented 2020-07-07 16:28:30 +08:00
```
▶ artiq_run exception.py
Core Device Traceback (most recent call last):
File "exception.py", line 13, in artiq_run_exception.ExceptionDemo.run(..., ...) (RA=+0x3dc)
self.led0.on()
File "<artiq>/coredevice/ttl.py", line 53, in ... artiq.coredevice.ttl.TTLOut.on<artiq.coredevice.ttl.TTLOut>(...) (inlined)
self.set_o(True)
File "<artiq>/coredevice/ttl.py", line 45, in ... artiq.coredevice.ttl.TTLOut.set_o<artiq.coredevice.ttl.TTLOut>(...) (inlined)
rtio_output(self.target_o, 1 if o else 0)
File "runtime/src/rtio.rs", line 79, column 10, in (Rust function)
<unknown>
^
artiq.coredevice.exceptions.RTIOUnderflow(0): RTIO underflow at 3249538128 mu, channel 0, slack -1040 mu
Traceback (most recent call last):
```
sb10q
closed this pull request 2020-07-07 16:31:26 +08:00
No reviewers
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#39
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "pca006132/artiq-zynq:master"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?