[libre-riscv-dev] [Bug 64] data handling / io control / data routing API needed

bugzilla-daemon at libre-riscv.org bugzilla-daemon at libre-riscv.org
Mon Apr 29 04:19:52 BST 2019


http://bugs.libre-riscv.org/show_bug.cgi?id=64

--- Comment #32 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
ok so now Stage API process() function is optional, which has a few
side-effects:

(1) the Stage API is now semi-equivalent to CombSeg (key difference being
    that the Stage API may be complied with by a static class)

(2) if a process() function is not provided, it is effectively a declaration
    of "pass-through" capability

(3) if a process() function *is* provided, it is effectively directly
    equivalent to CombSegFn, the key difference being that CombSegFn
    is a nmigen module, which presents some awkwardness in setting up
    (that Stage API setup() was specifically added to avoid)

i also found that i quite liked the wrapper class... so despite reverting
the changes, ended adding it sort-of back in, just in a different way

also i kept the ControlBase.set_data function as its use simplifies
ControlBase.connect (makes it look cleaner)

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


More information about the libre-riscv-dev mailing list