summaryrefslogtreecommitdiff
path: root/src/types.rs
blob: dd5758fdf07a1135db8c02c67aed3a56b0bdf0f0 (plain)
1
2
3
4
5
6
7
8
9
use crate::gate::*;
use crate::pin::*;
use std::collections::HashMap;

pub type PinValue = u8;
pub type Pins = Vec<Pin>;
pub type Gates = HashMap<usize, Gate>;
pub type Chips = Vec<Chip>;
pub type Connections = HashMap<usize, Vec<usize>>;