The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> Netlisting failed with multiple Verilog-A blocks https://designers-guide.org/forum/YaBB.pl?num=1452610178 Message started by yong_rfic on Jan 12th, 2016, 6:49am |
Title: Netlisting failed with multiple Verilog-A blocks Post by yong_rfic on Jan 12th, 2016, 6:49am Hello, I have encountered netlist errors when trying to simulate circuit which has two simple Verilog-A blocks. Each individual block can be nestlisted successfully. However when I put them in the same schematic, there are errors. The error messages are: "ERROR (OSSHNL-524): Netlisting failed as function hnlNetNameOnTerm was called with a non-existent terminal name on current instance 'I1' in design 'RF14/cal_logic_decod/schematic'. Ensure that argument to this function is a valid terminal name and netlist again.\n\n" and many more of the same thing... The two verilog-a blocks are defined like module A(B_in, T_out); input [4:0] B_in ; electrical [4:0] B_in ; output [15:0] T_out ; electrical [15:0] T_out ; endmodule module B(clk, vin, vout); input vin, clk; output [4:0] vout; electrical vin, clk; electrical [4:0] vout; endmodule Please advise, thank you. |
Title: Re: Netlisting failed with multiple Verilog-A blocks Post by Geoffrey_Coram on Jan 14th, 2016, 5:14am I suspect there is something subtle in your set-up that's causing trouble, and it may be something related to the actual definitions of your blocks. (I think your modules aren't actually "module A" and "module B") I assume each block has a symbol view and a verilog-a view. I would try replacing one of the blocks with a simple verilog-a module, maybe something as simple as a resistor or a voltage source. Or try it with a voltage source and a resistor as your two verilog-a blocks, and make sure you can netlist a schematic with those two simple blocks. Then work up from there. |
Title: Re: Netlisting failed with multiple Verilog-A blocks Post by yong_rfic on Jan 14th, 2016, 7:14am Thank you for the useful advice. I ended up combining the two modules into a single one. Problem solved at least for now. |
Title: Re: Netlisting failed with multiple Verilog-A blocks Post by andrew terry on Jan 31st, 2018, 2:50pm I had the same error. To fix I instantiate the second block fresh with create instance (i). Do not copy from the first instance. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |