summaryrefslogtreecommitdiff
path: root/src/types.rs
blob: 54256492355622ddd07942f1b8c09643aea0e244 (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 = Vec<Gate>;
pub type Chips = Vec<Chip>;
pub type Connections = HashMap<Pin, Vec<Pin>>;