URL
https://opencores.org/ocsvn/soc_maker/soc_maker/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 3 |
Rev 9 |
Line 60... |
Line 60... |
def Conf.instance
|
def Conf.instance
|
@@inst = new if @@inst == nil
|
@@inst = new if @@inst == nil
|
return @@inst
|
return @@inst
|
end
|
end
|
|
|
def initialize( options = {} )
|
def initialize( optional = {} )
|
|
|
|
|
init_with( options.merge( { 'data' => {
|
init_with( optional.merge( { 'data' => {
|
# the name of this application/tool
|
# the name of this application/tool
|
:app_name => 'SOC-Maker',
|
:app_name => 'SOC-Maker',
|
|
|
# the name of the tool's commandline interface
|
# the name of the tool's commandline interface
|
:app_cli_name => 'SOC-Maker CLI',
|
:app_cli_name => 'SOC-Maker CLI',
|
Line 120... |
Line 120... |
end
|
end
|
|
|
|
|
@data_ro = {
|
@data_ro = {
|
|
|
:yaml_classes => [ SOCMaker::CoreDef, SOCMaker::SOCDef, SOCMaker::IfcSpc, SOCMaker::LibInc, SOCMaker::Conf ],
|
:yaml_classes => [ SOCMaker::CoreDef,
|
|
SOCMaker::SOCDef,
|
|
SOCMaker::IfcSpc,
|
|
SOCMaker::LibInc,
|
|
SOCMaker::Conf,
|
|
SOCMaker::CoreInst ],
|
|
|
# Regular expression, which is evaluatted to detect values like
|
# Regular expression, which is evaluatted to detect values like
|
# eval function_name
|
# eval function_name
|
# The function_name is used for further processing
|
# The function_name is used for further processing
|
:eval_regex => /eval +([a-zA-Z_1-9]+)/,
|
:eval_regex => /eval +([a-zA-Z_1-9]+)/,
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.