The two declarations are unconnected, so to speak. That is, there is no requirement or need for the two directions to be the same; they are declaring different ports. Other rules, such as multiple variable assignment restrictions may prevent certain combinations of directions. Dave ________________________________ From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org] On Behalf Of Bresticker, Shalom Sent: Monday, December 15, 2008 7:16 AM To: sv-bc@server.eda.org Subject: [sv-bc] interface port direction in modport Hi, Is it legal to declare an interface with a port with a direction and then declare a modport with that port with a different direction? E.g., interface i(input clk); modport m(output clk); endinterface Thanks, Shalom Shalom Bresticker Intel Jerusalem LAD DA +972 2 589-6582 +972 54 721-1033 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Mon Dec 15 07:47:03 2008
This archive was generated by hypermail 2.1.8 : Mon Dec 15 2008 - 07:47:31 PST