Adding macro lib parameter to schema
Needed to seeparate library setup (IP/PDK) from dynamic use.
This can be REALLY useful for large number of generated SRAMs.
Pointers are free while the loading should only be done on a per needed basis to save run time!
@@ -1717,6 +1717,21 @@ def schema_apr(cfg):
"api: chip.add('target_lib', 'asap7sc7p5t_lvt') "]
}
+ cfg['macro_lib'] = {
+ 'switch' : '-macro_lib',
+ 'switch_args' : '<str>',
+ 'type' : ['string'],
+ 'defvalue' : [],
+ 'requirement' : 'apr',
+ 'short_help' : 'Macro Libraries',
+ 'help' : ["Provides a list of macro libraries to be linked in during",
+ "synthesis and place and route. ",
+ " ",
+ "Examples: ",
+ "cli: -macro_lib 'sram64x1024' ",
+ "api: chip.add('macro_lib', 'sram64x1024') "]
+ }
+
cfg['delaymodel'] = {
'switch' : '-delaymodel',
'switch_args' : '<str>',
