Method: SOCMaker::Conf#initialize

Defined in:
lib/soc_maker/conf.rb

#initializeConf

Private constructor: it initializes all data



97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# File 'lib/soc_maker/conf.rb', line 97

def initialize( )


    init_with( { 'data' => {

      # array of core search paths
      :cores_search_path => [ './' ],

      # VHDL include directive
      :vhdl_include     => "library ieee;\nuse ieee.std_logic_1164.ALL;",

      # build directory, where the whole synthese and build process 
      # happens
      :build_dir        =>  'build',

      # the folder inside build_dir, where all the vhdl source is placed
      :hdl_dir          =>  'hdl',

      # synthesis directory inside build_dir
      :syn_dir          =>  'syn',

      # simulation directory inside build_dir
      :sim_dir          =>  'sim'

      } } )
end