we know that we can detachTerm attachTerm to connect an net to an comman instance term. But when I apply it to that idea to FTerm, which is the I/O pin of my current Top cell. I can not change the connection relationship between the IO pin and it's dangling net. is there an command to achieve that ? And I'd like to say thanks to Bob and Li-Siang, this Forum really help us a lot!
You're welcome and thank you for posting your questions. I'm sure there's others out there who benefit from the questions and answers posted on this forum.To your question- could you clarify what the Verilog netlist would look like after connecting an IO pin to a dangling net that has a different name than the IO pin? If it involves an assign statement, are you OK with assign statements in your netlist? Some LVS tools don't like assign statements in the netlist.Thanks,Bob
As a backend engineer, I don't know much about the verilog netlist. Just now, I searched the netlist, and I did not find any assign statement in the it. I got the netlist from my frontend parterner, when I load them into encounter. Yes, the the IO pin and it's dangling net have the same name, and this net have only one term, which menas dbNetNrTerm $netPtr will return 1. So my quesiton are rather straightforward: 1. can we detach this kind of pin and its net 2. I can add a net by the command addNet, and then connect the net to IO pin. of cource there is no need to do these two step, but I just curious about this idea. As I always said, we need think a step further, the norminal term is OK, how about The FTerm?
Hello again aidans,attachModulePort is being enhanced to support your request. You'll notice that addModulePort already has a "-" option which instructs the tool to add the port to the top module. Same will be implemented for attachModulePort. Watch for it in the 6.2.usr2 release.For now, the only way to accomplish what you're asking (that I'm aware of) is to modify the input Verilog netlist to make these changes.Hope this helps,Bob