on-internet
← Community

Code compiles fine, but simulation does not run

Stack Overflow ·

I have had some fairly good experiences with structural modelling in Verilog, but I barely have any with other modelling methods. So, kindly help me out. The code compiles fine, but when simulating, it just hangs. Nothing happens. If it is important, the code is a Montgomery Modular Multiplier. It is a bit above my academic level, but I have managed to understand the algorithm and write the code. Why won't the simulation run? module MMM42(A1,A2,B1,B2,N,S1,S2,clk); input clk; input [3:0]A1,A2,B1,B2,N; output [6:0]S1,S2; reg [3:0]a1,a2,b1,b2,n,bd1,bd2,d1,d2,w,y; reg [6:0]s1,s2,s11,s21,s12,s22; r

Comments

Sign in or sign up to comment and upvote.

No comments yet.