Jan 4, 2008 #1 A andrew257 Member level 2 Joined Feb 22, 2007 Messages 42 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,648 hi all
Jan 5, 2008 #2 E echo47 Advanced Member level 6 Joined Apr 7, 2002 Messages 3,933 Helped 638 Reputation 1,274 Reaction score 90 Trophy points 1,328 Location USA Activity points 33,176 Your COUNT register is uninitialized, so it defaults to 'x'. If you are using Verilog 2001, try changing this: reg [15:0] COUNT; to this: reg [15:0] COUNT = 0; Or use an 'initial' statement to initialize COUNT to zero. That works in older Verilog.
Your COUNT register is uninitialized, so it defaults to 'x'. If you are using Verilog 2001, try changing this: reg [15:0] COUNT; to this: reg [15:0] COUNT = 0; Or use an 'initial' statement to initialize COUNT to zero. That works in older Verilog.
Jan 8, 2008 #3 P pankajrangaree1 Junior Member level 2 Joined Jan 8, 2008 Messages 24 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,368 ur count register is not defined
Jan 11, 2008 #4 L leyuanniao Newbie level 4 Joined Jun 29, 2005 Messages 7 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,281 Location Singapore, Singapore Activity points 1,314 All registers need be reset before working.
Jan 12, 2008 #5 A aajizattari Member level 3 Joined Nov 13, 2007 Messages 55 Helped 8 Reputation 16 Reaction score 0 Trophy points 1,286 Activity points 1,608 Yes off Course .... there is no problem with code EXCEPT Inilization of COUNT