URL
https://opencores.org/ocsvn/soc_maker/soc_maker/trunk
Show entire file |
Details |
Blame |
View Log
Rev 7 |
Rev 9 |
Line 60... |
Line 60... |
attr_accessor :use_syn
|
attr_accessor :use_syn
|
attr_accessor :use_sys_sim
|
attr_accessor :use_sys_sim
|
attr_accessor :use_mod_sim
|
attr_accessor :use_mod_sim
|
attr_accessor :type
|
attr_accessor :type
|
|
|
def initialize( path, options = {} )
|
def initialize( path, optional = {} )
|
init_with( { 'path' => path }.merge( options ) )
|
init_with( { 'path' => path }.merge( optional ) )
|
end
|
end
|
|
|
def encode_with( coder )
|
def encode_with( coder )
|
%w[ path use_syn use_sys_sim use_mod_sim type ].
|
%w[ path use_syn use_sys_sim use_mod_sim type ].
|
each { |v| coder[ v ] = instance_variable_get "@#{v}" }
|
each { |v| coder[ v ] = instance_variable_get "@#{v}" }
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.