commit | efb329ddaf87e37478ffc3005548c10da7f8a90f | [log] [tgz] |
---|---|---|
author | emayecs <maxwellfchen@gmail.com> | Thu Aug 26 15:37:31 2021 -0400 |
committer | emayecs <maxwellfchen@gmail.com> | Sat Aug 28 19:02:53 2021 -0400 |
tree | 2af9d33e62bbf68222dfe9ad79705f276535d800 | |
parent | bf54c5b93e6f52f00c8dc026177bfcff9881ce32 [diff] |
moved scripts from 'common' folder to 'runtime;' modified top-level makefile to install scripts in 'pdk/scripts' instead of 'pdk/bin'
diff --git a/Makefile.in b/Makefile.in index b8069dc..1ad8a69 100644 --- a/Makefile.in +++ b/Makefile.in
@@ -84,14 +84,72 @@ common_install: @if test -w @datadir@ ; then \ - mkdir -p @datadir@/pdk/bin/ ;\ - cp common/cleanup_unref.py @datadir@/pdk/bin/ ;\ - cp common/soc_floorplanner.py @datadir@/pdk/bin/ ;\ - cp common/change_gds_cell.py @datadir@/pdk/bin/ ;\ - cp common/find_gds_prefix.py @datadir@/pdk/bin/ ;\ - cp common/change_gds_string.py @datadir@/pdk/bin/ ;\ - ${CPP} -DPREFIX=@datadir@ common/create_project.py \ - @datadir@/pdk/bin/create_project.py ;\ + mkdir -p @datadir@/pdk/scripts/ ;\ + cp runtime/cace.py @datadir@/pdk/scripts/ ;\ + cp runtime/cace_datasheet_upload.py @datadir@/pdk/scripts/ ;\ + cp runtime/cace_design_upload.py @datadir@/pdk/scripts/ ;\ + cp runtime/cace_gensim.py @datadir@/pdk/scripts/ ;\ + cp runtime/cace_launch.py @datadir@/pdk/scripts/ ;\ + cp runtime/cace_makeplot.py @datadir@/pdk/scripts/ ;\ + cp runtime/cdl2spi.py @datadir@/pdk/scripts/ ;\ + cp runtime/change_gds_cell.py @datadir@/pdk/scripts/ ;\ + cp runtime/change_gds_date.py @datadir@/pdk/scripts/ ;\ + cp runtime/change_gds_string.py @datadir@/pdk/scripts/ ;\ + cp runtime/changepath.py @datadir@/pdk/scripts/ ;\ + cp runtime/characterize_help.txt @datadir@/pdk/scripts/ ;\ + cp runtime/cleanup_unref.py @datadir@/pdk/scripts/ ;\ + cp runtime/compare_dirs.py @datadir@/pdk/scripts/ ;\ + cp runtime/config.py @datadir@/pdk/scripts/ ;\ + cp runtime/consoletext.py @datadir@/pdk/scripts/ ;\ + cp runtime/create_gds_library.py @datadir@/pdk/scripts/ ;\ + cp runtime/create_lef_library.py @datadir@/pdk/scripts/ ;\ + cp runtime/create_lib_library.py @datadir@/pdk/scripts/ ;\ + ${CPP} -DPREFIX=@datadir@ runtime/create_project.py \ + @datadir@/pdk/scripts/create_project.py ;\ + cp runtime/create_spice_library.py @datadir@/pdk/scripts/ ;\ + cp runtime/create_verilog_library.py @datadir@/pdk/scripts/ ;\ + cp runtime/editparam.py @datadir@/pdk/scripts/ ;\ + cp runtime/failreport.py @datadir@/pdk/scripts/ ;\ + cp runtime/find_all_devices.py @datadir@/pdk/scripts/ ;\ + cp runtime/find_gds_prefix.py @datadir@/pdk/scripts/ ;\ + cp runtime/fix_subckt_params.py @datadir@/pdk/scripts/ ;\ + cp runtime/fixspice.py @datadir@/pdk/scripts/ ;\ + cp runtime/foundry_install.py @datadir@/pdk/scripts/ ;\ + cp runtime/foundry_nodes.py @datadir@/pdk/scripts/ ;\ + cp runtime/gate_list.txt @datadir@/pdk/scripts/ ;\ + cp runtime/get_gds_date.py @datadir@/pdk/scripts/ ;\ + cp runtime/helpwindow.py @datadir@/pdk/scripts/ ;\ + cp runtime/insert_property.py @datadir@/pdk/scripts/ ;\ + cp runtime/listboxchoice.py @datadir@/pdk/scripts/ ;\ + cp runtime/lvs_help.txt @datadir@/pdk/scripts/ ;\ + cp runtime/make_icon_from_soft.py @datadir@/pdk/scripts/ ;\ + cp runtime/makestub.py @datadir@/pdk/scripts/ ;\ + cp runtime/manager_help.txt @datadir@/pdk/scripts/ ;\ + cp runtime/netlist_to_layout.py @datadir@/pdk/scripts/ ;\ + cp runtime/padframe_generator.py @datadir@/pdk/scripts/ ;\ + cp runtime/preproc.py @datadir@/pdk/scripts/ ;\ + cp runtime/print_subckt_params.py @datadir@/pdk/scripts/ ;\ + cp runtime/profile.py @datadir@/pdk/scripts/ ;\ + ${CPP} -DPREFIX=@datadir@ runtime/project_manager.py \ + @datadir@/pdk/scripts/project_manager.py ;\ + cp runtime/qflow_help.txt @datadir@/pdk/scripts/ ;\ + cp runtime/remove_specify.py @datadir@/pdk/scripts/ ;\ + cp runtime/rename_project.py @datadir@/pdk/scripts/ ;\ + cp runtime/requirements.txt @datadir@/pdk/scripts/ ;\ + cp runtime/settings.py @datadir@/pdk/scripts/ ;\ + cp runtime/simhints.py @datadir@/pdk/scripts/ ;\ + cp runtime/soc_floorplanner.py @datadir@/pdk/scripts/ ;\ + cp runtime/sort_pdkfiles.py @datadir@/pdk/scripts/ ;\ + cp runtime/spectre_to_spice.py @datadir@/pdk/scripts/ ;\ + cp runtime/split_gds.py @datadir@/pdk/scripts/ ;\ + cp runtime/split_one_spice.py @datadir@/pdk/scripts/ ;\ + cp runtime/split_spice.py @datadir@/pdk/scripts/ ;\ + cp runtime/staging_install.py @datadir@/pdk/scripts/ ;\ + cp runtime/symbolbuilder.py @datadir@/pdk/scripts/ ;\ + cp runtime/tksimpledialog.py @datadir@/pdk/scripts/ ;\ + cp runtime/tooltip.py @datadir@/pdk/scripts/ ;\ + cp runtime/treeviewchoice.py @datadir@/pdk/scripts/ ;\ + cp runtime/treeviewsplit.py @datadir@/pdk/scripts/ ;\ echo "Common install: Done." ;\ else \ echo "Common install: @datadir@ is not writeable (ignoring)." ;\
diff --git a/common/README b/runtime/README similarity index 100% rename from common/README rename to runtime/README
diff --git a/common/cace.py b/runtime/cace.py similarity index 100% rename from common/cace.py rename to runtime/cace.py
diff --git a/common/cace_datasheet_upload.py b/runtime/cace_datasheet_upload.py similarity index 100% rename from common/cace_datasheet_upload.py rename to runtime/cace_datasheet_upload.py
diff --git a/common/cace_design_upload.py b/runtime/cace_design_upload.py similarity index 100% rename from common/cace_design_upload.py rename to runtime/cace_design_upload.py
diff --git a/common/cace_gensim.py b/runtime/cace_gensim.py similarity index 100% rename from common/cace_gensim.py rename to runtime/cace_gensim.py
diff --git a/common/cace_launch.py b/runtime/cace_launch.py similarity index 100% rename from common/cace_launch.py rename to runtime/cace_launch.py
diff --git a/common/cace_makeplot.py b/runtime/cace_makeplot.py similarity index 100% rename from common/cace_makeplot.py rename to runtime/cace_makeplot.py
diff --git a/common/cdl2spi.py b/runtime/cdl2spi.py similarity index 100% rename from common/cdl2spi.py rename to runtime/cdl2spi.py
diff --git a/common/change_gds_cell.py b/runtime/change_gds_cell.py similarity index 100% rename from common/change_gds_cell.py rename to runtime/change_gds_cell.py
diff --git a/common/change_gds_date.py b/runtime/change_gds_date.py similarity index 100% rename from common/change_gds_date.py rename to runtime/change_gds_date.py
diff --git a/common/change_gds_string.py b/runtime/change_gds_string.py similarity index 100% rename from common/change_gds_string.py rename to runtime/change_gds_string.py
diff --git a/common/changepath.py b/runtime/changepath.py similarity index 100% rename from common/changepath.py rename to runtime/changepath.py
diff --git a/common/changetech.sh b/runtime/changetech.sh similarity index 100% rename from common/changetech.sh rename to runtime/changetech.sh
diff --git a/common/characterize_help.txt b/runtime/characterize_help.txt similarity index 100% rename from common/characterize_help.txt rename to runtime/characterize_help.txt
diff --git a/common/cleanup_unref.py b/runtime/cleanup_unref.py similarity index 100% rename from common/cleanup_unref.py rename to runtime/cleanup_unref.py
diff --git a/common/compare_dirs.py b/runtime/compare_dirs.py similarity index 100% rename from common/compare_dirs.py rename to runtime/compare_dirs.py
diff --git a/common/config.py b/runtime/config.py similarity index 100% rename from common/config.py rename to runtime/config.py
diff --git a/common/consoletext.py b/runtime/consoletext.py similarity index 100% rename from common/consoletext.py rename to runtime/consoletext.py
diff --git a/common/create_gds_library.py b/runtime/create_gds_library.py similarity index 100% rename from common/create_gds_library.py rename to runtime/create_gds_library.py
diff --git a/common/create_lef_library.py b/runtime/create_lef_library.py similarity index 100% rename from common/create_lef_library.py rename to runtime/create_lef_library.py
diff --git a/common/create_lib_library.py b/runtime/create_lib_library.py similarity index 100% rename from common/create_lib_library.py rename to runtime/create_lib_library.py
diff --git a/common/create_project.py b/runtime/create_project.py similarity index 100% rename from common/create_project.py rename to runtime/create_project.py
diff --git a/common/create_spice_library.py b/runtime/create_spice_library.py similarity index 100% rename from common/create_spice_library.py rename to runtime/create_spice_library.py
diff --git a/common/create_verilog_library.py b/runtime/create_verilog_library.py similarity index 100% rename from common/create_verilog_library.py rename to runtime/create_verilog_library.py
diff --git a/common/editparam.py b/runtime/editparam.py similarity index 100% rename from common/editparam.py rename to runtime/editparam.py
diff --git a/common/failreport.py b/runtime/failreport.py similarity index 100% rename from common/failreport.py rename to runtime/failreport.py
diff --git a/common/find_all_devices.py b/runtime/find_all_devices.py similarity index 100% rename from common/find_all_devices.py rename to runtime/find_all_devices.py
diff --git a/common/find_gds_prefix.py b/runtime/find_gds_prefix.py similarity index 100% rename from common/find_gds_prefix.py rename to runtime/find_gds_prefix.py
diff --git a/common/fix_subckt_params.py b/runtime/fix_subckt_params.py similarity index 100% rename from common/fix_subckt_params.py rename to runtime/fix_subckt_params.py
diff --git a/common/fixspice.py b/runtime/fixspice.py similarity index 100% rename from common/fixspice.py rename to runtime/fixspice.py
diff --git a/common/foundry_install.py b/runtime/foundry_install.py similarity index 100% rename from common/foundry_install.py rename to runtime/foundry_install.py
diff --git a/common/foundry_nodes.py b/runtime/foundry_nodes.py similarity index 100% rename from common/foundry_nodes.py rename to runtime/foundry_nodes.py
diff --git a/common/gate_list.txt b/runtime/gate_list.txt similarity index 100% rename from common/gate_list.txt rename to runtime/gate_list.txt
diff --git a/common/get_gds_date.py b/runtime/get_gds_date.py similarity index 100% rename from common/get_gds_date.py rename to runtime/get_gds_date.py
diff --git a/common/helpwindow.py b/runtime/helpwindow.py similarity index 100% rename from common/helpwindow.py rename to runtime/helpwindow.py
diff --git a/common/insert_property.py b/runtime/insert_property.py similarity index 100% rename from common/insert_property.py rename to runtime/insert_property.py
diff --git a/common/listboxchoice.py b/runtime/listboxchoice.py similarity index 100% rename from common/listboxchoice.py rename to runtime/listboxchoice.py
diff --git a/common/lvs_help.txt b/runtime/lvs_help.txt similarity index 100% rename from common/lvs_help.txt rename to runtime/lvs_help.txt
diff --git a/common/make_icon_from_soft.py b/runtime/make_icon_from_soft.py similarity index 100% rename from common/make_icon_from_soft.py rename to runtime/make_icon_from_soft.py
diff --git a/common/makestub.py b/runtime/makestub.py similarity index 100% rename from common/makestub.py rename to runtime/makestub.py
diff --git a/common/manager_help.txt b/runtime/manager_help.txt similarity index 100% rename from common/manager_help.txt rename to runtime/manager_help.txt
diff --git a/common/netlist_to_layout.py b/runtime/netlist_to_layout.py similarity index 100% rename from common/netlist_to_layout.py rename to runtime/netlist_to_layout.py
diff --git a/common/orig/foundry_install.py b/runtime/orig/foundry_install.py similarity index 100% rename from common/orig/foundry_install.py rename to runtime/orig/foundry_install.py
diff --git a/common/padframe_generator.py b/runtime/padframe_generator.py similarity index 100% rename from common/padframe_generator.py rename to runtime/padframe_generator.py
diff --git a/common/pdk.bindkeys b/runtime/pdk.bindkeys similarity index 100% rename from common/pdk.bindkeys rename to runtime/pdk.bindkeys
diff --git a/common/pdk.prm b/runtime/pdk.prm similarity index 100% rename from common/pdk.prm rename to runtime/pdk.prm
diff --git a/common/pdk.tcl b/runtime/pdk.tcl similarity index 100% rename from common/pdk.tcl rename to runtime/pdk.tcl
diff --git a/common/preproc.py b/runtime/preproc.py similarity index 100% rename from common/preproc.py rename to runtime/preproc.py
diff --git a/common/print_subckt_params.py b/runtime/print_subckt_params.py similarity index 100% rename from common/print_subckt_params.py rename to runtime/print_subckt_params.py
diff --git a/common/profile.py b/runtime/profile.py similarity index 100% rename from common/profile.py rename to runtime/profile.py
diff --git a/common/project_manager.py b/runtime/project_manager.py similarity index 99% rename from common/project_manager.py rename to runtime/project_manager.py index c07ffb3..4747b52 100755 --- a/common/project_manager.py +++ b/runtime/project_manager.py
@@ -274,8 +274,7 @@ # TODO: stop hardwired default EFXH035B: get from an overall flow /ef/tech/.ef-config/plist.json # (or get it from the currently selected project) #EFABLESS PLATFORM - #TODO: Replace with PREFIX - for pdkdir_lr in glob.glob('/usr/share/pdk/*/libs.tech/'): + for pdkdir_lr in glob.glob('PREFIX'+'/*/libs.tech/'): pdkdir = os.path.split( os.path.split( pdkdir_lr )[0])[0] # discard final .../libs.tech/ (foundry, foundry_name, node, desc, status) = ProjectManager.pdkdir2fnd( pdkdir ) if not foundry or not node:
diff --git a/common/qflow_help.txt b/runtime/qflow_help.txt similarity index 100% rename from common/qflow_help.txt rename to runtime/qflow_help.txt
diff --git a/common/remove_specify.py b/runtime/remove_specify.py similarity index 100% rename from common/remove_specify.py rename to runtime/remove_specify.py
diff --git a/common/rename_project.py b/runtime/rename_project.py similarity index 100% rename from common/rename_project.py rename to runtime/rename_project.py
diff --git a/common/requirements.txt b/runtime/requirements.txt similarity index 100% rename from common/requirements.txt rename to runtime/requirements.txt
diff --git a/common/settings.py b/runtime/settings.py similarity index 100% rename from common/settings.py rename to runtime/settings.py
diff --git a/common/simhints.py b/runtime/simhints.py similarity index 100% rename from common/simhints.py rename to runtime/simhints.py
diff --git a/common/soc_floorplanner.py b/runtime/soc_floorplanner.py similarity index 100% rename from common/soc_floorplanner.py rename to runtime/soc_floorplanner.py
diff --git a/common/sort_pdkfiles.py b/runtime/sort_pdkfiles.py similarity index 100% rename from common/sort_pdkfiles.py rename to runtime/sort_pdkfiles.py
diff --git a/common/spectre_to_spice.py b/runtime/spectre_to_spice.py similarity index 100% rename from common/spectre_to_spice.py rename to runtime/spectre_to_spice.py
diff --git a/common/split_gds.py b/runtime/split_gds.py similarity index 100% rename from common/split_gds.py rename to runtime/split_gds.py
diff --git a/common/split_one_spice.py b/runtime/split_one_spice.py similarity index 100% rename from common/split_one_spice.py rename to runtime/split_one_spice.py
diff --git a/common/split_spice.py b/runtime/split_spice.py similarity index 100% rename from common/split_spice.py rename to runtime/split_spice.py
diff --git a/common/staging_install.py b/runtime/staging_install.py similarity index 100% rename from common/staging_install.py rename to runtime/staging_install.py
diff --git a/common/symbolbuilder.py b/runtime/symbolbuilder.py similarity index 100% rename from common/symbolbuilder.py rename to runtime/symbolbuilder.py
diff --git a/common/tksimpledialog.py b/runtime/tksimpledialog.py similarity index 100% rename from common/tksimpledialog.py rename to runtime/tksimpledialog.py
diff --git a/common/tooltip.py b/runtime/tooltip.py similarity index 100% rename from common/tooltip.py rename to runtime/tooltip.py
diff --git a/common/treeviewchoice.py b/runtime/treeviewchoice.py similarity index 100% rename from common/treeviewchoice.py rename to runtime/treeviewchoice.py
diff --git a/common/treeviewsplit.py b/runtime/treeviewsplit.py similarity index 100% rename from common/treeviewsplit.py rename to runtime/treeviewsplit.py