futilehdl/src/frontend/typed_ir.rs

17 lines
286 B
Rust
Raw Normal View History

2022-01-30 22:54:19 +00:00
use super::types::Type;
/// an abstract element that performs some kind of computation on a value
struct Element<'ty> {
pub id: u32,
pub inputs: Vec<Element<'ty>>,
pub typ: Type<'ty>,
}
struct Signal<'ty> {
pub id: u32,
pub typ: Type<'ty>
}
struct Expression {
}