[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
Sat Apr 20 13:00:34 BST 2019


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

--- Comment #6 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
https://git.libre-riscv.org/?p=ieee754fpu.git;a=blob;f=src/add/test_fsm_experiment.py;h=51476ccf4be50d74b503c861085c1c67cc08fef7;hb=HEAD

success!  total shock!

        # see if connecting to stb/ack works
        m.d.comb += self.p.o_ready.eq(self.fpdiv.in_a.ack)
        m.d.comb += self.fpdiv.in_a.stb.eq(self.p.i_valid_test)

        m.d.comb += self.n.o_valid.eq(self.fpdiv.out_z.stb)
        m.d.comb += self.fpdiv.out_z.ack.eq(self.n.i_ready_test)

and... err... they do.

well, that was a lot easier than i was expecting it to be.

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


More information about the libre-riscv-dev mailing list