move public paths of sim::{Compiled,Compiler} to sim::compiler

This commit is contained in:
Jacob Lifshay 2025-08-26 19:23:21 -07:00
parent e7e831cf00
commit 6d36698adf
Signed by: programmerjake
SSH key fingerprint: SHA256:HnFTLGpSm4Q4Fj502oCFisjZSoakwEuTsJJMSke63RQ

View file

@ -17,7 +17,8 @@ use crate::{
reset::ResetType, reset::ResetType,
sim::{ sim::{
compiler::{ compiler::{
CompiledBundleField, CompiledExternModule, CompiledTypeLayoutBody, CompiledValue, Compiled, CompiledBundleField, CompiledExternModule, CompiledTypeLayoutBody,
CompiledValue,
}, },
interpreter::{ interpreter::{
BreakAction, BreakpointsSet, RunResult, SmallUInt, State, StatePartIndex, BreakAction, BreakpointsSet, RunResult, SmallUInt, State, StatePartIndex,
@ -47,14 +48,12 @@ use std::{
task::Poll, task::Poll,
}; };
mod compiler; pub mod compiler;
mod interpreter; mod interpreter;
pub mod time; pub mod time;
pub mod value; pub mod value;
pub mod vcd; pub mod vcd;
pub use compiler::{Compiled, Compiler};
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct TraceScalarId(usize); pub struct TraceScalarId(usize);