Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: whitequark/glasgow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 08169d49b9d9
Choose a base ref
...
head repository: whitequark/glasgow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bc03aa93c81f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 25, 2018

  1. applet.jtag_xc9500: add missing JTAG state machine fixes.

    Forgot to update FVFY and FPGMI.
    whitequark committed Nov 25, 2018
    Copy the full SHA
    bc03aa9 View commit details
Showing with 5 additions and 1 deletion.
  1. +5 −1 software/glasgow/applet/jtag_xc9500/__init__.py
6 changes: 5 additions & 1 deletion software/glasgow/applet/jtag_xc9500/__init__.py
Original file line number Diff line number Diff line change
@@ -292,6 +292,8 @@ async def _fvfy(self, address, count):

words = []
for offset in range(count):
await self.lower.run_test_idle(1)

dev_address = bitstream_to_device_address(address + offset + 1)
isconf = DR_ISCONFIGURATION(valid=1, strobe=1, address=dev_address)
isconf_bits = await self.lower.exchange_dr(isconf.to_bitarray()[:50])
@@ -382,7 +384,9 @@ async def _fpgmi(self, words):
isdata = DR_ISDATA(valid=1, strobe=strobe, data=word)
await self.lower.write_dr(isdata.to_bitarray()[:34])

if strobe:
if not strobe:
await self.lower.run_test_idle(1)
else:
await self.lower.run_test_idle(20_000)

isdata = DR_ISDATA()