litex/soc/cores/ussysmon.py: ADC transfer function
This commit is contained in:
parent
71f7ce6a57
commit
922f85e64b
|
@ -103,7 +103,7 @@ class USSYSMON(Module, AutoCSR):
|
||||||
self.sync += [
|
self.sync += [
|
||||||
If(self.drdy,
|
If(self.drdy,
|
||||||
Case(channel, dict(
|
Case(channel, dict(
|
||||||
(k, v.status.eq(self.do >> 4))
|
(k, v.status.eq(self.do >> 6))
|
||||||
for k, v in channels.items()))
|
for k, v in channels.items()))
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue