pub enum NexysBoard {
A7,
Video,
}Expand description
A Nexys board the image is built for.
Variants§
A7
The Nexys A7-100T (XC7A100T-1CSG324C): its byte channel is the FT2232’s UART bridge.
Video
The Nexys Video (XC7A200T-1SBG484C): its byte channel is the FT2232’s FT245 FIFO, which the FT245 bridge
(FT245_UART_BRIDGE_V) turns into the serial line decode_board speaks.
Implementations§
Source§impl NexysBoard
impl NexysBoard
Sourcepub fn extra_sources(self) -> &'static [(&'static str, &'static str)]
pub fn extra_sources(self) -> &'static [(&'static str, &'static str)]
The hand-written Verilog the top instantiates beside the step and its protocol, each by its file name and text.
Sourcepub fn top_verilog(
self,
top: &str,
clock: CoreClock,
protocol: BoardProtocol,
) -> String
pub fn top_verilog( self, top: &str, clock: CoreClock, protocol: BoardProtocol, ) -> String
The board’s top top: the 100 MHz oscillator through a PLL onto a global clock buffer for the core at clock,
a reset held until the PLL locks and eight cycles after, protocol’s module on the board’s byte channel, and the
eight status LEDs.
Sourcepub fn xdc(self, top: &str, protocol: BoardProtocol) -> String
pub fn xdc(self, top: &str, protocol: BoardProtocol) -> String
The constraints for top: the oscillator, the byte channel’s pins and the LEDs, from Digilent’s master XDC
files.
Trait Implementations§
Source§impl Clone for NexysBoard
impl Clone for NexysBoard
Source§fn clone(&self) -> NexysBoard
fn clone(&self) -> NexysBoard
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NexysBoard
impl Debug for NexysBoard
Source§impl PartialEq for NexysBoard
impl PartialEq for NexysBoard
impl Copy for NexysBoard
impl Eq for NexysBoard
impl StructuralPartialEq for NexysBoard
Auto Trait Implementations§
impl Freeze for NexysBoard
impl RefUnwindSafe for NexysBoard
impl Send for NexysBoard
impl Sync for NexysBoard
impl Unpin for NexysBoard
impl UnsafeUnpin for NexysBoard
impl UnwindSafe for NexysBoard
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.