45 parameter CMD_DONE_BIT=
10,
// VDT BUG: CMD_DONE_BIT is used in a function call parameter! 47 parameter RSEL=
1'b1,
// late/early READ commands (to adjust timing by 1 SDCLK period) 48 parameter WSEL=
1'b0 // late/early WRITE commands (to adjust timing by 1 SDCLK period) 53 // programming interface 59 input [
5:
0]
num_cols_in_m1,
// number of 16-pixel columns to read (rows first, then columns) - 1 62 input start_rd,
// start generating commands by cmd_encod_linear_rd 63 input start_wr,
// start generating commands by cmd_encod_linear_wr 64 output reg start,
// this channel was started (1 clk from start_rd || start_wr 65 output reg [
31:
0]
enc_cmd,
// encoded command 66 output reg enc_wr,
// write encoded command 83 )
cmd_encod_tiled_rd_i (
107 )
cmd_encod_tiled_wr_i (
125 always @(
posedge clk)
begin 133 always @(
posedge clk)
begin
[FRAME_WIDTH_BITS:0] 4167rowcol_inc_in
[ADDRESS_NUMBER-1:0] 4194start_row
[COLADDR_NUMBER-4:0] 4166start_col
[COLADDR_NUMBER-4:0] 4195start_col
cmd_encod_tiled_rd_i cmd_encod_tiled_32_rd
[ADDRESS_NUMBER-1:0] 4093start_row
[FRAME_WIDTH_BITS:0] 4196rowcol_inc_in
cmd_encod_tiled_wr_i cmd_encod_tiled_32_wr
[ADDRESS_NUMBER-1:0] 4165start_row
[COLADDR_NUMBER-4:0] 4094start_col
[FRAME_WIDTH_BITS:0] 4095rowcol_inc_in