Merge pull request #272 from sergachev/fix-comments

fix comments in icap.py
This commit is contained in:
enjoy-digital 2019-10-06 12:10:19 +02:00 committed by GitHub
commit c954ff0cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,12 +31,12 @@ class ICAP(Module, AutoCSR):
self.sync += icap_clk_counter.eq(icap_clk_counter + 1) self.sync += icap_clk_counter.eq(icap_clk_counter + 1)
self.sync += self.cd_icap.clk.eq(icap_clk_counter[3]) self.sync += self.cd_icap.clk.eq(icap_clk_counter[3])
# Resychronize send pulse to icap domain --------------------------------------------------- # Resynchronize send pulse to icap domain ---------------------------------------------------
ps_send = PulseSynchronizer("sys", "icap") ps_send = PulseSynchronizer("sys", "icap")
self.submodules += ps_send self.submodules += ps_send
self.comb += [ps_send.i.eq(self.send.re)] self.comb += [ps_send.i.eq(self.send.re)]
# Generate icap bitstream write sequenceenerate icap bitstream write sequence # Generate icap bitstream write sequence
_csib = Signal(reset=1) _csib = Signal(reset=1)
_i = Signal(32) _i = Signal(32)
_addr = self.addr.storage << 13 _addr = self.addr.storage << 13