.editor_defines.vh 1.52 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 5

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

  // chn 2 is read from memory
 `define def_enable_mem_chn2
 `define def_read_mem_chn2
24
 `define def_scanline_chn2
25 26 27 28

  // chn 3 is write to memory
 `define def_enable_mem_chn3
 `undef  def_read_mem_chn3
29
 `define def_scanline_chn3
30

31 32 33 34
  // chn 4 is enabled
 `define def_enable_mem_chn4
 `define def_read_mem_chn4
 `define def_tiled_chn4
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69

  // chn 5 is disabled
 `undef  def_enable_mem_chn5

  // 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