fix download bitstream and add json convert for jtag status reg
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user