pub struct StructuralVerilogReader { /* private fields */ }
Expand description
Reader for purely structural Verilog. Only very basic Verilog features are supported.
Implementations§
Source§impl StructuralVerilogReader
impl StructuralVerilogReader
Sourcepub fn load_blackboxes(self, load_blackboxes: bool) -> Self
pub fn load_blackboxes(self, load_blackboxes: bool) -> Self
If set to true cells will be read but not populated with internal instances. This way the reader will read only cell definitions but does not care about the internals of the cell. This is useful for loading libraries of standard-cells where the content of the standard-cell is not needed.
Trait Implementations§
Source§impl NetlistReader for StructuralVerilogReader
impl NetlistReader for StructuralVerilogReader
Source§fn read_into_netlist<R: Read, N: NetlistEdit>(
&self,
reader: &mut R,
netlist: &mut N,
) -> Result<(), Self::Error>
fn read_into_netlist<R: Read, N: NetlistEdit>( &self, reader: &mut R, netlist: &mut N, ) -> Result<(), Self::Error>
Parse a verilog netlist.
Source§type Error = ParseError
type Error = ParseError
Type of error that could happen while reading a netlist.
Auto Trait Implementations§
impl Freeze for StructuralVerilogReader
impl RefUnwindSafe for StructuralVerilogReader
impl Send for StructuralVerilogReader
impl Sync for StructuralVerilogReader
impl Unpin for StructuralVerilogReader
impl UnwindSafe for StructuralVerilogReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more