pub enum Verilog {
Empty,
Custom(String),
Blackbox(BlackBox),
Wrapper(Wrapper),
// some variants omitted
}
Expand description
The Verilog type is used to represent the Verilog translation of a RustHDL kernel. You will only need it if implementing blackbox cores or wrapping external Verilog code.
Variants§
Empty
Use [Empty] when you do not want a module represented in Verilog at all
Custom(String)
Custom Verilog for a RustHDL module
Blackbox(BlackBox)
Blackbox for referencing IP cores.
Wrapper(Wrapper)
Wrap an external IP core or Verilog code into a RustHDL module.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Verilog
impl RefUnwindSafe for Verilog
impl Send for Verilog
impl Sync for Verilog
impl Unpin for Verilog
impl UnwindSafe for Verilog
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