From 2205a0c2c3605609e59458f09e3c103473b63987 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 10 Feb 2023 11:53:59 +0100 Subject: [PATCH] cores/xadc: Fix refactor issue. --- litex/soc/cores/xadc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/cores/xadc.py b/litex/soc/cores/xadc.py index d3d9862a4..1a0cce530 100644 --- a/litex/soc/cores/xadc.py +++ b/litex/soc/cores/xadc.py @@ -191,7 +191,7 @@ USSystemMonitorChannels = [ ] class USSystemMonitor(XilinxSystemMonitor): - def __init__(self, channels=USSystemMonitorChannels, primitive="SYSMONE1", sim_device="ULTRASCALE", analog_pads=None): + def __init__(self, channels=USSystemMonitorChannels, primitive="SYSMONE1", sim_device=None, analog_pads=None): # Channels. for channel in channels: self.add_channel(channel) @@ -255,7 +255,7 @@ class USSystemMonitor(XilinxSystemMonitor): i_DI = self.di, o_DO = self.do ) - self.specials += Instance(primitive, self.params) + self.specials += Instance(primitive, **self.params) # DRP. self.comb += If(~self.drp_en,