[libre-riscv-dev] IEEE754 FPU turning into ALU with Reservation Stations
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Sat Mar 30 23:58:52 GMT 2019
On Fri, Mar 29, 2019 at 3:24 PM Luke Kenneth Casson Leighton
<lkcl at lkcl.net> wrote:
> now, i *think* i may be able to do some "automated" (dynamic,
> introspective) pipeline stages, hidden behind the scenes. i need to
> think about this a lot.
turns out to be a lot simpler than i was expecting:
and that works extremely well, it automatically prepends the name of
the stage to the variables, and when one stage is linked to the
previous one it passes its "created" variables (temporarily stuffed
into a dictionary labelled __nextstage__) to the next one.
with that in place, as each stage is added, i *should* be able to
auto-construct the input spec and output spec for a
Buffered/Unbuffered pipeline... because those variables *are* the
inputs and outputs connecting the stages.
also, you can see how similar the example is to a FSM object: it
should be possible to do an "FSM" mode as *well*... all using
*exactly* the same code!
More information about the libre-riscv-dev