So I am just trying to understand how this attribute is used. The idea behind this is 2 fold. 1. it helps the compiler, so that it doesn't raise warnings when it sees I am connecting anything other than electrical to a spice primitive. 2. it internally tells the simulator to treat the instance differently if it can (for example if it can handle a resistor with rotational ports). module test; rotational node1, node2; (* port_discipline="rotational" *) resistor #(.r(1k)) r1 (node1, node2); endmodule So when the compiler processes this, it should see that although we are instantiating a spice resistor and passing rotational ports, it shouldn't raise any warning/error since we have set the attribute port_discipline="rotational". Internally the simulator may or may not treat this differently depending whether or not it has a specific spice primitive for a resistor with rotational ports. Is this how we use this feature? Cheers... Dave -- ===================================== -- David Miller -- Design Technology (Austin) -- Freescale Semiconductor -- Ph : 512 996-7377 Fax: x7755 ===================================== -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Thu Sep 27 07:32:44 2007
This archive was generated by hypermail 2.1.8 : Thu Sep 27 2007 - 07:33:01 PDT