from multipipe import PriorityCombMuxInPipe
from fpbase import FPState
+import nmoperator
class FPGetOpMod(Elaboratable):
""" links module to inputs and outputs
"""
setattr(m.submodules, self.state_from, self.mod)
- m.d.comb += self.mod.in_op.eq(in_op)
+ m.d.comb += nmoperator.eq(self.mod.in_op, in_op)
m.d.comb += self.out_decode.eq(self.mod.out_decode)
def action(self, m):
return m
def eq(self, i):
- return [self.data_i.eq(i.data_i),
+ return [nmoperator.eq(self.data_i, i.data_i),
self.ready_o.eq(i.ready_o),
self.valid_i.eq(i.valid_i)]