sylak
Junior Member
Offline
Posts: 24
Silicon valley
|
hi all,
1. I get the 'segmentation violation' error when I instantiate this nand module
nand_gate #(.vlogic_high(1.2),.vlogic_low(0),.vtrans(0.54),.tdel(10p),.trise(20p),.tfall(2 0p)) Nand(a1,b1, out);
vlogic_high,vlogic_low ..etc are parameters declared in the module.
and I want to connect the 'in1' 'in2' and 'out' of the nand module to 'a1' 'b1' and 'out'
I am not sure as what the error signifies!
2. when instantiation , do the modules have to declared in "`include " I looked at various examples in this website, they were not declared. Does this assume the modules to be in the same directory. I have tried the simualtion by including the module path using the `include ' /path/nand.va' ... doesnt seem to make a difference as far as the error message is concerned but Would like to know if this is necessary.
Thanks in advance! S
|