Altera_Forum
Honored Contributor
15 years agoVerilog module Instantiation
Don't really know whether i should post this Q here or not.
I'm a student using modelsimSE 6.1f. actually this Q is more to verilog...not on fpga hardware issue i was wondering,how can i control the input to an instantiated module? e.g: module bin2bcdAdder(input1,input2,bcd); /* . . . */ full_adder fa1(input1,input2,SUM,carryOut); endmodule the testbench generates 0000 to 1111 into the module bin2bcdAdder how can i control the input only from 0000 to 1001 can be passed to the instantiated module full_adder? and i'm trully sorry if i post this Q in the wrong section, or altera forum is only allowing altera's hardware related Q