Forum Discussion
Altera_Forum
Honored Contributor
16 years agovariable reset simple question
Hello friends, I have something like this always @(posedge clkin) begin ... ... cnt = cnt+1;// increment ... ... end and another input named OE. On posedge of OE ...
Altera_Forum
Honored Contributor
16 years agoHi,
--- Quote Start --- Dear Sir, I need cnt to be blocking if possible --- Quote End --- It would be a very bad style trying model Sequential logic using blocking assigns. Use NBA instead. --- Quote Start --- I have to get familiar with verilog :) --- Quote End --- Yes, pick up a good book like Palnitkar/Bhasker to start with. If your company has it, use a LINT tool (such as ALINT from www.aldec.com). Good Luck Srini www.cvcblr.com/blog