From 00858862e523e8598dcd7117e36ca8bf25db93c2 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Mon, 7 Nov 2022 03:33:45 +0100 Subject: [PATCH 01/24] Update python-version from 3.7.7 to 3.10 --- .github/workflows/docs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 9343595a..2f0184ee 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -18,7 +18,7 @@ jobs: - name: setup python uses: actions/setup-python@v4 with: - python-version: '3.7.7' + python-version: '3.10' - run: pip install requests PyYAML # fetch the Verilog from Wokwi API From bad6ee720eb1734e154214c633029df824d616ab Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Mon, 7 Nov 2022 03:34:15 +0100 Subject: [PATCH 02/24] Update python-version from 3.7.7 to 3.10 --- .github/workflows/gds.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gds.yaml b/.github/workflows/gds.yaml index c7f26d5e..ccbbc7d7 100644 --- a/.github/workflows/gds.yaml +++ b/.github/workflows/gds.yaml @@ -33,7 +33,7 @@ jobs: - name: setup python uses: actions/setup-python@v4 with: - python-version: '3.7.7' + python-version: '3.10' - run: pip install requests PyYAML # fetch the Verilog from Wokwi API From a4882b9f4f80b156f96b1fd9ac472990d28fab80 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Mon, 7 Nov 2022 03:35:06 +0100 Subject: [PATCH 03/24] Update wokwi ID to test github actions --- info.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info.yaml b/info.yaml index 5dafcf89..a1444a4e 100644 --- a/info.yaml +++ b/info.yaml @@ -1,7 +1,7 @@ --- # TinyTapeout project information project: - wokwi_id: 0 # If using wokwi, set this to your project's ID + wokwi_id: 347130909553590866 # If using wokwi, set this to your project's ID # source_files: # If using an HDL, set wokwi_id as 0 and uncomment and list your source files here. Source files must be in ./src # - counter.v # - decoder.v From 15499b917f9c0da2c46644103d05e528c74752c8 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Mon, 7 Nov 2022 03:37:46 +0100 Subject: [PATCH 04/24] update info.yaml to test actions --- info.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/info.yaml b/info.yaml index a1444a4e..a75334db 100644 --- a/info.yaml +++ b/info.yaml @@ -14,17 +14,17 @@ project: # # This info will be automatically collected and used to make a datasheet for the chip. documentation: - author: "" # Your name - discord: "" # Your discord handle - title: "" # Project title - description: "" # Short description of what your project does - how_it_works: "" # Longer description of how the project works - how_to_test: "" # Instructions on how someone could test your project, include things like what buttons do what and how to set the clock if needed - external_hw: "" # Describe any external hardware needed + author: "test" # Your name + discord: "test" # Your discord handle + title: "test" # Project title + description: "test" # Short description of what your project does + how_it_works: "test" # Longer description of how the project works + how_to_test: "test" # Instructions on how someone could test your project, include things like what buttons do what and how to set the clock if needed + external_hw: "test" # Describe any external hardware needed language: "wokwi" # other examples include Verilog, Amaranth, VHDL, etc - doc_link: "" # URL to longer form documentation, eg the README.md in your repository + doc_link: "test" # URL to longer form documentation, eg the README.md in your repository clock_hz: 0 # Clock frequency in Hz (if required) - picture: "" # relative path to a picture in your repository + picture: "test" # relative path to a picture in your repository inputs: # a description of what the inputs do - clock - reset From 39d85423f81a1f9266b98a7648b27b3f113f14d8 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Mon, 7 Nov 2022 03:43:57 +0100 Subject: [PATCH 05/24] Update info.yaml --- info.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info.yaml b/info.yaml index a75334db..1a095479 100644 --- a/info.yaml +++ b/info.yaml @@ -1,7 +1,7 @@ --- # TinyTapeout project information project: - wokwi_id: 347130909553590866 # If using wokwi, set this to your project's ID + wokwi_id: 347497504164545108 # If using wokwi, set this to your project's ID # source_files: # If using an HDL, set wokwi_id as 0 and uncomment and list your source files here. Source files must be in ./src # - counter.v # - decoder.v From 2bb77638a87b9828a2362444888b308588e7f09b Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Mon, 7 Nov 2022 03:49:42 +0100 Subject: [PATCH 06/24] revert to clean info.yaml --- info.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/info.yaml b/info.yaml index 1a095479..ec8eb22f 100644 --- a/info.yaml +++ b/info.yaml @@ -1,7 +1,7 @@ --- # TinyTapeout project information project: - wokwi_id: 347497504164545108 # If using wokwi, set this to your project's ID + wokwi_id: 0 # If using wokwi, set this to your project's ID # source_files: # If using an HDL, set wokwi_id as 0 and uncomment and list your source files here. Source files must be in ./src # - counter.v # - decoder.v @@ -14,17 +14,17 @@ project: # # This info will be automatically collected and used to make a datasheet for the chip. documentation: - author: "test" # Your name - discord: "test" # Your discord handle - title: "test" # Project title - description: "test" # Short description of what your project does - how_it_works: "test" # Longer description of how the project works - how_to_test: "test" # Instructions on how someone could test your project, include things like what buttons do what and how to set the clock if needed - external_hw: "test" # Describe any external hardware needed + author: "" # Your name + discord: "" # Your discord handle + title: "" # Project title + description: "" # Short description of what your project does + how_it_works: "" # Longer description of how the project works + how_to_test: "" # Instructions on how someone could test your project, include things like what buttons do what and how to set the clock if needed + external_hw: "" # Describe any external hardware needed language: "wokwi" # other examples include Verilog, Amaranth, VHDL, etc - doc_link: "test" # URL to longer form documentation, eg the README.md in your repository + doc_link: "" # URL to longer form documentation, eg the README.md in your repository clock_hz: 0 # Clock frequency in Hz (if required) - picture: "test" # relative path to a picture in your repository + picture: "" # relative path to a picture in your repository inputs: # a description of what the inputs do - clock - reset @@ -43,4 +43,3 @@ documentation: - segment f - segment g - none - From f72e283b664c8d00c7efd22edd04626412999c87 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Mon, 7 Nov 2022 03:51:30 +0100 Subject: [PATCH 07/24] revert info.yaml --- info.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/info.yaml b/info.yaml index ec8eb22f..5dafcf89 100644 --- a/info.yaml +++ b/info.yaml @@ -43,3 +43,4 @@ documentation: - segment f - segment g - none + From 7ec740db9085249e41ac93e919ee8b56716aeffa Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 11:13:03 +0100 Subject: [PATCH 08/24] update with test info and wokwi project id --- info.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/info.yaml b/info.yaml index 5dafcf89..1a095479 100644 --- a/info.yaml +++ b/info.yaml @@ -1,7 +1,7 @@ --- # TinyTapeout project information project: - wokwi_id: 0 # If using wokwi, set this to your project's ID + wokwi_id: 347497504164545108 # If using wokwi, set this to your project's ID # source_files: # If using an HDL, set wokwi_id as 0 and uncomment and list your source files here. Source files must be in ./src # - counter.v # - decoder.v @@ -14,17 +14,17 @@ project: # # This info will be automatically collected and used to make a datasheet for the chip. documentation: - author: "" # Your name - discord: "" # Your discord handle - title: "" # Project title - description: "" # Short description of what your project does - how_it_works: "" # Longer description of how the project works - how_to_test: "" # Instructions on how someone could test your project, include things like what buttons do what and how to set the clock if needed - external_hw: "" # Describe any external hardware needed + author: "test" # Your name + discord: "test" # Your discord handle + title: "test" # Project title + description: "test" # Short description of what your project does + how_it_works: "test" # Longer description of how the project works + how_to_test: "test" # Instructions on how someone could test your project, include things like what buttons do what and how to set the clock if needed + external_hw: "test" # Describe any external hardware needed language: "wokwi" # other examples include Verilog, Amaranth, VHDL, etc - doc_link: "" # URL to longer form documentation, eg the README.md in your repository + doc_link: "test" # URL to longer form documentation, eg the README.md in your repository clock_hz: 0 # Clock frequency in Hz (if required) - picture: "" # relative path to a picture in your repository + picture: "test" # relative path to a picture in your repository inputs: # a description of what the inputs do - clock - reset From b478b5e9c1cf020389b8f0d903d74cd1778c0eb4 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 11:14:47 +0100 Subject: [PATCH 09/24] Update config.tcl with clock settings --- src/config.tcl | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/config.tcl b/src/config.tcl index ac38b93c..a3689716 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -44,9 +44,16 @@ set ::env(DECAP_CELL) "\ sky130_fd_sc_hd__decap_8 \ sky130_ef_sc_hd__decap_12" +## clock +#set ::env(CLOCK_TREE_SYNTH) 0 +#set ::env(CLOCK_PORT) "" # clock -set ::env(CLOCK_TREE_SYNTH) 0 -set ::env(CLOCK_PORT) "" +set ::env(CLOCK_PERIOD) "10000" +set ::env(CLOCK_PORT) {io_in[0]} + +# hold/slack margin +set ::env(PL_RESIZER_HOLD_SLACK_MARGIN) 0.8 +set ::env(GLB_RESIZER_HOLD_SLACK_MARGIN) 0.8 # don't use power rings or met5 set ::env(DESIGN_IS_CORE) 0 From 33b617e03135b2ae3741e238cdd646b33f553ed2 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 14:22:43 +0100 Subject: [PATCH 10/24] Update clock from 10kHz to 100kHz --- src/config.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.tcl b/src/config.tcl index a3689716..2245160a 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -48,7 +48,7 @@ set ::env(DECAP_CELL) "\ #set ::env(CLOCK_TREE_SYNTH) 0 #set ::env(CLOCK_PORT) "" # clock -set ::env(CLOCK_PERIOD) "10000" +set ::env(CLOCK_PERIOD) "100000" set ::env(CLOCK_PORT) {io_in[0]} # hold/slack margin From 81a876641566cce436715c9ec834ef8018eaead7 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 14:30:35 +0100 Subject: [PATCH 11/24] set clk to 10 MHz to try getting it to fail --- src/config.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.tcl b/src/config.tcl index 2245160a..4f385025 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -48,7 +48,7 @@ set ::env(DECAP_CELL) "\ #set ::env(CLOCK_TREE_SYNTH) 0 #set ::env(CLOCK_PORT) "" # clock -set ::env(CLOCK_PERIOD) "100000" +set ::env(CLOCK_PERIOD) "10000000" set ::env(CLOCK_PORT) {io_in[0]} # hold/slack margin From 1e79b6dbe15e5e1f2d0a2fb5417670e33a731574 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 15:26:57 +0100 Subject: [PATCH 12/24] update config.tcl to include clock_tree_synth = 1 --- src/config.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.tcl b/src/config.tcl index 4f385025..641d5285 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -48,7 +48,8 @@ set ::env(DECAP_CELL) "\ #set ::env(CLOCK_TREE_SYNTH) 0 #set ::env(CLOCK_PORT) "" # clock -set ::env(CLOCK_PERIOD) "10000000" +set ::env(CLOCK_TREE_SYNTH) 1 +set ::env(CLOCK_PERIOD) "100000" set ::env(CLOCK_PORT) {io_in[0]} # hold/slack margin From fb4db207ada49f11f2b075bc3cdefea7180c256a Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 16:58:19 +0100 Subject: [PATCH 13/24] Update config.tcl --- src/config.tcl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.tcl b/src/config.tcl index 641d5285..f8808bf3 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -51,6 +51,7 @@ set ::env(DECAP_CELL) "\ set ::env(CLOCK_TREE_SYNTH) 1 set ::env(CLOCK_PERIOD) "100000" set ::env(CLOCK_PORT) {io_in[0]} +set ::env(SYNTH_MAX_FANOUT) 20 # hold/slack margin set ::env(PL_RESIZER_HOLD_SLACK_MARGIN) 0.8 From ac2e990a595994037521fe5b4a0f523f7402f0b4 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 17:08:24 +0100 Subject: [PATCH 14/24] Update info.yaml --- info.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info.yaml b/info.yaml index 1a095479..98e0c14b 100644 --- a/info.yaml +++ b/info.yaml @@ -1,7 +1,7 @@ --- # TinyTapeout project information project: - wokwi_id: 347497504164545108 # If using wokwi, set this to your project's ID + wokwi_id: 347417602591556180 # If using wokwi, set this to your project's ID # source_files: # If using an HDL, set wokwi_id as 0 and uncomment and list your source files here. Source files must be in ./src # - counter.v # - decoder.v From ac6fde431f358affc5ae94fbf1c774387350d5df Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 17:09:04 +0100 Subject: [PATCH 15/24] Update config.tcl --- src/config.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.tcl b/src/config.tcl index f8808bf3..723a2c67 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -51,7 +51,7 @@ set ::env(DECAP_CELL) "\ set ::env(CLOCK_TREE_SYNTH) 1 set ::env(CLOCK_PERIOD) "100000" set ::env(CLOCK_PORT) {io_in[0]} -set ::env(SYNTH_MAX_FANOUT) 20 +#set ::env(SYNTH_MAX_FANOUT) 20 # hold/slack margin set ::env(PL_RESIZER_HOLD_SLACK_MARGIN) 0.8 From 4b7a0b829709da3a8617c62bce0340eb2255dac2 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 17:26:56 +0100 Subject: [PATCH 16/24] revert to original info.yaml --- info.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/info.yaml b/info.yaml index 98e0c14b..5dafcf89 100644 --- a/info.yaml +++ b/info.yaml @@ -1,7 +1,7 @@ --- # TinyTapeout project information project: - wokwi_id: 347417602591556180 # If using wokwi, set this to your project's ID + wokwi_id: 0 # If using wokwi, set this to your project's ID # source_files: # If using an HDL, set wokwi_id as 0 and uncomment and list your source files here. Source files must be in ./src # - counter.v # - decoder.v @@ -14,17 +14,17 @@ project: # # This info will be automatically collected and used to make a datasheet for the chip. documentation: - author: "test" # Your name - discord: "test" # Your discord handle - title: "test" # Project title - description: "test" # Short description of what your project does - how_it_works: "test" # Longer description of how the project works - how_to_test: "test" # Instructions on how someone could test your project, include things like what buttons do what and how to set the clock if needed - external_hw: "test" # Describe any external hardware needed + author: "" # Your name + discord: "" # Your discord handle + title: "" # Project title + description: "" # Short description of what your project does + how_it_works: "" # Longer description of how the project works + how_to_test: "" # Instructions on how someone could test your project, include things like what buttons do what and how to set the clock if needed + external_hw: "" # Describe any external hardware needed language: "wokwi" # other examples include Verilog, Amaranth, VHDL, etc - doc_link: "test" # URL to longer form documentation, eg the README.md in your repository + doc_link: "" # URL to longer form documentation, eg the README.md in your repository clock_hz: 0 # Clock frequency in Hz (if required) - picture: "test" # relative path to a picture in your repository + picture: "" # relative path to a picture in your repository inputs: # a description of what the inputs do - clock - reset From b3fd9bdfef1cc8c6e3365aa82f12cbf2e726f331 Mon Sep 17 00:00:00 2001 From: James Rosenthal <42195089+jdrosent@users.noreply.github.com> Date: Wed, 9 Nov 2022 17:30:03 +0100 Subject: [PATCH 17/24] Update config.tcl with clock and hold margins --- src/config.tcl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/config.tcl b/src/config.tcl index 723a2c67..2b87d50a 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -44,14 +44,10 @@ set ::env(DECAP_CELL) "\ sky130_fd_sc_hd__decap_8 \ sky130_ef_sc_hd__decap_12" -## clock -#set ::env(CLOCK_TREE_SYNTH) 0 -#set ::env(CLOCK_PORT) "" # clock set ::env(CLOCK_TREE_SYNTH) 1 set ::env(CLOCK_PERIOD) "100000" set ::env(CLOCK_PORT) {io_in[0]} -#set ::env(SYNTH_MAX_FANOUT) 20 # hold/slack margin set ::env(PL_RESIZER_HOLD_SLACK_MARGIN) 0.8 From 6159a6faa228e7c26797a60dd899d08724e8d9a1 Mon Sep 17 00:00:00 2001 From: matt venn Date: Thu, 10 Nov 2022 12:03:06 +0100 Subject: [PATCH 18/24] Update config.tcl --- src/config.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.tcl b/src/config.tcl index 2b87d50a..1560167e 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -50,8 +50,8 @@ set ::env(CLOCK_PERIOD) "100000" set ::env(CLOCK_PORT) {io_in[0]} # hold/slack margin -set ::env(PL_RESIZER_HOLD_SLACK_MARGIN) 0.8 -set ::env(GLB_RESIZER_HOLD_SLACK_MARGIN) 0.8 +# set ::env(PL_RESIZER_HOLD_SLACK_MARGIN) 0.8 +# set ::env(GLB_RESIZER_HOLD_SLACK_MARGIN) 0.8 # don't use power rings or met5 set ::env(DESIGN_IS_CORE) 0 From 34c07748bff015f3603f906627795211714f49ed Mon Sep 17 00:00:00 2001 From: matt venn Date: Mon, 14 Nov 2022 21:31:55 +0100 Subject: [PATCH 19/24] Update info.yaml --- info.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/info.yaml b/info.yaml index 5dafcf89..53ef9af3 100644 --- a/info.yaml +++ b/info.yaml @@ -23,7 +23,7 @@ documentation: external_hw: "" # Describe any external hardware needed language: "wokwi" # other examples include Verilog, Amaranth, VHDL, etc doc_link: "" # URL to longer form documentation, eg the README.md in your repository - clock_hz: 0 # Clock frequency in Hz (if required) + clock_hz: 0 # Clock frequency in Hz (if required) we are expecting max clock frequency to be ~6khz. Provided on input 0. picture: "" # relative path to a picture in your repository inputs: # a description of what the inputs do - clock From d2ffcd0c7947298564db141e4d92667b7fbe078b Mon Sep 17 00:00:00 2001 From: Matt Venn Date: Wed, 16 Nov 2022 17:04:22 +0100 Subject: [PATCH 20/24] basic check for top module --- configure.py | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.py b/configure.py index 49b9393e..d8e4d7f6 100755 --- a/configure.py +++ b/configure.py @@ -160,4 +160,5 @@ def get_stats(): config = load_yaml(args.yaml) source_files = get_project_source(config) top_module = get_top_module(config) + assert top_module != 'top' write_user_config(top_module, source_files) From ca83fe4c7e1f5577b89dd4e35d411febbdd28591 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Wed, 16 Nov 2022 18:24:14 +0200 Subject: [PATCH 21/24] fix constants in dffsr_cell iverilog complains about the current syntax: ``` src/cells.v:96: warning: Using SystemVerilog 'N bit vector. Use at least -g2005-sv to remove this warning. src/cells.v:98: warning: Using SystemVerilog 'N bit vector. Use at least -g2005-sv to remove this warning. ``` --- src/cells.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cells.v b/src/cells.v index aca1f5b4..772fb210 100644 --- a/src/cells.v +++ b/src/cells.v @@ -93,9 +93,9 @@ module dffsr_cell ( always @(posedge clk or posedge s or posedge r) begin if (r) - q <= '0; + q <= 0; else if (s) - q <= '1; + q <= 1; else q <= d; end From b77f8d91aaa8a1c69ee843d63de6b38b34d26677 Mon Sep 17 00:00:00 2001 From: Matt Venn Date: Fri, 18 Nov 2022 12:34:23 +0100 Subject: [PATCH 22/24] make sure discord handle is complete --- configure.py | 7 +++++++ info.yaml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.py b/configure.py index 2d07eb61..123d3cb5 100755 --- a/configure.py +++ b/configure.py @@ -93,6 +93,13 @@ def check_docs(yaml): logging.error("missing value for {} in documentation".format(key)) exit(1) + # if provided, check discord handle is valid + if len(yaml['documentation']['discord']): + parts = yaml['documentation']['discord'].split('#') + if len(parts) != 2 or len(parts[0]) == 0 or not re.match('^[0-9]{4}$', parts[1]): + logging.error(f'Invalid format for discord username') + exit(1) + def get_top_module(yaml): wokwi_id = int(yaml['project']['wokwi_id']) diff --git a/info.yaml b/info.yaml index 53ef9af3..482c1123 100644 --- a/info.yaml +++ b/info.yaml @@ -15,7 +15,7 @@ project: # This info will be automatically collected and used to make a datasheet for the chip. documentation: author: "" # Your name - discord: "" # Your discord handle + discord: "" # Your discord handle - make sure to include the # part as well title: "" # Project title description: "" # Short description of what your project does how_it_works: "" # Longer description of how the project works From 9dcbca6e4e4068e403eaeccefd2cb39d69c5ce3d Mon Sep 17 00:00:00 2001 From: Matt Venn Date: Tue, 22 Nov 2022 16:35:09 +0100 Subject: [PATCH 23/24] increase area and core utilisation. stop doing basic placement --- src/config.tcl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/config.tcl b/src/config.tcl index 1560167e..cc7ab717 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -29,9 +29,8 @@ set ::env(BOTTOM_MARGIN_MULT) 2 # absolute die size set ::env(FP_SIZING) absolute -set ::env(DIE_AREA) "0 0 90 120" -set ::env(FP_CORE_UTIL) 45 -set ::env(PL_BASIC_PLACEMENT) {1} +set ::env(DIE_AREA) "0 0 150 170" +set ::env(FP_CORE_UTIL) 55 set ::env(FP_IO_HLENGTH) 2 set ::env(FP_IO_VLENGTH) 2 From fdaa6fa109c5384477789e0187a59e2833948233 Mon Sep 17 00:00:00 2001 From: Matt Venn Date: Tue, 22 Nov 2022 16:48:48 +0100 Subject: [PATCH 24/24] add back basic placement --- src/config.tcl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.tcl b/src/config.tcl index cc7ab717..5d6d3393 100644 --- a/src/config.tcl +++ b/src/config.tcl @@ -31,6 +31,7 @@ set ::env(BOTTOM_MARGIN_MULT) 2 set ::env(FP_SIZING) absolute set ::env(DIE_AREA) "0 0 150 170" set ::env(FP_CORE_UTIL) 55 +set ::env(PL_BASIC_PLACEMENT) {1} set ::env(FP_IO_HLENGTH) 2 set ::env(FP_IO_VLENGTH) 2