[Libre-soc-bugs] [Bug 417] FSM-based ALU example needed (compliant with ALU CompUnit)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Jul 7 00:50:24 BST 2020


--- Comment #2 from Cesar Strauss <cestrauss at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #1)
> cesar do you think you could do this one?  it's probably actually a really
> easy adaptation of alu_hier.ALU because of the way that sets up self.p
> and self.n manually
> it just has to be very simple as an example.

Sure, I'll be glad to create a simple example. Probably more than one.

The basic rules are:

1) p.ready_o is high on the initial state, otherwise it is low.
2) n.valid_o is high on the final state, otherwise it is low.
3) The FSM stays in the initial state while p.valid_i is low, otherwise it
accepts the input data and moves on.
4) The FSM stays in the final state while n.ready_i is low, otherwise it
delivers the output data and goes back to the initial state.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list