Forum Discussion

RVava's avatar
RVava
Icon for New Contributor rankNew Contributor
6 years ago

I had coded RSA algorithm but i have some error(near end and end module and error in the if statement),i will attach my code, can you please check the code

module R1(c,m,p,q,i1,i2); input [4:0]p; input [5:0]q;input [7:0]m; input[5:0] i1,i2; output [19:0]c; //reg [15:0]on; wire [15:0]e;wire[15:0]d;wire [9:0]s; integer k,l; wire [9:0] j1,j2,j3,j4,...