Hi, 28.5 has this example of the UDP table for a latch: primitive latch (q, clock, data); output q; reg q; input clock, data; table // clock data q q+ 0 1 : ? : 1 ; 0 0 : ? : 0 ; 1 ? : ? : - ; // - = no change endtable endprimitive The table looks wrong to me. Aren't the clock values reversed? Shouldn't it be primitive latch (q, clock, data); output q; reg q; input clock, data; table // clock data q q+ 1 1 : ? : 1 ; 1 0 : ? : 0 ; 0 ? : ? : - ; // - = no change endtable endprimitive The RTL corresponding to a simple latch is always_latch if (clk) q = data ; Thanks, Shalom Shalom Bresticker Intel Jerusalem LAD DA +972 2 589-6852 +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, and is believed to be clean.Received on Tue Sep 18 06:53:24 2007
This archive was generated by hypermail 2.1.8 : Tue Sep 18 2007 - 06:53:51 PDT