cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hegau
Observer
Observer
1,081 Views
Registered: ‎03-27-2018

How to trigger a single bit in a bus with a trigger state machine?

Jump to solution

Hello,

 

I trying to trigger on a single bit in bus probe (std_logic_vector(31 downto0)) but there is a translation error

 

state myLoop:
	if (zusys_i/inputC1/myDataCollector_STATUS[13] == 1'bR) then
		increment_counter $counter0;
		goto myTrigger;
	else
		goto myLoop;
	endif

The error message is

 [Labtools 27-2056] Probe zusys_i/inputC1/myDataCollector_STATUS[13] not be found in current probe list

Is it possible to trigger on a single bit in a bus? And if yes, how?

 

Thanks in advance

0 Kudos
1 Solution

Accepted Solutions
arpansur
Moderator
Moderator
1,117 Views
Registered: ‎07-01-2015

Hi @hegau,

 

You can try with 2 ways:

1. Create a user defined probe for that single bit and define user_defined_probe=1'bR

2. You can use 

zusys_i/inputC1/myDataCollector_STATUS=32'bXXXXXXXXXXXXXXXXXXRXXXXXXXXXXXXX
Thanks,
Arpan
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

View solution in original post

1 Reply
arpansur
Moderator
Moderator
1,118 Views
Registered: ‎07-01-2015

Hi @hegau,

 

You can try with 2 ways:

1. Create a user defined probe for that single bit and define user_defined_probe=1'bR

2. You can use 

zusys_i/inputC1/myDataCollector_STATUS=32'bXXXXXXXXXXXXXXXXXXRXXXXXXXXXXXXX
Thanks,
Arpan
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

View solution in original post