Skip to content

Commit

Permalink
Move list_of_lists to instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
VonTum committed May 13, 2024
1 parent ca5a3d7 commit 4ebf434
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/instantiation/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ use crate::{
flattening::{PortIDMarker, BinaryOperator, FlatID, FlatIDMarker, FlatIDRange, IdentifierType, Instruction, Module, UnaryOperator, WireInstance, WireReference, WireReferencePathElement, WireReferenceRoot, WireSource, Write, WriteModifiers},
instantiation::latency_algorithm::{convert_fanin_to_fanout, solve_latencies, FanInOut, LatencyCountingError},
linker::{Linker, NamedConstant},
list_of_lists::ListOfLists,
typing::{typecheck_concrete_binary_operator, typecheck_concrete_unary_operator, ConcreteType, WrittenType, BOOL_CONCRETE_TYPE, INT_CONCRETE_TYPE},
value::{compute_binary_op, compute_unary_op, TypedValue, Value}
};

use self::list_of_lists::ListOfLists;

use super::*;

struct PathMuxSource<'s> {
Expand Down
3 changes: 2 additions & 1 deletion src/instantiation/latency_algorithm.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use crate::list_of_lists::ListOfLists;
use super::list_of_lists::ListOfLists;



#[derive(Debug, Clone, Copy)]
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions src/instantiation/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

mod latency_algorithm;
mod execute;
mod list_of_lists;

use std::{cell::RefCell, ops::Deref, rc::Rc};

Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
mod util;
mod block_vector;
mod arena_alloc;
mod list_of_lists;

mod file_position;
mod parser;
Expand Down

0 comments on commit 4ebf434

Please sign in to comment.