# Litescope analyzer_groups = { 0: [ self.wrapper.from_nmigen(self.out_ep_v2._ep.interface.tokenizer.is_ping), self.wrapper.from_nmigen(self.out_ep_v2._ep.ping_response_requested), self.wrapper.from_nmigen(self.out_ep_v2._ep.data_response_requested), self.wrapper.from_nmigen(self.out_ep_v2._ep.okay_to_receive), self.wrapper.from_nmigen(self.out_ep_v2._ep.should_skip), self.out_ep_v2.source, #self.in_ep_v2.sink, ], } self.submodules.analyzer = LiteScopeAnalyzer(analyzer_groups, 64*1024, csr_csv = 'analyzer.csv', clock_domain = 'usb') self.add_csr('analyzer')