URL
https://opencores.org/ocsvn/bustap-jtag/bustap-jtag/trunk
[/] [bustap-jtag/] [trunk/] [rtl/] [up_monitor.v] - Diff between revs 12 and 13
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 12 |
Rev 13 |
Line 126... |
Line 126... |
end
|
end
|
wire trig_cond_ok_pulse = trig_cond_ok & !trig_cond_ok_d1;
|
wire trig_cond_ok_pulse = trig_cond_ok & !trig_cond_ok_d1;
|
|
|
// generate capture wr_in
|
// generate capture wr_in
|
assign capture_in = {trig_cond_ok_pulse,wr_en_d1,inter_cap_cnt,addr_in_d1[15:2],2'b00,data_in_d1[31:0]};
|
assign capture_in = {trig_cond_ok_pulse,wr_en_d1,inter_cap_cnt,addr_in_d1[15:2],2'b00,data_in_d1[31:0]};
|
assign capture_wr = trig_cond_ok_pulse | (addr_mask_ok & trig_cond_ok);
|
assign capture_wr = trig_cond_ok_pulse || (addr_mask_ok && trig_cond_ok);
|
|
|
// generate pre-trigger wr_in
|
// generate pre-trigger wr_in
|
assign pretrig_full = (pretrig_cnt >= pretrig_num) || trig_cond_ok;
|
assign pretrig_full = (pretrig_cnt >= pretrig_num) || trig_cond_ok;
|
assign pretrig_wr = (!trig_en || (trig_en && !trig_set))? 1'b0 : (trig_cond_ok? 1'b0 : addr_mask_ok);
|
assign pretrig_wr = (!trig_en || (trig_en && !trig_set))? 1'b0 : (trig_cond_ok? 1'b0 : addr_mask_ok);
|
always @(posedge clk)
|
always @(posedge clk)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.