Struct xc2bit::XC2Bitstream
[−]
[src]
pub struct XC2Bitstream { pub speed_grade: XC2Speed, pub package: XC2Package, pub bits: XC2BitstreamBits, }
Toplevel struct representing an entire Coolrunner-II bitstream
Fields
speed_grade: XC2Speed
package: XC2Package
bits: XC2BitstreamBits
Methods
impl XC2Bitstream
[src]
pub fn dump_human_readable<W: Write>(&self, writer: W) -> Result<(), Error>
[src]
Dump a human-readable explanation of the bitstream to the given writer
object.
pub fn to_jed<W: Write>(&self, writer: W) -> Result<(), Error>
[src]
Write a .jed representation of the bitstream to the given writer
object.
pub fn to_crbit(&self) -> FuseArray
[src]
Converts the bitstream into a FuseArray object so that it can be written to the native "crbit" format
pub fn from_jed(jed: &JEDECFile) -> Result<Self, XC2BitError>
[src]
Processes a fuse array into a bitstream object
pub fn from_crbit(fuse_array: &FuseArray) -> Result<Self, XC2BitError>
[src]
Processes a fuse array (in physical addressing) into a bitstream object
pub fn blank_bitstream(part_combination: XC2DeviceSpeedPackage) -> Self
[src]
Construct a new blank bitstream of the given part