fix download bitstream and add json convert for jtag status reg

This commit is contained in:
2025-04-25 17:14:34 +08:00
parent 2b5154062d
commit 42ddd0fcdb
5 changed files with 58 additions and 37 deletions

View File

@@ -158,7 +158,7 @@ namespace Common
return new(new ArgumentException(
"Location can't be negetive", nameof(location)));
return (srcBits & (1 << location)) == 1;
return ((srcBits >> location) & ((UInt32)0b1)) == 1;
}