| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- `timescale 1ns/1ps
- module prod2u_p4_axis_cdc_structure_formal;
- (* gclk *) reg clk;
- reg rst_n = 1'b0;
- (* anyseq *) reg limit_raw;
- wire step_out;
- wire busy;
- wire drive_active;
- prod2u_p4_axis_executor #(
- .STANDARD_STEPS(4),
- .LIMIT_CONFIRM_US(4),
- .DIR_SETUP_US(2),
- .SPEED0_HALF_US(2),
- .SPEED1_HALF_US(2),
- .SPEED2_HALF_US(2),
- .SPEED3_HALF_US(2)
- ) dut (
- .clk(clk),
- .rst_n(rst_n),
- .tick_1us(1'b1),
- .force_stop(1'b0),
- .limit_raw(limit_raw),
- .jog_start(1'b0),
- .jog_dir(1'b0),
- .jog_speed_code(2'd0),
- .jog_steps(16'd1),
- .standard_start(1'b0),
- .standard_target_open(1'b0),
- .step_out(step_out),
- .dir_out(),
- .busy(busy),
- .drive_active(drive_active),
- .position_valid(),
- .current_aperture(),
- .target_aperture()
- );
- always @(posedge clk) begin
- rst_n <= 1'b1;
- if (rst_n) begin
- assert(!step_out);
- assert(!busy);
- assert(!drive_active);
- end
- cover(rst_n && limit_raw && !step_out && !busy);
- end
- endmodule
|