diff options
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 28 | 
1 files changed, 7 insertions, 21 deletions
@@ -1,26 +1,12 @@ +mod bedrock;  mod device_bus; -mod memory;  mod processor; +mod program_memory;  mod stack; -pub use device_bus::*; -pub use memory::*; -pub use processor::*; -pub use stack::*; +pub use bedrock::Bedrock; +pub use device_bus::{Device, DeviceBus}; +pub use processor::Signal; +pub use program_memory::ProgramMemory; +pub use stack::Stack; -#[derive(Copy, Clone, Debug)] -pub enum Signal { -    Debug(DebugVariant), -    Sleep, -    Halt, -} - -#[derive(Copy, Clone, Debug)] -pub enum DebugVariant { -    DB1, -    DB2, -    DB3, -    DB4, -    DB5, -    DB6, -}  | 
