Enum calyx_frontend::NumAttr
source · [−]pub enum NumAttr {
Go,
Done,
ReadTogether,
WriteTogether,
Sync,
Bound,
Pos,
Promotable,
Compactable,
Interval,
}
Expand description
Attributes that can take numeric values
Variants
Go
Done
ReadTogether
WriteTogether
Sync
Synchronize this thread with others in the current par block
Bound
The bound of a while loop
Pos
Source location position for this node
Promotable
Can promote the group, control, or @go port of the component to static with the annotated latency
Compactable
suggest that the current static seq block is compactable
Interval
Placed on @go ports of components to denote the II of a component, which is the same as the latency for non pipelined components. This indicates the component can serve ``double-duty’’ as both static and dynamic. Therefore, we only place if we can guarantee the interval of the component.
Trait Implementations
impl Copy for NumAttr
impl Eq for NumAttr
impl StructuralEq for NumAttr
impl StructuralPartialEq for NumAttr
Auto Trait Implementations
impl RefUnwindSafe for NumAttr
impl Send for NumAttr
impl Sync for NumAttr
impl Unpin for NumAttr
impl UnwindSafe for NumAttr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.