Merge pull request #1102 from trabucayre/eos_s3_fix_wb_adr

Eos s3 fix wb adr
This commit is contained in:
enjoy-digital 2021-11-14 08:50:32 +01:00 committed by GitHub
commit e612f0d1ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ class EOS_S3(CPU):
self.wishbone_master = [] # General Purpose Wishbone Masters. self.wishbone_master = [] # General Purpose Wishbone Masters.
# # # # # #
self.wb = wishbone.Interface(data_width=32, adr_width=17) self.wb = wishbone.Interface(data_width=32, adr_width=15)
# EOS-S3 Clocking. # EOS-S3 Clocking.
self.clock_domains.cd_Sys_Clk0 = ClockDomain() self.clock_domains.cd_Sys_Clk0 = ClockDomain()
@ -58,7 +58,7 @@ class EOS_S3(CPU):
# AHB-To-FPGA Bridge # AHB-To-FPGA Bridge
i_WB_CLK = ClockSignal("Sys_Clk0"), i_WB_CLK = ClockSignal("Sys_Clk0"),
o_WB_RST = WB_RST, o_WB_RST = WB_RST,
o_WBs_ADR = self.wb.adr, o_WBs_ADR = Cat(Signal(2), self.wb.adr),
o_WBs_CYC = self.wb.cyc, o_WBs_CYC = self.wb.cyc,
o_WBs_BYTE_STB = self.wb.sel, o_WBs_BYTE_STB = self.wb.sel,
o_WBs_WE = self.wb.we, o_WBs_WE = self.wb.we,