I think there are a lot of codes that are duplicated. There should be some way to extract them out.
Also, it is obvious that the loop inside TwoPower and Montgomery are not clear. With code spread out into Comb0 and Seq0. There should be some way to have a loop module, just like in Verilog.
I think there are a lot of codes that are duplicated. There should be some way to extract them out. Also, it is obvious that the loop inside TwoPower and Montgomery are not clear. With code spread out into Comb0 and Seq0. There should be some way to have a loop module, just like in Verilog.