Hi all,

I use rfnocnodtool in order to create new block.

My block need to create square signal with different duty cycle.
I try to do it with a simple counter that the output is depended on the counter 
value.
My problem is that I don't success to read the input normally at all. I try to 
check the input with the following code, where I am using 2 FIFO for 
synchronization.

Always (@posedge ce_clk) begin
  If (input_data == 1)
    Counter <= 5;
  else
    Counter <= 3;
End

In the test_banch I define the input to be 1.
I check to scenarios, first I check the value of the input_data and in the 
second I check the counter.
In the first scenario the output of the input_data is 1, but when I check the 
counter value I get '3', that mean that the if is false.

Can someone explain please why I see that the input is '1', but the condition 
is 'false'

Thank in advance
Ishai





The information in this e-mail transmission contains proprietary and business
sensitive information.  Unauthorized interception of this e-mail may constitute
a violation of law. If you are not the intended recipient, you are hereby
notified that any review, dissemination, distribution or duplication of this
communication is strictly prohibited. You are also asked to contact the sender
by reply email and immediately destroy all copies of the original message.
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to