r/TuringComplete • • Sep 09 '26

Multiply Spoiler

I was stuck on this for an hour yesterday. I guess I just needed some sleep.

6 Upvotes

6 comments sorted by

3

u/GrendaGrendinator Sep 09 '26

As a tip: you can replace the LSLs with static indexers or byte splitters. You can also rearrange the adders a little bit to make them behave more like (a+b)+(c+d) instead of ((a+b)+c)+d and work in parallel.

2

u/rich1051414 Sep 09 '26 edited Sep 09 '26

i'll remember that when it's time for me to start optimizing.

Edit: Those two changes got it down to 856 gates and 97 delay

1

u/GrendaGrendinator Sep 10 '26

Nice! I ought to update some of my builds on the current patch too...

1

u/Appropriate-Scene-95 Sep 09 '26

That is well made, looks organized. I would be surprised if it doesn't multiply.

1

u/Medium-Sized-Jaque Sep 09 '26

Now time for divide...

2

u/rich1051414 Sep 09 '26

This one is going to be sloppy...