always @(pad.val) begin if (pad.val[0]) begin $save("path/to/file"); $finish; end else if (pad.val[1]) begin $restart("path/to/file"); end The $retarget() task can be used to reconfigure Cascade as though it was run with a different --march file while a program is execut...
always@(pad.val)beginif(pad.val[0])begin$save("path/to/file");$finish;endelseif(pad.val[1])begin$restart("path/to/file");end The$retarget()task can be used to reconfigure Cascade as though it was run with a different--marchfile while a program is executing. This may be valuable...