gen/context: Rename soc to top.
This commit is contained in:
parent
27c55999c6
commit
4497569118
|
@ -19,9 +19,9 @@ class LiteXContext:
|
|||
platform : The FPGA Platform of the project.
|
||||
toolchain : The FPGA Toolchain to be used for synthesis and place-and-route.
|
||||
device : The FPGA Device of the LiteX project.
|
||||
soc : The FPGA SoC of the LiteX project.
|
||||
top : The FPGA Top-Level Module of the LiteX project.
|
||||
"""
|
||||
platform = None
|
||||
toolchain = None
|
||||
device = None
|
||||
soc = None
|
||||
top = None
|
||||
|
|
|
@ -895,8 +895,8 @@ class SoC(LiteXModule, SoCCoreCompat):
|
|||
self.constants = {}
|
||||
self.csr_regions = {}
|
||||
|
||||
# Set SoC to LiteXContext.
|
||||
LiteXContext.soc = self
|
||||
# Set Top-Level to LiteXContext.
|
||||
LiteXContext.top = self
|
||||
|
||||
# SoC Bus Handler --------------------------------------------------------------------------
|
||||
self.bus = SoCBusHandler(
|
||||
|
|
Loading…
Reference in New Issue