Added console for displaying the system state
Corrected behaviour and tests
This commit is contained in:
parent
8193bcda46
commit
0278a96a8d
24 changed files with 1074 additions and 2918 deletions
|
|
@ -261,7 +261,7 @@ pub trait Intel400xResetHandling {
|
|||
|
||||
/// Handle system reset signal
|
||||
/// Hardware: RESET pin clears all internal state and tri-states outputs
|
||||
fn handle_reset(&self, reset_pin_name: &str) -> bool {
|
||||
fn handle_reset(&mut self, reset_pin_name: &str) -> bool {
|
||||
let reset = if let Ok(pin) = self.get_base().get_pin(reset_pin_name) {
|
||||
if let Ok(pin_guard) = pin.lock() {
|
||||
pin_guard.read() == PinValue::High
|
||||
|
|
@ -280,7 +280,7 @@ pub trait Intel400xResetHandling {
|
|||
}
|
||||
|
||||
/// Perform the actual reset operations (to be implemented by each chip)
|
||||
fn perform_reset(&self);
|
||||
fn perform_reset(&mut self);
|
||||
}
|
||||
|
||||
/// Common timing state machine functionality
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue