|
From: Al A. <ex...@au...> - 2000-08-10 13:28:57
|
I am trying out some sample code to get a feel for the capabilities of vIDE. After some effort I have discovered: 1: Delays used in gate instantiations must be of the form #(h,l). Is it not possible to use simply #d? 2: When defining modules that use primitives, I cannot seem to do it without provoding an identifier. ie module rs_ff (s,r,q,qb); output q,qb; input r,s; nand (q,r,qb); nand (qb,s,q); endmodule does not work whereas: module rs_ff (s,r,q,qb); output q,qb; input r,s; nand n1 (q,r,qb); nand n2 (qb,s,q); endmodule does work. Also: module rs_ff (s,r,q,qb); output q,qb; input r,s; nand #1 n1 (q,r,qb); nand #1 n2 (qb,s,q); endmodule does not parse whereas: module rs_ff (s,r,q,qb); output q,qb; input r,s; nand #(1,0) n1 (q,r,qb); nand #(1,0) n2 (qb,s,q); endmodule does work. Any suggestions or is this feature not available? 3: Are compiler directives allowed? ie I cannot seem to use the `timescale directive. I'd appreciate anything that can be offered. Regards, -Al -- Al Arduengo ex...@au... http://home.austin.rr.com/exal ---- "640K ought to be enough for anybody." -- Bill Gates, 1981 |