forked from M-Labs/artiq
targets: integrate RTIO analyzer
This commit is contained in:
parent
afaad270cc
commit
4def561710
|
@ -85,7 +85,8 @@ class _NIST_QCx(MiniSoC, AMPSoC):
|
||||||
"rtio": None, # mapped on Wishbone instead
|
"rtio": None, # mapped on Wishbone instead
|
||||||
"rtio_crg": 13,
|
"rtio_crg": 13,
|
||||||
"kernel_cpu": 14,
|
"kernel_cpu": 14,
|
||||||
"rtio_moninj": 15
|
"rtio_moninj": 15,
|
||||||
|
"rtio_analyzer": 16
|
||||||
}
|
}
|
||||||
csr_map.update(MiniSoC.csr_map)
|
csr_map.update(MiniSoC.csr_map)
|
||||||
mem_map = {
|
mem_map = {
|
||||||
|
@ -138,6 +139,9 @@ TIMESPEC "TSfix_cdc2" = FROM "GRPrio_clk" TO "GRPrsys_clk" TIG;
|
||||||
self.add_csr_region("rtio", self.mem_map["rtio"] | 0x80000000, 32,
|
self.add_csr_region("rtio", self.mem_map["rtio"] | 0x80000000, 32,
|
||||||
rtio_csrs)
|
rtio_csrs)
|
||||||
|
|
||||||
|
self.submodules.rtio_analyzer = rtio.Analyzer(self.rtio,
|
||||||
|
self.get_native_sdram_if())
|
||||||
|
|
||||||
|
|
||||||
class NIST_QC1(_NIST_QCx):
|
class NIST_QC1(_NIST_QCx):
|
||||||
def __init__(self, cpu_type="or1k", **kwargs):
|
def __init__(self, cpu_type="or1k", **kwargs):
|
||||||
|
|
|
@ -104,9 +104,9 @@ TIMESPEC "TSfix_ise4" = FROM "GRPsys_clk" TO "GRPrtio_clk" TIG;
|
||||||
class NIST_QC1(BaseSoC, AMPSoC):
|
class NIST_QC1(BaseSoC, AMPSoC):
|
||||||
csr_map = {
|
csr_map = {
|
||||||
"rtio": None, # mapped on Wishbone instead
|
"rtio": None, # mapped on Wishbone instead
|
||||||
"rtio_crg": 13,
|
"rtio_crg": 10,
|
||||||
"kernel_cpu": 14,
|
"kernel_cpu": 11,
|
||||||
"rtio_moninj": 15
|
"rtio_moninj": 12
|
||||||
}
|
}
|
||||||
csr_map.update(BaseSoC.csr_map)
|
csr_map.update(BaseSoC.csr_map)
|
||||||
mem_map = {
|
mem_map = {
|
||||||
|
|
Loading…
Reference in New Issue