if (CNTRL.r_pbenn_pclk && INP.pclk_last_event < model_times.trh_pbenn_pclk &&
(INP.pclk_last_event > - model_times.trs_pbenn_pclk ||
(INP.pclk_last_event == 0 && model_times.trs_pbenn_pclk == 0))) begin
$display("WARNING at time %0t from %m",$time);
$display(" \"Hold violation between pins pbenn and pclk\"");
end
end
if (INP.preq64nn_last_event <= `time_unit && CNTRL.preq64nn) begin
if (CNTRL.r_preq64nn_pclk && INP.pclk_last_event < model_times.trh_preq64nn_pclk &&
(INP.pclk_last_event > - model_times.trs_preq64nn_pclk ||
(INP.pclk_last_event == 0 && model_times.trs_preq64nn_pclk == 0))) begin
$display("WARNING at time %0t from %m",$time);
$display(" \"Hold violation between pins preq64nn and pclk\"");
end
end
if (INP.plocknn_last_event <= `time_unit && CNTRL.plocknn) begin
if (CNTRL.r_plocknn_pclk && INP.pclk_last_event < model_times.trh_plocknn_pclk &&
(INP.pclk_last_event > - model_times.trs_plocknn_pclk ||
(INP.pclk_last_event == 0 && model_times.trs_plocknn_pclk == 0))) begin
$display("WARNING at time %0t from %m",$time);
$display(" \"Hold violation between pins plocknn and pclk\"");
end
end
if (INP.pad_last_event <= `time_unit && CNTRL.pad_in) begin
if (CNTRL.r_pad_pclk &&
INP.pclk_last_event < model_times.trh_pad_pclk &&
(INP.pclk_last_event > - model_times.trs_pad_pclk ||
(INP.pclk_last_event == 0 && model_times.trs_pad_pclk == 0))) begin
$display("WARNING at time %0t from %m",$time);
$display(" \"Hold violation between pins pad and pclk\"");
end
end
if (INP.ppar_last_event <= `time_unit && CNTRL.ppar_in) begin
if (CNTRL.r_ppar_pclk &&
INP.pclk_last_event < model_times.trh_ppar_pclk &&
(INP.pclk_last_event > - model_times.trs_ppar_pclk ||
(INP.pclk_last_event == 0 && model_times.trs_ppar_pclk == 0))) begin
$display("WARNING at time %0t from %m",$time);
$display(" \"Hold violation between pins ppar and pclk\"");
end
end
if (INP.ptrdynn_last_event <= `time_unit && CNTRL.ptrdynn_in) begin
if (CNTRL.r_ptrdynn_pclk &&
INP.pclk_last_event < model_times.trh_ptrdynn_pclk &&
(INP.pclk_last_event > - model_times.trs_ptrdynn_pclk ||
(INP.pclk_last_event == 0 && model_times.trs_ptrdynn_pclk == 0))) begin
$display("WARNING at time %0t from %m",$time);
$display(" \"Hold violation between pins ptrdynn and pclk\"");
end
end
if (INP.pstopnn_last_event <= `time_unit && CNTRL.pstopnn_in) begin
if (CNTRL.r_pstopnn_pclk &&
INP.pclk_last_event < model_times.trh_pstopnn_pclk &&
(INP.pclk_last_event > - model_times.trs_pstopnn_pclk ||
(INP.pclk_last_event == 0 && model_times.trs_pstopnn_pclk == 0))) begin
$display("WARNING at time %0t from %m",$time);
$display(" \"Hold violation between pins pstopnn and pclk\"");
end
end
if (INP.pd_last_event <= `time_unit && CNTRL.pd_in) begin
if (CNTRL.r_pd_pclk &&
INP.pclk_last_event < model_times.trh_pd_pclk &&
(INP.pclk_last_event > - model_times.trs_pd_pclk ||
(INP.pclk_last_event == 0 && model_times.trs_pd_pclk == 0))) begin
$display("WARNING at time %0t from %m",$time);
$display(" \"Hold violation between pins pd and pclk\"");
end
end
if (INP.ppar64_last_event <= `time_unit && CNTRL.ppar64_in) begin
if (CNTRL.r_ppar64_pclk &&
INP.pclk_last_event < model_times.trh_ppar64_pclk &&
(INP.pclk_last_event > - model_times.trs_ppar64_pclk ||
(INP.pclk_last_event == 0 && model_times.trs_ppar64_pclk == 0))) begin
$display("WARNING at time %0t from %m",$time);
$display(" \"Hold violation between pins ppar64 and pclk\"");
end
end
end
end
end // hold_check
// ----- DATA IN PROCESSES -----
always begin: pad_data_in
if (model_flags.annotated !== `true) begin
if (pad[0] !== 1'bz)
INP.pad_0 <= #(0) pad[0];
else
INP.pad_0 <= #(0) 1'bx;
if (pad[1] !== 1'bz)
INP.pad_1 <= #(0) pad[1];
else
INP.pad_1 <= #(0) 1'bx;
if (pad[2] !== 1'bz)
INP.pad_2 <= #(0) pad[2];
else
INP.pad_2 <= #(0) 1'bx;
if (pad[3] !== 1'bz)
INP.pad_3 <= #(0) pad[3];
else
INP.pad_3 <= #(0) 1'bx;
if (pad[4] !== 1'bz)
INP.pad_4 <= #(0) pad[4];
else
INP.pad_4 <= #(0) 1'bx;
if (pad[5] !== 1'bz)
INP.pad_5 <= #(0) pad[5];
else
INP.pad_5 <= #(0) 1'bx;
if (pad[6] !== 1'bz)
INP.pad_6 <= #(0) pad[6];
else
INP.pad_6 <= #(0) 1'bx;
if (pad[7] !== 1'bz)
INP.pad_7 <= #(0) pad[7];
else
INP.pad_7 <= #(0) 1'bx;
if (pad[8] !== 1'bz)
INP.pad_8 <= #(0) pad[8];
else
INP.pad_8 <= #(0) 1'bx;
if (pad[9] !== 1'bz)
INP.pad_9 <= #(0) pad[9];
else
INP.pad_9 <= #(0) 1'bx;
if (pad[10] !== 1'bz)
INP.pad_10 <= #(0) pad[10];
else
INP.pad_10 <= #(0) 1'bx;
if (pad[11] !== 1'bz)
INP.pad_11 <= #(0) pad[11];
else
INP.pad_11 <= #(0) 1'bx;
if (pad[12] !== 1'bz)
INP.pad_12 <= #(0) pad[12];
else
INP.pad_12 <= #(0) 1'bx;
if (pad[13] !== 1'bz)
INP.pad_13 <= #(0) pad[13];
else
INP.pad_13 <= #(0) 1'bx;
if (pad[14] !== 1'bz)
INP.pad_14 <= #(0) pad[14];
else
INP.pad_14 <= #(0) 1'bx;
if (pad[15] !== 1'bz)
INP.pad_15 <= #(0) pad[15];
else
INP.pad_15 <= #(0) 1'bx;
if (pad[16] !== 1'bz)
INP.pad_16 <= #(0) pad[16];
else
INP.pad_16 <= #(0) 1'bx;
if (pad[17] !== 1'bz)
INP.pad_17 <= #(0) pad[17];
else
INP.pad_17 <= #(0) 1'bx;
if (pad[18] !== 1'bz)
INP.pad_18 <= #(0) pad[18];
else
INP.pad_18 <= #(0) 1'bx;
if (pad[19] !== 1'bz)
INP.pad_19 <= #(0) pad[19];
else
INP.pad_19 <= #(0) 1'bx;
if (pad[20] !== 1'bz)
INP.pad_20 <= #(0) pad[20];
else
INP.pad_20 <= #(0) 1'bx;
if (pad[21] !== 1'bz)
INP.pad_21 <= #(0) pad[21];
else
INP.pad_21 <= #(0) 1'bx;
if (pad[22] !== 1'bz)
INP.pad_22 <= #(0) pad[22];
else
INP.pad_22 <= #(0) 1'bx;
if (pad[23] !== 1'bz)
INP.pad_23 <= #(0) pad[23];
else
INP.pad_23 <= #(0) 1'bx;
if (pad[24] !== 1'bz)
INP.pad_24 <= #(0) pad[24];
else
INP.pad_24 <= #(0) 1'bx;
if (pad[25] !== 1'bz)
INP.pad_25 <= #(0) pad[25];
else
INP.pad_25 <= #(0) 1'bx;
if (pad[26] !== 1'bz)
INP.pad_26 <= #(0) pad[26];
else
INP.pad_26 <= #(0) 1'bx;
if (pad[27] !== 1'bz)
INP.pad_27 <= #(0) pad[27];
else
INP.pad_27 <= #(0) 1'bx;
if (pad[28] !== 1'bz)
INP.pad_28 <= #(0) pad[28];
else
INP.pad_28 <= #(0) 1'bx;
if (pad[29] !== 1'bz)
INP.pad_29 <= #(0) pad[29];
else
INP.pad_29 <= #(0) 1'bx;
if (pad[30] !== 1'bz)
INP.pad_30 <= #(0) pad[30];
else
INP.pad_30 <= #(0) 1'bx;
if (pad[31] !== 1'bz)
INP.pad_31 <= #(0) pad[31];
else
INP.pad_31 <= #(0) 1'bx;
end else begin
if (pad[0] !== 1'bz)
INP.pad_0 <= #(model_times.twd_pad[0]) pad[0];
else
INP.pad_0 <= #(model_times.twd_pad[0]) 1'bx;
if (pad[1] !== 1'bz)
INP.pad_1 <= #(model_times.twd_pad[1]) pad[1];
else
INP.pad_1 <= #(model_times.twd_pad[1]) 1'bx;
if (pad[2] !== 1'bz)
INP.pad_2 <= #(model_times.twd_pad[2]) pad[2];
else
INP.pad_2 <= #(model_times.twd_pad[2]) 1'bx;
if (pad[3] !== 1'bz)
INP.pad_3 <= #(model_times.twd_pad[3]) pad[3];
else
INP.pad_3 <= #(model_times.twd_pad[3]) 1'bx;
if (pad[4] !== 1'bz)
INP.pad_4 <= #(model_times.twd_pad[4]) pad[4];
else
INP.pad_4 <= #(model_times.twd_pad[4]) 1'bx;
if (pad[5] !== 1'bz)
INP.pad_5 <= #(model_times.twd_pad[5]) pad[5];
else
INP.pad_5 <= #(model_times.twd_pad[5]) 1'bx;
if (pad[6] !== 1'bz)
INP.pad_6 <= #(model_times.twd_pad[6]) pad[6];
else
INP.pad_6 <= #(model_times.twd_pad[6]) 1'bx;
if (pad[7] !== 1'bz)
INP.pad_7 <= #(model_times.twd_pad[7]) pad[7];
else
INP.pad_7 <= #(model_times.twd_pad[7]) 1'bx;
if (pad[8] !== 1'bz)
INP.pad_8 <= #(model_times.twd_pad[8]) pad[8];
else
INP.pad_8 <= #(model_times.twd_pad[8]) 1'bx;
if (pad[9] !== 1'bz)
INP.pad_9 <= #(model_times.twd_pad[9]) pad[9];
else
INP.pad_9 <= #(model_times.twd_pad[9]) 1'bx;
if (pad[10] !== 1'bz)
INP.pad_10 <= #(model_times.twd_pad[10]) pad[10];
else
INP.pad_10 <= #(model_times.twd_pad[10]) 1'bx;
if (pad[11] !== 1'bz)
INP.pad_11 <= #(model_times.twd_pad[11]) pad[11];
else
INP.pad_11 <= #(model_times.twd_pad[11]) 1'bx;
if (pad[12] !== 1'bz)
INP.pad_12 <= #(model_times.twd_pad[12]) pad[12];
else
INP.pad_12 <= #(model_times.twd_pad[12]) 1'bx;
if (pad[13] !== 1'bz)
INP.pad_13 <= #(model_times.twd_pad[13]) pad[13];
else
INP.pad_13 <= #(model_times.twd_pad[13]) 1'bx;
if (pad[14] !== 1'bz)
INP.pad_14 <= #(model_times.twd_pad[14]) pad[14];
else
INP.pad_14 <= #(model_times.twd_pad[14]) 1'bx;
if (pad[15] !== 1'bz)
INP.pad_15 <= #(model_times.twd_pad[15]) pad[15];
else
INP.pad_15 <= #(model_times.twd_pad[15]) 1'bx;
if (pad[16] !== 1'bz)
INP.pad_16 <= #(model_times.twd_pad[16]) pad[16];
else
INP.pad_16 <= #(model_times.twd_pad[16]) 1'bx;
if (pad[17] !== 1'bz)
INP.pad_17 <= #(model_times.twd_pad[17]) pad[17];
else
INP.pad_17 <= #(model_times.twd_pad[17]) 1'bx;
if (pad[18] !== 1'bz)
INP.pad_18 <= #(model_times.twd_pad[18]) pad[18];
else
INP.pad_18 <= #(model_times.twd_pad[18]) 1'bx;
if (pad[19] !== 1'bz)
INP.pad_19 <= #(model_times.twd_pad[19]) pad[19];
else
INP.pad_19 <= #(model_times.twd_pad[19]) 1'bx;
if (pad[20] !== 1'bz)
INP.pad_20 <= #(model_times.twd_pad[20]) pad[20];
else
INP.pad_20 <= #(model_times.twd_pad[20]) 1'bx;
if (pad[21] !== 1'bz)
INP.pad_21 <= #(model_times.twd_pad[21]) pad[21];
else
INP.pad_21 <= #(model_times.twd_pad[21]) 1'bx;
if (pad[22] !== 1'bz)
INP.pad_22 <= #(model_times.twd_pad[22]) pad[22];
else
INP.pad_22 <= #(model_times.twd_pad[22]) 1'bx;
if (pad[23] !== 1'bz)
INP.pad_23 <= #(model_times.twd_pad[23]) pad[23];
else
INP.pad_23 <= #(model_times.twd_pad[23]) 1'bx;
if (pad[24] !== 1'bz)
INP.pad_24 <= #(model_times.twd_pad[24]) pad[24];
else
INP.pad_24 <= #(model_times.twd_pad[24]) 1'bx;
if (pad[25] !== 1'bz)
INP.pad_25 <= #(model_times.twd_pad[25]) pad[25];
else
INP.pad_25 <= #(model_times.twd_pad[25]) 1'bx;
if (pad[26] !== 1'bz)
INP.pad_26 <= #(model_times.twd_pad[26]) pad[26];
else
INP.pad_26 <= #(model_times.twd_pad[26]) 1'bx;
if (pad[27] !== 1'bz)
INP.pad_27 <= #(model_times.twd_pad[27]) pad[27];
else
INP.pad_27 <= #(model_times.twd_pad[27]) 1'bx;
if (pad[28] !== 1'bz)
INP.pad_28 <= #(model_times.twd_pad[28]) pad[28];
else
INP.pad_28 <= #(model_times.twd_pad[28]) 1'bx;
if (pad[29] !== 1'bz)
INP.pad_29 <= #(model_times.twd_pad[29]) pad[29];
else
INP.pad_29 <= #(model_times.twd_pad[29]) 1'bx;
if (pad[30] !== 1'bz)
INP.pad_30 <= #(model_times.twd_pad[30]) pad[30];
else
INP.pad_30 <= #(model_times.twd_pad[30]) 1'bx;
if (pad[31] !== 1'bz)
INP.pad_31 <= #(model_times.twd_pad[31]) pad[31];
else
INP.pad_31 <= #(model_times.twd_pad[31]) 1'bx;
end
@(pad);
end // pad_data_in
always begin: pcxbenn_data_in
if (model_flags.annotated !== `true) begin
if (pcxbenn[0] !== 1'bz)
INP.pcxbenn_0 <= #(0) pcxbenn[0];
else
INP.pcxbenn_0 <= #(0) 1'bx;
if (pcxbenn[1] !== 1'bz)
INP.pcxbenn_1 <= #(0) pcxbenn[1];
else
INP.pcxbenn_1 <= #(0) 1'bx;
if (pcxbenn[2] !== 1'bz)
INP.pcxbenn_2 <= #(0) pcxbenn[2];
else
INP.pcxbenn_2 <= #(0) 1'bx;
if (pcxbenn[3] !== 1'bz)
INP.pcxbenn_3 <= #(0) pcxbenn[3];
else
INP.pcxbenn_3 <= #(0) 1'bx;
end else begin
if (pcxbenn[0] !== 1'bz)
INP.pcxbenn_0 <= #(model_times.twd_pcxbenn[0]) pcxbenn[0];
else
INP.pcxbenn_0 <= #(model_times.twd_pcxbenn[0]) 1'bx;
if (pcxbenn[1] !== 1'bz)
INP.pcxbenn_1 <= #(model_times.twd_pcxbenn[1]) pcxbenn[1];
else
INP.pcxbenn_1 <= #(model_times.twd_pcxbenn[1]) 1'bx;
if (pcxbenn[2] !== 1'bz)
INP.pcxbenn_2 <= #(model_times.twd_pcxbenn[2]) pcxbenn[2];
else
INP.pcxbenn_2 <= #(model_times.twd_pcxbenn[2]) 1'bx;
if (pcxbenn[3] !== 1'bz)
INP.pcxbenn_3 <= #(model_times.twd_pcxbenn[3]) pcxbenn[3];
else
INP.pcxbenn_3 <= #(model_times.twd_pcxbenn[3]) 1'bx;
end
@(pcxbenn);
end // pcxbenn_data_in
always begin: ppar_data_in
if (model_flags.annotated !== `true) begin
if (ppar !== 1'bz)
INP.ppar <= #(0) ppar;
else
INP.ppar <= #(0) 1'bx;
end else begin
if (ppar !== 1'bz)
INP.ppar <= #(model_times.twd_ppar) ppar;
else
INP.ppar <= #(model_times.twd_ppar) 1'bx;
end
@(ppar);
end // ppar_data_in
always begin: pframenn_data_in
if (model_flags.annotated !== `true) begin
if (pframenn !== 1'bz)
INP.pframenn <= #(0) pframenn;
else
INP.pframenn <= #(0) 1'bx;
end else begin
if (pframenn !== 1'bz)
INP.pframenn <= #(model_times.twd_pframenn) pframenn;
else
INP.pframenn <= #(model_times.twd_pframenn) 1'bx;
end
@(pframenn);
end // pframenn_data_in
always begin: ptrdynn_data_in
if (model_flags.annotated !== `true) begin
if (ptrdynn !== 1'bz)
INP.ptrdynn <= #(0) ptrdynn;
else
INP.ptrdynn <= #(0) 1'bx;
end else begin
if (ptrdynn !== 1'bz)
INP.ptrdynn <= #(model_times.twd_ptrdynn) ptrdynn;
else
INP.ptrdynn <= #(model_times.twd_ptrdynn) 1'bx;
end
@(ptrdynn);
end // ptrdynn_data_in
always begin: pirdynn_data_in
if (model_flags.annotated !== `true) begin
if (pirdynn !== 1'bz)
INP.pirdynn <= #(0) pirdynn;
else
INP.pirdynn <= #(0) 1'bx;
end else begin
if (pirdynn !== 1'bz)
INP.pirdynn <= #(model_times.twd_pirdynn) pirdynn;
else
INP.pirdynn <= #(model_times.twd_pirdynn) 1'bx;
end
@(pirdynn);
end // pirdynn_data_in
always begin: pstopnn_data_in
if (model_flags.annotated !== `true) begin
if (pstopnn !== 1'bz)
INP.pstopnn <= #(0) pstopnn;
else
INP.pstopnn <= #(0) 1'bx;
end else begin
if (pstopnn !== 1'bz)
INP.pstopnn <= #(model_times.twd_pstopnn) pstopnn;
else
INP.pstopnn <= #(model_times.twd_pstopnn) 1'bx;
end
@(pstopnn);
end // pstopnn_data_in
always begin: pidsel_data_in
if (model_flags.annotated !== `true) begin
if (pidsel !== 1'bz)
INP.pidsel <= #(0) pidsel;
else
INP.pidsel <= #(0) 1'bx;
end else begin
if (pidsel !== 1'bz)
INP.pidsel <= #(model_times.twd_pidsel) pidsel;
else
INP.pidsel <= #(model_times.twd_pidsel) 1'bx;
end
@(pidsel);
end // pidsel_data_in
always begin: psbonn_data_in
if (model_flags.annotated !== `true) begin
if (psbonn !== 1'bz)
INP.psbonn <= #(0) psbonn;
else
INP.psbonn <= #(0) 1'bx;
end else begin
if (psbonn !== 1'bz)
INP.psbonn <= #(model_times.twd_psbonn) psbonn;
else
INP.psbonn <= #(model_times.twd_psbonn) 1'bx;
end
@(psbonn);
end // psbonn_data_in
always begin: psdone_data_in
if (model_flags.annotated !== `true) begin
if (psdone !== 1'bz)
INP.psdone <= #(0) psdone;
else
INP.psdone <= #(0) 1'bx;
end else begin
if (psdone !== 1'bz)
INP.psdone <= #(model_times.twd_psdone) psdone;
else
INP.psdone <= #(model_times.twd_psdone) 1'bx;
end
@(psdone);
end // psdone_data_in
always begin: pclk_data_in
if (model_flags.annotated !== `true) begin
if (pclk !== 1'bz)
INP.pclk <= #(0) pclk;
else
INP.pclk <= #(0) 1'bx;
end else begin
if (pclk !== 1'bz)
INP.pclk <= #(model_times.twd_pclk) pclk;
else
INP.pclk <= #(model_times.twd_pclk) 1'bx;
end
@(pclk);
end // pclk_data_in
always begin: prstnn_data_in
if (model_flags.annotated !== `true) begin
if (prstnn !== 1'bz)
INP.prstnn <= #(0) prstnn;
else
INP.prstnn <= #(0) 1'bx;
end else begin
if (prstnn !== 1'bz)
INP.prstnn <= #(model_times.twd_prstnn) prstnn;
else
INP.prstnn <= #(model_times.twd_prstnn) 1'bx;
end
@(prstnn);
end // prstnn_data_in
always begin: pd_data_in
if (model_flags.annotated !== `true) begin
if (pd[32] !== 1'bz)
INP.pd_32 <= #(0) pd[32];
else
INP.pd_32 <= #(0) 1'bx;
if (pd[33] !== 1'bz)
INP.pd_33 <= #(0) pd[33];
else
INP.pd_33 <= #(0) 1'bx;
if (pd[34] !== 1'bz)
INP.pd_34 <= #(0) pd[34];
else
INP.pd_34 <= #(0) 1'bx;
if (pd[35] !== 1'bz)
INP.pd_35 <= #(0) pd[35];
else
INP.pd_35 <= #(0) 1'bx;
if (pd[36] !== 1'bz)
INP.pd_36 <= #(0) pd[36];
else
INP.pd_36 <= #(0) 1'bx;
if (pd[37] !== 1'bz)
INP.pd_37 <= #(0) pd[37];
else
INP.pd_37 <= #(0) 1'bx;
if (pd[38] !== 1'bz)
INP.pd_38 <= #(0) pd[38];
else
INP.pd_38 <= #(0) 1'bx;
if (pd[39] !== 1'bz)
INP.pd_39 <= #(0) pd[39];
else
INP.pd_39 <= #(0) 1'bx;
if (pd[40] !== 1'bz)
INP.pd_40 <= #(0) pd[40];
else
INP.pd_40 <= #(0) 1'bx;
if (pd[41] !== 1'bz)
INP.pd_41 <= #(0) pd[41];
else
INP.pd_41 <= #(0) 1'bx;
if (pd[42] !== 1'bz)
INP.pd_42 <= #(0) pd[42];
else
INP.pd_42 <= #(0) 1'bx;
if (pd[43] !== 1'bz)
INP.pd_43 <= #(0) pd[43];
else
INP.pd_43 <= #(0) 1'bx;
if (pd[44] !== 1'bz)
INP.pd_44 <= #(0) pd[44];
else
INP.pd_44 <= #(0) 1'bx;
if (pd[45] !== 1'bz)
INP.pd_45 <= #(0) pd[45];
else
INP.pd_45 <= #(0) 1'bx;
if (pd[46] !== 1'bz)
INP.pd_46 <= #(0) pd[46];
else
INP.pd_46 <= #(0) 1'bx;
if (pd[47] !== 1'bz)
INP.pd_47 <= #(0) pd[47];
else
INP.pd_47 <= #(0) 1'bx;
if (pd[48] !== 1'bz)
INP.pd_48 <= #(0) pd[48];
else
INP.pd_48 <= #(0) 1'bx;
if (pd[49] !== 1'bz)
INP.pd_49 <= #(0) pd[49];
else
INP.pd_49 <= #(0) 1'bx;
if (pd[50] !== 1'bz)
INP.pd_50 <= #(0) pd[50];
else
INP.pd_50 <= #(0) 1'bx;
if (pd[51] !== 1'bz)
INP.pd_51 <= #(0) pd[51];
else
INP.pd_51 <= #(0) 1'bx;
if (pd[52] !== 1'bz)
INP.pd_52 <= #(0) pd[52];
else
INP.pd_52 <= #(0) 1'bx;
if (pd[53] !== 1'bz)
INP.pd_53 <= #(0) pd[53];
else
INP.pd_53 <= #(0) 1'bx;
if (pd[54] !== 1'bz)
INP.pd_54 <= #(0) pd[54];
else
INP.pd_54 <= #(0) 1'bx;
if (pd[55] !== 1'bz)
INP.pd_55 <= #(0) pd[55];
else
INP.pd_55 <= #(0) 1'bx;
if (pd[56] !== 1'bz)
INP.pd_56 <= #(0) pd[56];
else
INP.pd_56 <= #(0) 1'bx;
if (pd[57] !== 1'bz)
INP.pd_57 <= #(0) pd[57];
else
INP.pd_57 <= #(0) 1'bx;
if (pd[58] !== 1'bz)
INP.pd_58 <= #(0) pd[58];
else
INP.pd_58 <= #(0) 1'bx;
if (pd[59] !== 1'bz)
INP.pd_59 <= #(0) pd[59];
else
INP.pd_59 <= #(0) 1'bx;
if (pd[60] !== 1'bz)
INP.pd_60 <= #(0) pd[60];
else
INP.pd_60 <= #(0) 1'bx;
if (pd[61] !== 1'bz)
INP.pd_61 <= #(0) pd[61];
else
INP.pd_61 <= #(0) 1'bx;
if (pd[62] !== 1'bz)
INP.pd_62 <= #(0) pd[62];
else
INP.pd_62 <= #(0) 1'bx;
if (pd[63] !== 1'bz)
INP.pd_63 <= #(0) pd[63];
else
INP.pd_63 <= #(0) 1'bx;
end else begin
if (pd[32] !== 1'bz)
INP.pd_32 <= #(model_times.twd_pd[32]) pd[32];
else
INP.pd_32 <= #(model_times.twd_pd[32]) 1'bx;
if (pd[33] !== 1'bz)
INP.pd_33 <= #(model_times.twd_pd[33]) pd[33];
else
INP.pd_33 <= #(model_times.twd_pd[33]) 1'bx;
if (pd[34] !== 1'bz)
INP.pd_34 <= #(model_times.twd_pd[34]) pd[34];
else
INP.pd_34 <= #(model_times.twd_pd[34]) 1'bx;
if (pd[35] !== 1'bz)
INP.pd_35 <= #(model_times.twd_pd[35]) pd[35];
else
INP.pd_35 <= #(model_times.twd_pd[35]) 1'bx;
if (pd[36] !== 1'bz)
INP.pd_36 <= #(model_times.twd_pd[36]) pd[36];
else
INP.pd_36 <= #(model_times.twd_pd[36]) 1'bx;
if (pd[37] !== 1'bz)
INP.pd_37 <= #(model_times.twd_pd[37]) pd[37];
else
INP.pd_37 <= #(model_times.twd_pd[37]) 1'bx;
if (pd[38] !== 1'bz)
INP.pd_38 <= #(model_times.twd_pd[38]) pd[38];
else
INP.pd_38 <= #(model_times.twd_pd[38]) 1'bx;
if (pd[39] !== 1'bz)
INP.pd_39 <= #(model_times.twd_pd[39]) pd[39];
else
INP.pd_39 <= #(model_times.twd_pd[39]) 1'bx;
if (pd[40] !== 1'bz)
INP.pd_40 <= #(model_times.twd_pd[40]) pd[40];
else
INP.pd_40 <= #(model_times.twd_pd[40]) 1'bx;
if (pd[41] !== 1'bz)
INP.pd_41 <= #(model_times.twd_pd[41]) pd[41];
else
INP.pd_41 <= #(model_times.twd_pd[41]) 1'bx;
if (pd[42] !== 1'bz)
INP.pd_42 <= #(model_times.twd_pd[42]) pd[42];
else
INP.pd_42 <= #(model_times.twd_pd[42]) 1'bx;
if (pd[43] !== 1'bz)
INP.pd_43 <= #(model_times.twd_pd[43]) pd[43];
else
INP.pd_43 <= #(model_times.twd_pd[43]) 1'bx;
if (pd[44] !== 1'bz)
INP.pd_44 <= #(model_times.twd_pd[44]) pd[44];
else
INP.pd_44 <= #(model_times.twd_pd[44]) 1'bx;
if (pd[45] !== 1'bz)
INP.pd_45 <= #(model_times.twd_pd[45]) pd[45];
else
INP.pd_45 <= #(model_times.twd_pd[45]) 1'bx;
if (pd[46] !== 1'bz)
INP.pd_46 <= #(model_times.twd_pd[46]) pd[46];
else
INP.pd_46 <= #(model_times.twd_pd[46]) 1'bx;
if (pd[47] !== 1'bz)
INP.pd_47 <= #(model_times.twd_pd[47]) pd[47];
else
INP.pd_47 <= #(model_times.twd_pd[47]) 1'bx;
if (pd[48] !== 1'bz)
INP.pd_48 <= #(model_times.twd_pd[48]) pd[48];
else
INP.pd_48 <= #(model_times.twd_pd[48]) 1'bx;
if (pd[49] !== 1'bz)
INP.pd_49 <= #(model_times.twd_pd[49]) pd[49];
else
INP.pd_49 <= #(model_times.twd_pd[49]) 1'bx;
if (pd[50] !== 1'bz)
INP.pd_50 <= #(model_times.twd_pd[50]) pd[50];
else
INP.pd_50 <= #(model_times.twd_pd[50]) 1'bx;
if (pd[51] !== 1'bz)
INP.pd_51 <= #(model_times.twd_pd[51]) pd[51];
else
INP.pd_51 <= #(model_times.twd_pd[51]) 1'bx;
if (pd[52] !== 1'bz)
INP.pd_52 <= #(model_times.twd_pd[52]) pd[52];
else
INP.pd_52 <= #(model_times.twd_pd[52]) 1'bx;
if (pd[53] !== 1'bz)
INP.pd_53 <= #(model_times.twd_pd[53]) pd[53];
else
INP.pd_53 <= #(model_times.twd_pd[53]) 1'bx;
if (pd[54] !== 1'bz)
INP.pd_54 <= #(model_times.twd_pd[54]) pd[54];
else
INP.pd_54 <= #(model_times.twd_pd[54]) 1'bx;
if (pd[55] !== 1'bz)
INP.pd_55 <= #(model_times.twd_pd[55]) pd[55];
else
INP.pd_55 <= #(model_times.twd_pd[55]) 1'bx;
if (pd[56] !== 1'bz)
INP.pd_56 <= #(model_times.twd_pd[56]) pd[56];
else
INP.pd_56 <= #(model_times.twd_pd[56]) 1'bx;
if (pd[57] !== 1'bz)
INP.pd_57 <= #(model_times.twd_pd[57]) pd[57];
else
INP.pd_57 <= #(model_times.twd_pd[57]) 1'bx;
if (pd[58] !== 1'bz)
INP.pd_58 <= #(model_times.twd_pd[58]) pd[58];
else
INP.pd_58 <= #(model_times.twd_pd[58]) 1'bx;
if (pd[59] !== 1'bz)
INP.pd_59 <= #(model_times.twd_pd[59]) pd[59];
else
INP.pd_59 <= #(model_times.twd_pd[59]) 1'bx;
if (pd[60] !== 1'bz)
INP.pd_60 <= #(model_times.twd_pd[60]) pd[60];
else
INP.pd_60 <= #(model_times.twd_pd[60]) 1'bx;
if (pd[61] !== 1'bz)
INP.pd_61 <= #(model_times.twd_pd[61]) pd[61];
else
INP.pd_61 <= #(model_times.twd_pd[61]) 1'bx;
if (pd[62] !== 1'bz)
INP.pd_62 <= #(model_times.twd_pd[62]) pd[62];
else
INP.pd_62 <= #(model_times.twd_pd[62]) 1'bx;
if (pd[63] !== 1'bz)
INP.pd_63 <= #(model_times.twd_pd[63]) pd[63];
else
INP.pd_63 <= #(model_times.twd_pd[63]) 1'bx;
end
@(pd);
end // pd_data_in
always begin: pbenn_data_in
if (model_flags.annotated !== `true) begin
if (pbenn[4] !== 1'bz)
INP.pbenn_4 <= #(0) pbenn[4];
else
INP.pbenn_4 <= #(0) 1'bx;
if (pbenn[5] !== 1'bz)
INP.pbenn_5 <= #(0) pbenn[5];
else
INP.pbenn_5 <= #(0) 1'bx;
if (pbenn[6] !== 1'bz)
INP.pbenn_6 <= #(0) pbenn[6];
else
INP.pbenn_6 <= #(0) 1'bx;
if (pbenn[7] !== 1'bz)
INP.pbenn_7 <= #(0) pbenn[7];
else
INP.pbenn_7 <= #(0) 1'bx;
end else begin
if (pbenn[4] !== 1'bz)
INP.pbenn_4 <= #(model_times.twd_pbenn[4]) pbenn[4];
else
INP.pbenn_4 <= #(model_times.twd_pbenn[4]) 1'bx;
if (pbenn[5] !== 1'bz)
INP.pbenn_5 <= #(model_times.twd_pbenn[5]) pbenn[5];
else
INP.pbenn_5 <= #(model_times.twd_pbenn[5]) 1'bx;
if (pbenn[6] !== 1'bz)
INP.pbenn_6 <= #(model_times.twd_pbenn[6]) pbenn[6];
else
INP.pbenn_6 <= #(model_times.twd_pbenn[6]) 1'bx;
if (pbenn[7] !== 1'bz)
INP.pbenn_7 <= #(model_times.twd_pbenn[7]) pbenn[7];
else
INP.pbenn_7 <= #(model_times.twd_pbenn[7]) 1'bx;
end
@(pbenn);
end // pbenn_data_in
always begin: ppar64_data_in
if (model_flags.annotated !== `true) begin
if (ppar64 !== 1'bz)
INP.ppar64 <= #(0) ppar64;
else
INP.ppar64 <= #(0) 1'bx;
end else begin
if (ppar64 !== 1'bz)
INP.ppar64 <= #(model_times.twd_ppar64) ppar64;
else
INP.ppar64 <= #(model_times.twd_ppar64) 1'bx;
end
@(ppar64);
end // ppar64_data_in
always begin: preq64nn_data_in
if (model_flags.annotated !== `true) begin
if (preq64nn !== 1'bz)
INP.preq64nn <= #(0) preq64nn;
else
INP.preq64nn <= #(0) 1'bx;
end else begin
if (preq64nn !== 1'bz)
INP.preq64nn <= #(model_times.twd_preq64nn) preq64nn;
else
INP.preq64nn <= #(model_times.twd_preq64nn) 1'bx;
end
@(preq64nn);
end // preq64nn_data_in
always begin: plocknn_data_in
if (model_flags.annotated !== `true) begin
if (plocknn !== 1'bz)
INP.plocknn <= #(0) plocknn;
else
INP.plocknn <= #(0) 1'bx;
end else begin
if (plocknn !== 1'bz)
INP.plocknn <= #(model_times.twd_plocknn) plocknn;
else
INP.plocknn <= #(model_times.twd_plocknn) 1'bx;
end
@(plocknn);
end // plocknn_data_in
//====================================--
// BEGIN PATTERN GENERATOR SECTION --
//====================================--
parameter pat_file = "pcislave_dbg.pat";
integer fpat
;
integer dtime
;
reg pat_gen_init
; initial pat_gen_init
= `true;
reg [1:`max_len] ev
;
task gen_pat_print_header;
begin
$fdisplay(fpat," ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp ");
$fdisplay(fpat," aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaccccppfttissdisscrdddddddddddddddddddddddddddddddddbbbbppralps ");
$fdisplay(fpat," dddddddddddddddddddddddddddddddddxxxxaarrrrttedbdls_________________________________eeeeaaecoee ");
$fdisplay(fpat," _________________________________bbbbrradddoovsooktdbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbnnnnrrqkcrr ");
$fdisplay(fpat," dbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbeeee__myyyppsenn_n uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuunnnn6666krr ");
$fdisplay(fpat," uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuunnnndpennnnnelnepn ssssssssssssssssssssssssssssssss____4444nnn ");
$fdisplay(fpat," ssssssssssssssssssssssssssssssssnnnn innnnnnl___i_ 01234567891111111111222222222233bbbb__nnnnn ");
$fdisplay(fpat," 01234567891111111111222222222233____ nn_____npppnp 0123456789012345678901uuuudpnn___ ");
$fdisplay(fpat," 0123456789012345678901bbbb _dppdpniii i ssss i__ppp ");
$fdisplay(fpat," uuuu p ii i_nnn n 0123 nppiii ");
$fdisplay(fpat," ssss i nn np iinnn ");
$fdisplay(fpat," 0123 n i nn ");
$fdisplay(fpat," n ");
$fdisplay(fpat,"=======================================================================================================================================");
end
endtask //gen_pat_print_header
task generate_pattern;
begin
dtime = $time * 1000 / `time_scale_multiplier;
ev[ 2] = pad_d; // The direction of Bi-directional Bus
ev[ 3] = pad[31]; // Bi-directional Bus
ev[ 4] = pad[30]; // Bi-directional Bus
ev[ 5] = pad[29]; // Bi-directional Bus
ev[ 6] = pad[28]; // Bi-directional Bus
ev[ 7] = pad[27]; // Bi-directional Bus
ev[ 8] = pad[26]; // Bi-directional Bus
ev[ 9] = pad[25]; // Bi-directional Bus
ev[ 10] = pad[24]; // Bi-directional Bus
ev[ 11] = pad[23]; // Bi-directional Bus
ev[ 12] = pad[22]; // Bi-directional Bus
ev[ 13] = pad[21]; // Bi-directional Bus
ev[ 14] = pad[20]; // Bi-directional Bus
ev[ 15] = pad[19]; // Bi-directional Bus
ev[ 16] = pad[18]; // Bi-directional Bus
ev[ 17] = pad[17]; // Bi-directional Bus
ev[ 18] = pad[16]; // Bi-directional Bus
ev[ 19] = pad[15]; // Bi-directional Bus
ev[ 20] = pad[14]; // Bi-directional Bus
ev[ 21] = pad[13]; // Bi-directional Bus
ev[ 22] = pad[12]; // Bi-directional Bus
ev[ 23] = pad[11]; // Bi-directional Bus
ev[ 24] = pad[10]; // Bi-directional Bus
ev[ 25] = pad[9]; // Bi-directional Bus
ev[ 26] = pad[8]; // Bi-directional Bus
ev[ 27] = pad[7]; // Bi-directional Bus
ev[ 28] = pad[6]; // Bi-directional Bus
ev[ 29] = pad[5]; // Bi-directional Bus
ev[ 30] = pad[4]; // Bi-directional Bus
ev[ 31] = pad[3]; // Bi-directional Bus
ev[ 32] = pad[2]; // Bi-directional Bus
ev[ 33] = pad[1]; // Bi-directional Bus
This page: |
Created: | Thu Aug 19 12:01:49 1999 |
| From: |
../../../sparc_v8/system/lmc/rtl/pcislave_fm.v
|