[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
Sun Jul 19 12:39:55 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=417

--- Comment #10 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #9)
> one thing the div fsm will need that you may want to also add to the shifter
> example fsm is support for canceling an in-progress operation (using the
> interface that the 6600-style instruction manager uses) without having to
> wait for a canceled instruction to finish executing.

ohh yes, good call, i hadn't thought of that.  hmm that's quite a bit
of work (in the unit tests) because to properly test it, the cancellation
needs to be done at random intervals.

this unit test is one that does that:

https://git.libre-soc.org/?p=nmutil.git;a=blob;f=src/nmutil/test/test_inout_unary_mux_cancel_pipe.py;h=6a594eb11c252812f1a7dad5d55964c023281def;hb=aeed18a63d687cdaa9c00b98d46c66583fef6e2d#l115

the key line that sends the actual "stop" signal is line 121.
the setup - 4 input ReservationStations and 4 output Stations -
is at line 227.

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


More information about the libre-soc-bugs mailing list