Home
last modified time | relevance | path

Searched refs:GetMostSignificantSetBitIndex (Results 1 – 7 of 7) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/
DCypress_S25H.cs32 return (byte)BitHelper.GetMostSignificantSetBitIndex((ulong)this.UnderlyingMemory.Size); in GetCapacityCode()
DCadence_SPI.cs235 … var txFifoThresholdBits = BitHelper.GetMostSignificantSetBitIndex((ulong)txFifoCapacity); in BuildRegisterMap()
236 … var rxFifoThresholdBits = BitHelper.GetMostSignificantSetBitIndex((ulong)rxFifoCapacity); in BuildRegisterMap()
DGenericSpiFlash.cs187 … capacityCode = (byte)BitHelper.GetMostSignificantSetBitIndex((ulong)underlyingMemory.Size); in GetCapacityCode()
191 …capacityCode = (byte)((BitHelper.GetMostSignificantSetBitIndex((ulong)underlyingMemory.Size) - 26)… in GetCapacityCode()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DCRCEngine.cs192 if(BitHelper.GetMostSignificantSetBitIndex(polynomial) + 1 > width) in CRCPolynomial()
DBitHelper.cs18 public static int GetMostSignificantSetBitIndex(ulong value) in GetMostSignificantSetBitIndex() method in Antmicro.Renode.Utilities.BitHelper
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/MemoryControllers/
DOpenTitan_ROMController.cs29 romIndexWidth = BitHelper.GetMostSignificantSetBitIndex(romLengthInWords - 1) + 1; in OpenTitan_ROMController()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Storage/
DUFSDevice.cs1307 …public byte LogicalBlockSizeExponentBase2 => (byte)BitHelper.GetMostSignificantSetBitIndex(Logical…