.editor_defines 1.33 KB
Newer Older
Andrey Filippov's avatar
Andrey Filippov committed
1 2
  // This file may be used to define same pre-processor macros to be included into each parsed file
  // It can be used to check different `ifdef branches
3
  //`define XIL_TIMING //Simprim 
4 5 6 7 8
  `define IVERILOG
  // defines for memory channels
  // chn 0 is read from memory
 `define def_enable_mem_chn0
 `define def_read_mem_chn0
9
 `undef  def_scanline_chn0
10 11 12 13
 
  // chn 1 is write to memory
 `define def_enable_mem_chn1
 `undef  def_read_mem_chn1
14
 `undef  def_scanline_chn1
15 16 17 18

  // chn 2 is read from memory
 `define def_enable_mem_chn2
 `define def_read_mem_chn2
19
 `define def_scanline_chn2
20 21 22 23

  // chn 3 is write to memory
 `define def_enable_mem_chn3
 `undef  def_read_mem_chn3
24
 `define def_scanline_chn3
25 26 27 28 29 30 31 32 33 34 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

  // chn 4 is disabled
 `undef  def_enable_mem_chn4

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