You have to use “If” statements in a procedural block(For you it should be in an “always” block) in jkfflop.v. You have to make the code clk sensitive in this file.
You can’t instantiate a module inside “always” block(In seq_circuit1.v).
Kiran
You have to use “If” statements in a procedural block(For you it should be in an “always” block) in jkfflop.v. You have to make the code clk sensitive in this file.
You can’t instantiate a module inside “always” block(In seq_circuit1.v).
Kiran