2022-09-25 06:14:03 +00:00
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
mod error;
|
|
|
|
|
2023-04-23 22:46:47 +00:00
|
|
|
mod clock;
|
2022-09-25 06:14:03 +00:00
|
|
|
mod debugger;
|
|
|
|
mod devices;
|
|
|
|
mod interrupts;
|
|
|
|
mod memory;
|
|
|
|
mod signals;
|
|
|
|
mod system;
|
|
|
|
|
|
|
|
pub mod host;
|
|
|
|
|
2022-10-09 16:40:20 +00:00
|
|
|
pub use log::{trace, debug, info, warn, error};
|
|
|
|
|
2023-04-23 22:46:47 +00:00
|
|
|
pub use crate::clock::{ClockTime, ClockDuration, Frequency};
|
2022-09-25 06:14:03 +00:00
|
|
|
pub use crate::debugger::Debugger;
|
2023-06-08 03:44:14 +00:00
|
|
|
pub use crate::devices::{Address, Addressable, Steppable, Interruptable, Debuggable, Inspectable, Transmutable, TransmutableBox, Device};
|
2022-09-25 06:14:03 +00:00
|
|
|
pub use crate::devices::{read_beu16, read_beu32, read_leu16, read_leu32, write_beu16, write_beu32, write_leu16, write_leu32, wrap_transmutable};
|
2022-10-09 16:40:20 +00:00
|
|
|
pub use crate::error::{Error, ErrorType};
|
2022-09-25 06:14:03 +00:00
|
|
|
pub use crate::interrupts::InterruptController;
|
2022-10-02 04:01:56 +00:00
|
|
|
pub use crate::memory::{MemoryBlock, AddressRightShifter, AddressRepeater, Bus, BusPort, dump_slice};
|
2022-09-25 06:14:03 +00:00
|
|
|
pub use crate::signals::{Observable, Signal, EdgeSignal, ObservableSignal, ObservableEdgeSignal};
|
|
|
|
pub use crate::system::System;
|
|
|
|
|