// VDT bugs: 1:does not propagate undefined width through ?:, 2: - does not allow to connect it to task integer input, 3: shows integer input width as 1
xfer_size= ((pages_per_row>1)?
(
(
((ii % pages_per_row) < (pages_per_row-1))?
(1<<NUM_XFER_BITS):
(window_width % (1<<NUM_XFER_BITS))
)
):
({16'b0,window_width}));
$display("########### test_scanline_write block %d: channel=%d, @%t", ii, channel, $time);
`include"includes/x393_parameters.vh"// SuppressThisWarning VEditor - not used
`include"includes/x393_simulation_parameters.vh"
)(
);
`ifdefIVERILOG
// $display("IVERILOG is defined");
`ifdefNON_VDT_ENVIROMENT
parameterlxtname="x393.lxt";
`else
`include"IVERILOG_INCLUDE.v"
`endif// NON_VDT_ENVIROMENT
`else// IVERILOG
// $display("IVERILOG is not defined");
`ifdefCVC
`ifdefNON_VDT_ENVIROMENT
parameterlxtname="x393.fst";
`else// NON_VDT_ENVIROMENT
`include"IVERILOG_INCLUDE.v"
`endif// NON_VDT_ENVIROMENT
`else
parameterlxtname="x393.lxt";
`endif// CVC
`endif// IVERILOG
`defineDEBUG_WR_SINGLE1
`defineDEBUG_RD_DATA1
//`include "includes/x393_cur_params_sim.vh" // parameters that may need adjustment, should be before x393_localparams.vh
`include"includes/x393_cur_params_target.vh"// SuppressThisWarning VEditor - not used parameters that may need adjustment, should be before x393_localparams.vh
`include"includes/x393_localparams.vh"// SuppressThisWarning VEditor - not used
// Sensor signals - as on sensor pads
wirePX1_MCLK;// input sensor input clock
wirePX1_MRST;// input
wirePX1_ARO;// input
wirePX1_ARST;// input
wirePX1_OFST=1'b1; // input // I2C address ofset by 2: for simulation 0 - still mode, 1 - video mode.