.editor_defines.vh 1.88 KB
Newer Older
Andrey Filippov's avatar
Andrey Filippov committed
1
  // This file may be used to define same pre-processor macros to be included into each parsed file
Andrey Filippov's avatar
Andrey Filippov committed
2 3 4

// TODO: Fix VDT - without IVERILOG defined, closure does not include modules needed for Icarus
`define IVERILOG 1
5
`undef DEBUG_FIFO
6
`define USE_CMD_ENCOD_TILED_32_RD 1  
Andrey Filippov's avatar
Andrey Filippov committed
7
  // It can be used to check different `ifdef branches
8
  //`define XIL_TIMING //Simprim 
9 10
  `define den4096Mb 1
//  `define IVERILOG
11
  // defines for memory channels
12
  // chn 0 is read from memory and write to memory
13 14
 `define def_enable_mem_chn0
 `define def_read_mem_chn0
15
 `define def_write_mem_chn0
16
 `undef  def_scanline_chn0
17
 `undef  def_tiled_chn0
18
 
19 20 21 22 23 24
  // chn 1 is scanline r+w
 `define  def_enable_mem_chn1
 `define  def_read_mem_chn1
 `define  def_write_mem_chn1
 `define  def_scanline_chn1
 `undef   def_tiled_chn1
25

26 27 28 29 30 31
  // chn 2 is tiled r+w
 `define  def_enable_mem_chn2
 `define  def_read_mem_chn2
 `define  def_write_mem_chn2
 `undef   def_scanline_chn2
 `define  def_tiled_chn2
32

33 34 35 36 37 38
  // chn 3 is scanline r+w (reuse later)
 `define  def_enable_mem_chn3
 `define  def_read_mem_chn3
 `define  def_write_mem_chn3
 `define  def_scanline_chn3
 `undef   def_tiled_chn3
39

40 41 42 43 44 45
  // chn 4 is tiled r+w (reuse later)
 `define  def_enable_mem_chn4
 `define  def_read_mem_chn4
 `define  def_write_mem_chn4
 `undef   def_scanline_chn4
 `define  def_tiled_chn4
46

47 48
  // chn 5 is disabled
 `undef def_enable_mem_chn5
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80

  // chn 6 is disabled
 `undef  def_enable_mem_chn6
 
  // chn 7 is disabled
 `undef  def_enable_mem_chn7
 
  // chn 8 is disabled
 `undef  def_enable_mem_chn8
 
  // chn 9 is disabled
 `undef  def_enable_mem_chn9
 
  // chn 10 is disabled
 `undef  def_enable_mem_chn10
 
  // chn 11 is disabled
 `undef  def_enable_mem_chn11
 
  // chn 12 is disabled
 `undef  def_enable_mem_chn12
 
  // chn 13 is disabled
 `undef  def_enable_mem_chn13
 
  // chn 14 is disabled
 `undef  def_enable_mem_chn14
 
  // chn 15 is disabled
 `undef  def_enable_mem_chn15