Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
feat: change config.tcl to config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
htfab authored and urish committed Jun 4, 2024
1 parent 91914b3 commit 50d6f18
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 83 deletions.
86 changes: 86 additions & 0 deletions src/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"//": "DO NOT EDIT THIS FILE before reading the comments below:",

"//": "This is the default configuration for Tiny Tapeout projects. It should fit most designs.",
"//": "If you change it, please make sure you understand what you are doing. We are not responsible",
"//": "if your project fails because of a bad configuration.",

"//": "!!! DO NOT EDIT THIS FILE unless you know what you are doing !!!",

"//": "If you get stuck with this config, please open an issue or get in touch via the discord.",

"//": "Here are some of the variables you may want to change:",

"//": "PL_TARGET_DENSITY - You can increase this if Global Placement fails with error GPL-0302.",
"//": "Users have reported that values up to 0.8 worked well for them.",
"PL_TARGET_DENSITY": 0.6,

"//": "CLOCK_PERIOD - Increase this in case you are getting setup time violations.",
"//": "The value is in nanoseconds, so 20ns == 50MHz.",
"CLOCK_PERIOD": 20,

"//": "Hold slack margin - Increase them in case you are getting hold violations.",
"PL_RESIZER_HOLD_SLACK_MARGIN": 0.1,
"GLB_RESIZER_HOLD_SLACK_MARGIN": 0.05,

"//": "RUN_LINTER, LINTER_INCLUDE_PDK_MODELS - Disabling the linter is not recommended!",
"RUN_LINTER": 1,
"LINTER_INCLUDE_PDK_MODELS": 1,

"//": "If you need a custom clock configuration, read the following documentation first:",
"//": "https://tinytapeout.com/faq/#how-can-i-map-an-additional-external-clock-to-one-of-the-gpios",
"CLOCK_PORT": "clk",

"//": "Configuration docs: https://openlane.readthedocs.io/en/latest/reference/configuration.html",

"//": "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
"//": "!!! DO NOT CHANGE ANYTHING BELOW THIS POINT !!!",
"//": "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",

"//": "Save some time",
"RUN_KLAYOUT_XOR": 0,
"RUN_KLAYOUT_DRC": 0,

"//": "Don't put clock buffers on the outputs",
"PL_RESIZER_BUFFER_OUTPUT_PORTS": 0,

"//": "Allow use of specific sky130 cells",
"SYNTH_READ_BLACKBOX_LIB": 1,

"//": "Reduce wasted space",
"TOP_MARGIN_MULT": 1,
"BOTTOM_MARGIN_MULT": 1,
"LEFT_MARGIN_MULT": 6,
"RIGHT_MARGIN_MULT": 6,

"//": "Absolute die size",
"FP_SIZING": "absolute",

"PL_BASIC_PLACEMENT": 0,
"GRT_ALLOW_CONGESTION": 1,

"FP_IO_HLENGTH": 2,
"FP_IO_VLENGTH": 2,

"//": "Use alternative efabless decap cells to solve LI density issue",
"DECAP_CELL": [
"sky130_fd_sc_hd__decap_3",
"sky130_fd_sc_hd__decap_4",
"sky130_fd_sc_hd__decap_6",
"sky130_fd_sc_hd__decap_8",
"sky130_ef_sc_hd__decap_12"
],

"//": "Clock",
"RUN_CTS": 1,

"//": "Don't use power rings or met5 layer",
"DESIGN_IS_CORE": 0,
"RT_MAX_LAYER": "met4",

"//": "MAGIC_DEF_LABELS may cause issues with LVS",
"MAGIC_DEF_LABELS": 0,

"//": "Only export pin area in LEF (without any connected nets)",
"MAGIC_WRITE_LEF_PINONLY": 1
}
83 changes: 0 additions & 83 deletions src/config.tcl

This file was deleted.

0 comments on commit 50d6f18

Please sign in to comment.