OpenCores
URL https://opencores.org/ocsvn/soc_maker/soc_maker/trunk

Subversion Repositories soc_maker

[/] [soc_maker/] [trunk/] [lib/] [soc_maker/] [core_def.rb] - Diff between revs 6 and 7

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 6 Rev 7
Line 44... Line 44...
#     which represents a concret instanciation of a definition
#     which represents a concret instanciation of a definition
#     (see core_inst.rb).
#     (see core_inst.rb).
#     This class adds two fields to SOCMaker::Component:
#     This class adds two fields to SOCMaker::Component:
#         - hdlfiles           : hash of SOCMaker::HDLFile (mandatory,
#         - hdlfiles           : hash of SOCMaker::HDLFile (mandatory,
#                                at least one file)
#                                at least one file)
 
#
########
########
#
#
# TODO
# TODO
#
#
#
#
Line 191... Line 191...
  # sub-cores
  # sub-cores
  def get_core_def( inst )
  def get_core_def( inst )
    return nil
    return nil
  end
  end
 
 
 
  def consistency_check
 
 
 
  end
 
 
 
 
  def param_ok?( param_name, param_value )
  def param_ok?( param_name, param_value )
    param = inst_parameters[ param_name.to_sym ]
    param = inst_parameters[ param_name.to_sym ]
    param = static_parameters[ param_name.to_sym ] if param == nil
    param = static_parameters[ param_name.to_sym ] if param == nil
    return false if param == nil
    return false if param == nil
  end
  end
 
 
  def verify( is_soc = false )
 
 
 
    # check hdl-files
 
    @hdlfiles.each do |file_name, defn |
 
      defn.verify
 
    end
 
  end
 
 
 
  def ==(o)
  def ==(o)
    o.class         == self.class       &&
    o.class         == self.class       &&
    o.hdlfiles      == self.hdlfiles    &&
    o.hdlfiles      == self.hdlfiles    &&
    super( o )
    super( o )

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.