Merge pull request #14 from DurandA/master

Use cpu instead of cpu_or_bridge in examples
This commit is contained in:
enjoy-digital 2019-08-20 14:40:01 +02:00 committed by GitHub
commit 69a8df013d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class Core(SoCCore):
with_timer=False with_timer=False
) )
self.add_cpu_or_bridge(UARTWishboneBridge(platform.request("serial"), clk_freq, baudrate=115200)) self.add_cpu_or_bridge(UARTWishboneBridge(platform.request("serial"), clk_freq, baudrate=115200))
self.add_wb_master(self.cpu_or_bridge.wishbone) self.add_wb_master(self.cpu.wishbone)
self.bus = platform.request("bus") self.bus = platform.request("bus")
self.submodules.analyzer = LiteScopeAnalyzer((self.bus), 512) self.submodules.analyzer = LiteScopeAnalyzer((self.bus), 512)

View File

@ -32,7 +32,7 @@ class LiteScopeSoC(SoCCore):
# bridge # bridge
self.add_cpu_or_bridge(UARTWishboneBridge(platform.request("serial"), self.add_cpu_or_bridge(UARTWishboneBridge(platform.request("serial"),
sys_clk_freq, baudrate=115200)) sys_clk_freq, baudrate=115200))
self.add_wb_master(self.cpu_or_bridge.wishbone) self.add_wb_master(self.cpu.wishbone)
# Litescope IO # Litescope IO
self.submodules.io = LiteScopeIO(8) self.submodules.io = LiteScopeIO(8)