C CTho9305 Elite Member Jul 26, 2000 9,214 1 81 Mar 2, 2002 #1 What is wrong with creating an rs latch like this: << module latch (q,nq,r,s); output q,nq; input r,s; xor (q,r,nq); xor (np,s,q); endmodule >> as opposed to using some if()'s?
What is wrong with creating an rs latch like this: << module latch (q,nq,r,s); output q,nq; input r,s; xor (q,r,nq); xor (np,s,q); endmodule >> as opposed to using some if()'s?