byteman
1.3 (Build #225)
Bitstream relocation and manipulation tool
|
Functions | |
uint16_t | read16 (std::ifstream &fin, Endianness e=Endianness::NATIVE) |
uint32_t | read32 (std::ifstream &fin, Endianness e=Endianness::NATIVE) |
uint64_t | read64 (std::ifstream &fin, Endianness e=Endianness::NATIVE) |
uint8_t | read8 (std::ifstream &fin, Endianness e=Endianness::NATIVE) |
uint16_t | readBigEndian16 (std::ifstream &fin) |
uint32_t | readBigEndian32 (std::ifstream &fin) |
uint64_t | readBigEndian64 (std::ifstream &fin) |
uint8_t | readBigEndian8 (std::ifstream &fin) |
uint16_t | readBitSwappedBigEndian16 (std::ifstream &fin) |
uint32_t | readBitSwappedBigEndian32 (std::ifstream &fin) |
uint64_t | readBitSwappedBigEndian64 (std::ifstream &fin) |
uint8_t | readBitSwappedBigEndian8 (std::ifstream &fin) |
uint16_t | readBitSwappedLittleEndian16 (std::ifstream &fin) |
uint32_t | readBitSwappedLittleEndian32 (std::ifstream &fin) |
uint64_t | readBitSwappedLittleEndian64 (std::ifstream &fin) |
uint8_t | readBitSwappedLittleEndian8 (std::ifstream &fin) |
std::string | readBitSwappedString (std::ifstream &fin, int stringSize) |
char * | readBitSwappedStringIntoCharArray (std::ifstream &fin, int stringSize) |
uint16_t | readLittleEndian16 (std::ifstream &fin) |
uint32_t | readLittleEndian32 (std::ifstream &fin) |
uint64_t | readLittleEndian64 (std::ifstream &fin) |
uint8_t | readLittleEndian8 (std::ifstream &fin) |
uint16_t | readNative16 (std::ifstream &fin) |
uint32_t | readNative32 (std::ifstream &fin) |
uint64_t | readNative64 (std::ifstream &fin) |
uint8_t | readNative8 (std::ifstream &fin) |
std::string | readString (std::ifstream &fin, int stringSize) |
std::string | readString (std::ifstream &fin, int stringSize, Endianness e) |
char * | readStringIntoCharArray (std::ifstream &fin, int stringSize) |
char * | readStringIntoCharArray (std::ifstream &fin, int stringSize, Endianness e) |
void | write16 (std::ofstream &fout, uint16_t writeValue, Endianness e=Endianness::NATIVE) |
void | write32 (std::ofstream &fout, uint32_t writeValue, Endianness e=Endianness::NATIVE) |
void | write64 (std::ofstream &fout, uint64_t writeValue, Endianness e=Endianness::NATIVE) |
void | write8 (std::ofstream &fout, uint8_t writeValue, Endianness e=Endianness::NATIVE) |
void | writeBigEndian16 (std::ofstream &fout, uint16_t writeValue) |
void | writeBigEndian32 (std::ofstream &fout, uint32_t writeValue) |
void | writeBigEndian64 (std::ofstream &fout, uint64_t writeValue) |
void | writeBigEndian8 (std::ofstream &fout, uint8_t writeValue) |
void | writeBitSwappedBigEndian16 (std::ofstream &fout, uint16_t writeValue) |
void | writeBitSwappedBigEndian32 (std::ofstream &fout, uint32_t writeValue) |
void | writeBitSwappedBigEndian64 (std::ofstream &fout, uint64_t writeValue) |
void | writeBitSwappedBigEndian8 (std::ofstream &fout, uint8_t writeValue) |
void | writeBitSwappedCharArray (std::ofstream &fout, char *writeCharArray, size_t outputSize=0) |
void | writeBitSwappedLittleEndian16 (std::ofstream &fout, uint16_t writeValue) |
void | writeBitSwappedLittleEndian32 (std::ofstream &fout, uint32_t writeValue) |
void | writeBitSwappedLittleEndian64 (std::ofstream &fout, uint64_t writeValue) |
void | writeBitSwappedLittleEndian8 (std::ofstream &fout, uint8_t writeValue) |
void | writeBitSwappedString (std::ofstream &fout, std::string writeString, size_t outputSize=0) |
void | writeCharArray (std::ofstream &fout, char *writeCharArray, Endianness e) |
void | writeCharArray (std::ofstream &fout, char *writeCharArray, size_t outputSize, Endianness e) |
void | writeCharArray (std::ofstream &fout, char *writeCharArray, size_t outputSize=0) |
void | writeLittleEndian16 (std::ofstream &fout, uint16_t writeValue) |
void | writeLittleEndian32 (std::ofstream &fout, uint32_t writeValue) |
void | writeLittleEndian64 (std::ofstream &fout, uint64_t writeValue) |
void | writeLittleEndian8 (std::ofstream &fout, uint8_t writeValue) |
void | writeNative16 (std::ofstream &fout, uint16_t writeValue) |
void | writeNative32 (std::ofstream &fout, uint32_t writeValue) |
void | writeNative64 (std::ofstream &fout, uint64_t writeValue) |
void | writeNative8 (std::ofstream &fout, uint8_t writeValue) |
void | writeString (std::ofstream &fout, std::string writeString, Endianness e) |
void | writeString (std::ofstream &fout, std::string writeString, size_t outputSize, Endianness e) |
void | writeString (std::ofstream &fout, std::string writeString, size_t outputSize=0) |
|
inline |
Definition at line 143 of file FileIO.h.
References BE, BE_BS, LE, LE_BS, readBigEndian16(), readBitSwappedBigEndian16(), readBitSwappedLittleEndian16(), readLittleEndian16(), and readNative16().
Referenced by parseBITheader().
|
inline |
Definition at line 131 of file FileIO.h.
References BE, BE_BS, LE, LE_BS, readBigEndian32(), readBitSwappedBigEndian32(), readBitSwappedLittleEndian32(), readLittleEndian32(), and readNative32().
Referenced by assemblyOutputData(), XilinxSeries7::disassemblerToAsm(), XilinxUltraScale::disassemblerToAsm(), XilinxUltraScalePlus::disassemblerToAsm(), findBitstreamSyncSequence(), findBitstreamSyncWord(), parseBITheader(), parseBitstreamEndianness(), parseBitstreamIDCODE(), and readBitstreamMain().
|
inline |
Definition at line 119 of file FileIO.h.
References BE, BE_BS, LE, LE_BS, readBigEndian64(), readBitSwappedBigEndian64(), readBitSwappedLittleEndian64(), readLittleEndian64(), and readNative64().
|
inline |
Definition at line 155 of file FileIO.h.
References BE, BE_BS, LE, LE_BS, readBigEndian8(), readBitSwappedBigEndian8(), readBitSwappedLittleEndian8(), readLittleEndian8(), and readNative8().
|
inline |
Definition at line 60 of file FileIO.h.
References Endian::NativeToBigEndian16(), and readNative16().
Referenced by read16(), and readBitSwappedBigEndian16().
|
inline |
Definition at line 56 of file FileIO.h.
References Endian::NativeToBigEndian32(), and readNative32().
Referenced by read32(), and readBitSwappedBigEndian32().
|
inline |
Definition at line 52 of file FileIO.h.
References Endian::NativeToBigEndian64(), and readNative64().
Referenced by read64(), and readBitSwappedBigEndian64().
|
inline |
Definition at line 64 of file FileIO.h.
References readNative8().
Referenced by read8(), and readBitSwappedBigEndian8().
|
inline |
Definition at line 94 of file FileIO.h.
References Endian::BitSwap16(), and readBigEndian16().
Referenced by read16().
|
inline |
Definition at line 90 of file FileIO.h.
References Endian::BitSwap32(), and readBigEndian32().
Referenced by read32().
|
inline |
Definition at line 86 of file FileIO.h.
References Endian::BitSwap64(), and readBigEndian64().
Referenced by read64().
|
inline |
Definition at line 98 of file FileIO.h.
References Endian::BitSwap8(), and readBigEndian8().
Referenced by read8().
|
inline |
Definition at line 111 of file FileIO.h.
References Endian::BitSwap16(), and readLittleEndian16().
Referenced by read16().
|
inline |
Definition at line 107 of file FileIO.h.
References Endian::BitSwap32(), and readLittleEndian32().
Referenced by read32().
|
inline |
Definition at line 103 of file FileIO.h.
References Endian::BitSwap64(), and readLittleEndian64().
Referenced by read64().
|
inline |
Definition at line 115 of file FileIO.h.
References Endian::BitSwap8(), and readLittleEndian8().
Referenced by read8().
|
inline |
Definition at line 191 of file FileIO.h.
References readBitSwappedStringIntoCharArray().
Referenced by readString().
|
inline |
Definition at line 184 of file FileIO.h.
References Endian::BitSwap8(), and readStringIntoCharArray().
Referenced by readBitSwappedString(), and readStringIntoCharArray().
|
inline |
Definition at line 77 of file FileIO.h.
References Endian::NativeToLittleEndian16(), and readNative16().
Referenced by read16(), and readBitSwappedLittleEndian16().
|
inline |
Definition at line 73 of file FileIO.h.
References Endian::NativeToLittleEndian32(), and readNative32().
Referenced by read32(), and readBitSwappedLittleEndian32().
|
inline |
Definition at line 69 of file FileIO.h.
References Endian::NativeToLittleEndian64(), and readNative64().
Referenced by read64(), and readBitSwappedLittleEndian64().
|
inline |
Definition at line 81 of file FileIO.h.
References readNative8().
Referenced by read8(), and readBitSwappedLittleEndian8().
|
inline |
Definition at line 40 of file FileIO.h.
Referenced by read16(), readBigEndian16(), and readLittleEndian16().
|
inline |
Definition at line 34 of file FileIO.h.
Referenced by read32(), readBigEndian32(), and readLittleEndian32().
|
inline |
Definition at line 28 of file FileIO.h.
Referenced by read64(), readBigEndian64(), and readLittleEndian64().
|
inline |
Definition at line 46 of file FileIO.h.
Referenced by parseBITheader(), read8(), readBigEndian8(), and readLittleEndian8().
|
inline |
Definition at line 176 of file FileIO.h.
References readStringIntoCharArray().
Referenced by parseBITheader(), and readString().
|
inline |
Definition at line 206 of file FileIO.h.
References BE_BS, LE_BS, readBitSwappedString(), and readString().
|
inline |
Definition at line 169 of file FileIO.h.
Referenced by readBitSwappedStringIntoCharArray(), readString(), and readStringIntoCharArray().
|
inline |
Definition at line 199 of file FileIO.h.
References BE_BS, LE_BS, readBitSwappedStringIntoCharArray(), and readStringIntoCharArray().
|
inline |
Definition at line 432 of file FileIO.h.
References BE, BE_BS, LE, LE_BS, NATIVE, writeBigEndian16(), writeBitSwappedBigEndian16(), writeBitSwappedLittleEndian16(), writeLittleEndian16(), and writeNative16().
Referenced by outputBITheader(), and outputBITheader16bString().
|
inline |
Definition at line 419 of file FileIO.h.
References BE, BE_BS, LE, LE_BS, NATIVE, writeBigEndian32(), writeBitSwappedBigEndian32(), writeBitSwappedLittleEndian32(), writeLittleEndian32(), and writeNative32().
Referenced by XilinxSeries7::assemblerAsmTo(), XilinxUltraScale::assemblerAsmTo(), XilinxUltraScalePlus::assemblerAsmTo(), outputBITheader(), outputBITheaderLengthField(), XilinxSeries7::outputBitstreamEmptySLRWrapUpSequence(), XilinxUltraScale::outputBitstreamEmptySLRWrapUpSequence(), XilinxUltraScalePlus::outputBitstreamEmptySLRWrapUpSequence(), XilinxSeries7::outputBitstreamSLRWrapUpSequence(), XilinxUltraScale::outputBitstreamSLRWrapUpSequence(), XilinxUltraScalePlus::outputBitstreamSLRWrapUpSequence(), outputCAPheaderConstant(), XCAP_writeFDRI1(), XCAP_writeNOP(), XCAP_writeReadRegister(), XCAP_writeRegister(), XCAP_writeRESERVED(), XCAP_writeSelectRegister(), XCAP_writeSYNQ(), and XCAP_writeType2().
|
inline |
Definition at line 406 of file FileIO.h.
References BE, BE_BS, LE, LE_BS, NATIVE, writeBigEndian64(), writeBitSwappedBigEndian64(), writeBitSwappedLittleEndian64(), writeLittleEndian64(), and writeNative64().
|
inline |
Definition at line 445 of file FileIO.h.
References BE, BE_BS, LE, LE_BS, NATIVE, writeBigEndian8(), writeBitSwappedBigEndian8(), writeBitSwappedLittleEndian8(), writeLittleEndian8(), and writeNative8().
Referenced by XilinxSeries7::assemblerAsmTo(), XilinxUltraScale::assemblerAsmTo(), XilinxUltraScalePlus::assemblerAsmTo(), and outputBITheader().
|
inline |
Definition at line 241 of file FileIO.h.
References Endian::BigEndianToNative16().
Referenced by write16().
|
inline |
Definition at line 236 of file FileIO.h.
References Endian::BigEndianToNative32().
Referenced by write32().
|
inline |
Definition at line 231 of file FileIO.h.
References Endian::BigEndianToNative64().
Referenced by write64().
|
inline |
Definition at line 246 of file FileIO.h.
References Endian::BigEndianToNative8().
Referenced by write8().
|
inline |
Definition at line 285 of file FileIO.h.
References Endian::BigEndianToNative16(), and Endian::BitSwap16().
Referenced by write16().
|
inline |
Definition at line 279 of file FileIO.h.
References Endian::BigEndianToNative32(), and Endian::BitSwap32().
Referenced by write32().
|
inline |
Definition at line 273 of file FileIO.h.
References Endian::BigEndianToNative64(), and Endian::BitSwap64().
Referenced by write64().
|
inline |
Definition at line 291 of file FileIO.h.
References Endian::BigEndianToNative8(), and Endian::BitSwap8().
Referenced by write8().
|
inline |
Definition at line 344 of file FileIO.h.
References Endian::BitSwap8(), and writeCharArray().
Referenced by writeCharArray().
|
inline |
Definition at line 310 of file FileIO.h.
References Endian::BitSwap16(), and Endian::LittleEndianToNative16().
Referenced by write16().
|
inline |
Definition at line 304 of file FileIO.h.
References Endian::BitSwap32(), and Endian::LittleEndianToNative32().
Referenced by write32().
|
inline |
Definition at line 298 of file FileIO.h.
References Endian::BitSwap64(), and Endian::LittleEndianToNative64().
Referenced by write64().
|
inline |
Definition at line 316 of file FileIO.h.
References Endian::BitSwap8(), and Endian::LittleEndianToNative8().
Referenced by write8().
|
inline |
Definition at line 357 of file FileIO.h.
References Endian::BitSwap8(), and writeString().
Referenced by writeString().
|
inline |
Definition at line 391 of file FileIO.h.
References BE_BS, LE_BS, writeBitSwappedCharArray(), and writeCharArray().
|
inline |
Definition at line 377 of file FileIO.h.
References BE_BS, LE_BS, writeBitSwappedCharArray(), and writeCharArray().
|
inline |
Definition at line 323 of file FileIO.h.
Referenced by writeBitSwappedCharArray(), and writeCharArray().
|
inline |
Definition at line 262 of file FileIO.h.
References Endian::LittleEndianToNative16().
Referenced by write16().
|
inline |
Definition at line 257 of file FileIO.h.
References Endian::LittleEndianToNative32().
Referenced by write32().
|
inline |
Definition at line 252 of file FileIO.h.
References Endian::LittleEndianToNative64().
Referenced by write64().
|
inline |
Definition at line 267 of file FileIO.h.
References Endian::LittleEndianToNative8().
Referenced by write8().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 398 of file FileIO.h.
References BE_BS, LE_BS, writeBitSwappedString(), and writeString().
|
inline |
Definition at line 384 of file FileIO.h.
References BE_BS, LE_BS, writeBitSwappedString(), and writeString().
|
inline |
Definition at line 332 of file FileIO.h.
Referenced by outputBITheader16bString(), writeBitSwappedString(), and writeString().