event id gen ip - ComPair/ComPair-tracker-FPGA GitHub Wiki

Event ID generator

This core's purpose is to listen for local triggers from the layer's VATA cores, and send out event id's to the VATAs.

When the IP notices that the vata's become busy (according to the output from the sync distn core), the event ID generator will send out the current event id, then increment the current id by 1.

It is not meant for production, but to aid in debugging when running without the trigger module.

AXI Register Allocation

Register Purpose Read/Write
0 Control register Write
1 Input event ID Write
2 Current event ID Read

Control Register Actions

Writing the following values to Reg0 will result these actions:

  • Writing 0 => current event ID will be set to value on Reg1