# Pastebin VYoJsM8z # LiteScope -------------------------------------------------------------------------------- self.pcie_endpoint.crossbar.finalize() from litescope import LiteScopeAnalyzer analyzer_signals = [ # PHY. self.pcie_phy.m_axis_cq.valid, self.pcie_phy.m_axis_cq.ready, self.pcie_phy.m_axis_cq.last, self.pcie_phy.s_axis_cc.valid, self.pcie_phy.s_axis_cc.ready, self.pcie_phy.s_axis_cc.last, self.pcie_phy.s_axis_rq.valid, self.pcie_phy.s_axis_rq.ready, self.pcie_phy.s_axis_rq.last, self.pcie_phy.m_axis_rc.valid, self.pcie_phy.m_axis_rc.ready, self.pcie_phy.m_axis_rc.last, ] self.submodules.analyzer = LiteScopeAnalyzer(analyzer_signals, depth = 512, clock_domain = "sys", samplerate = sys_clk_freq, csr_csv = "analyzer.csv" )