Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.58 KB

trigger.md

File metadata and controls

39 lines (34 loc) · 1.58 KB

Entity: trigger

  • File: trigger.sv

Diagram

Diagram

Generics

Generic name Type Value Description
STAGES 4

Ports

Port name Direction Type Description
clk_i input system clock
rst_in input system reset, low active
cmd_i input [31:0] command
stg_i input [ 1:0] stage
set_mask_i input flag, set trigger mask
set_val_i input flag, set trigger value
set_cfg_i input flag, set trigger configuration
arm_i input flag, arm trigger
stb_i input flag, new data samples
smpls_i input [31:0] sampled channels
run_o output flag, trigger run

Signals

Name Type Description
set_mask logic [STAGES-1:0]
set_val logic [STAGES-1:0]
set_cfg logic [STAGES-1:0]
run logic [STAGES-1:0]
match logic [STAGES-1:0]
r_lvl logic [1:0]

Processes

  • fsm: ( @(posedge clk_i) )
    • Type: always_ff