if self.in_mid is not None:
m.d.comb += self.in_mid.eq(in_mid)
- def action(self, m):
- self.idsync(m)
m.d.sync += self.a1o.eq(self.a1modo)
+ self.idsync(m)
+
+ def action(self, m):
m.next = "normalise_1"
if self.in_mid is not None:
m.d.comb += self.in_mid.eq(in_mid)
- def action(self, m):
self.idsync(m)
# NOTE: these could be done as combinatorial (merge add0+add1)
m.d.sync += self.o.eq(self.mod.o)
+
+ def action(self, m):
m.next = "add_1"
if self.in_mid is not None:
m.d.comb += self.in_mid.eq(in_mid)
- def action(self, m):
self.idsync(m)
m.d.sync += self.out_of.eq(self.mod.out_of)
m.d.sync += self.out_z.eq(self.mod.out_z)
m.d.sync += self.norm_stb.eq(1)
+
+ def action(self, m):
m.next = "normalise_1"
if self.in_mid is not None:
m.d.comb += self.in_mid.eq(in_mid)
- def action(self, m):
self.idsync(m)
m.d.sync += self.out_roundz.eq(self.mod.out_of.roundz)
+
+ def action(self, m):
m.next = "round"
if self.in_mid is not None:
m.d.comb += self.in_mid.eq(in_mid)
- def action(self, m):
self.idsync(m) # copies incoming ID to outgoing
m.d.sync += self.out_z.z.v.eq(self.pmod.o.z.v) # outputs packed result
+
+ def action(self, m):
m.next = "pack_put_z"
if self.in_mid is not None:
m.d.comb += self.in_mid.eq(in_mid)
- def action(self, m):
self.idsync(m)
m.d.sync += self.out_z.eq(self.mod.out_z)
+
+ def action(self, m):
m.next = "corrections"
if self.in_mid is not None:
m.d.comb += self.in_mid.eq(in_mid)
- def action(self, m):
self.idsync(m)
m.d.sync += self.out_z.eq(self.mod.out_z)
+
+ def action(self, m):
m.next = "pack"
if self.in_mid is not None:
m.d.comb += self.in_mid.eq(in_mid)
- def action(self, m):
self.idsync(m)
m.d.sync += self.out_z.v.eq(self.mod.out_z.v)
+
+ def action(self, m):
m.next = "pack_put_z"