eeric 0.0.2

An easily embeddable RV64I core with MFDV extensions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Clone, Default)]
pub struct FloatRegisters([f64; 32]);

impl std::ops::Index<usize> for FloatRegisters {
    type Output = f64;

    fn index(&self, index: usize) -> &Self::Output {
        &self.0[index]
    }
}

impl std::ops::IndexMut<usize> for FloatRegisters {
    fn index_mut(&mut self, index: usize) -> &mut Self::Output {
        &mut self.0[index]
    }
}