in reply to Re^3: verilog perl usage (Verilog::Netlist)
in thread verilog perl usage
Granted, this is not much, but this is enough for a starter like me :-) What I didn't give the script were the module definitions of "inverter" and "buffer" modules. I still expected it to at least write out the instantiation names and their port connections. I agree with the error messages below from the scripts output, but I don't understand why doesn't show the instantiation names. Why doesn't it associate the pin names (in_*, out_*) to the instantiation names? Does it absolutely require module references for that?cat top.v module top (a, b, c, d); input a; input b; output c; output d; inverter i_inverter (.in_a(a), .out_c(c)); buffer i_buffer (.in_b(b), .out_d(d)); endmodule
Thanks again for your help%Error: top.v:10: Cannot find buffer %Error: top.v:9: Cannot find inverter %Error: top.v:10: Module reference not found: buffer %Error: top.v:9: Module reference not found: inverter Exiting due to errors Module names in netlist: top ModuleName=top HierInstName=top PortDir=input PortName=a PortDir=input PortName=b PortDir=output PortName=c PortDir=output PortName=d PinName=in_b NetName=b PinName=out_d NetName=d PinName=in_a NetName=a PinName=out_c NetName=c
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: verilog perl usage (Verilog::Netlist)
by toolic (Bishop) on Mar 15, 2009 at 14:13 UTC | |
by Anonymous Monk on Mar 15, 2009 at 18:53 UTC | |
|
Re^5: verilog perl usage (Verilog::Netlist)
by perl vams (Initiate) on Apr 13, 2016 at 09:22 UTC |