Skip to content

Commit

Permalink
Move stack one directory up
Browse files Browse the repository at this point in the history
  • Loading branch information
cayb0rg committed Mar 27, 2024
1 parent a4a3519 commit 9cbf097
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/agent/datapath_reducer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::emulation_core::mips::datapath::{DatapathState, Stage};
use crate::emulation_core::mips::fp_registers::FpRegisters;
use crate::emulation_core::mips::gp_registers::GpRegisters;
use crate::emulation_core::mips::memory::Memory;
use crate::emulation_core::mips::stack::Stack;
use crate::emulation_core::stack::Stack;
use gloo_console::log;
use std::rc::Rc;
use yew::Reducible;
Expand Down
2 changes: 1 addition & 1 deletion src/agent/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::emulation_core::mips::datapath::DatapathState;
use crate::emulation_core::mips::fp_registers::FpRegisters;
use crate::emulation_core::mips::gp_registers::GpRegisters;
use crate::emulation_core::mips::memory::Memory;
use crate::emulation_core::mips::stack::Stack;
use crate::emulation_core::stack::Stack;
use crate::emulation_core::{architectures::AvailableDatapaths, mips::datapath::Stage};
use serde::{Deserialize, Serialize};

Expand Down
1 change: 1 addition & 0 deletions src/emulation_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ pub mod datapath;
pub mod line_info;
pub mod mips;
pub mod riscv;
pub mod stack;
3 changes: 1 addition & 2 deletions src/emulation_core/mips.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ pub mod datapath_signals;
pub mod fp_registers;
pub mod gp_registers;
pub mod instruction;
pub mod memory;
pub mod stack;
pub mod memory;
2 changes: 1 addition & 1 deletion src/emulation_core/mips/datapath.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ use crate::emulation_core::architectures::DatapathRef;
use crate::emulation_core::datapath::{DatapathUpdateSignal, Syscall};
use crate::emulation_core::mips::fp_registers::FpRegisterType;
use crate::emulation_core::mips::gp_registers::GpRegisterType::{A0, A1};
use crate::emulation_core::mips::stack::{Stack, StackFrame};
use crate::emulation_core::stack::{Stack, StackFrame};
use serde::{Deserialize, Serialize};

/// An implementation of a datapath for the MIPS64 ISA.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/ui/assembled_view/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::rc::Rc;

use crate::agent::datapath_communicator::DatapathCommunicator;
use crate::emulation_core::mips::memory::{Memory, MemoryIter};
use crate::emulation_core::mips::stack::Stack;
use crate::emulation_core::stack::Stack;
// use monaco::api::TextModel;
use crate::parser::parser_structs_and_enums::ProgramInfo;
use crate::ui::swim_editor::tab::TabState;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/swim_editor/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use yew_hooks::prelude::*;

use crate::agent::datapath_reducer::DatapathReducer;
use crate::emulation_core::mips::memory::Memory;
use crate::emulation_core::mips::stack::Stack;
use crate::emulation_core::stack::Stack;
use crate::ui::assembled_view::component::{StackFrameView, StackSegment};
use crate::{
agent::datapath_communicator::DatapathCommunicator,
Expand Down

0 comments on commit 9cbf097

Please sign in to comment.