Commit Graph
143 Commits
Author SHA1 Message Date
Uri Shaked ceb3a796bc Merge pull request #17 from dlmiles/dlm-gh_token
git_utils.py: headers_try_to_add_authorization_from_environment(headers: dict)
2023-06-02 16:36:52 +03:00
Darryl L. Miles 5b15716666 git_utils.py: headers_try_to_add_authorization_from_environment(headers: dict)
This should make the project easier to setup and use and less likely to break
(through expired user tokens).

After this commit:
 * Pickup implicit GHA os.environ $GITHUB_ACTOR and $GITHUB_TOKEN by default.
    This will provide a good enough token for read-only access to public
    repositories.
 * Allow override with custom secret GH_USERNAME and/or GH_TOKEN just as
    before in those use cases where a token with additional scopes maybe needed
    to perform administrative actions.
   The values must be defined and non-blank to be considered.
   A non-blank expires token will cause failure (as before).
 * Continue on a best-effort basis (of not using any token to access public
    repositories) instead of failing the workflow immediately.
 * Emit a warning to stderr for diagnostic purpose from GHA and local shell
    in scenarios where no token is setup.

This means it is still correct to keep the *.yaml config as-is:
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    GH_USERNAME:  ${{ secrets.GH_USERNAME }}
    GH_TOKEN:     ${{ secrets.GH_TOKEN }}

Because a normal consumer of this project inside a GHA will utilise their
$GITHUB_ACTOR and $GITHUB_TOKEN values instead of acting upon blank values
for $GH_USERNAME and $GH_TOKEN.
2023-06-02 13:48:21 +01:00
Uri Shaked 63645d47c9 feat: sram support 2023-06-01 21:26:06 +03:00
Matt Venn 44f7e48fc3 fix cell library link 2023-06-01 10:11:38 +02:00
Pat Deegan 860447e618 bidirectional pin support in gen'ed docs (#15)
* Doc support for bidirectional pins
2023-06-01 08:47:30 +03:00
Uri Shaked 7be8332134 feat: initial support for openlane 2 mux 2023-05-30 23:29:22 +03:00
Uri Shaked 9656aead78 fix: remove tt_um_test from default caravel config
it'll be added by configure.py as needed
2023-05-29 22:15:09 +03:00
Matt Venn f4727414f5 correct rtl and gl includes 2023-05-29 17:43:04 +02:00
Uri Shaked 1f8961c859 docs: update tt version in README 2023-05-27 19:30:52 +03:00
Uri Shaked 96362ae28e feat: validate that top module name starts with "tt_um" 2023-05-27 17:35:54 +03:00
Uri Shaked a4137038c4 cleanup: remove old scanchain related code 2023-05-27 17:31:18 +03:00
Pat Deegan 156d60ada6 io_in/out renamed for tt03p5 2023-05-26 22:45:41 +03:00
Uri Shaked 072140ac0b fix: hardening wokwi modules fail
rename `user_module_<wokwi_id>` to `tt_um_<wokwi_id>`
2023-05-26 21:55:28 +03:00
Uri Shaked 9298cac154 Update submission tools for mux
1. don't generate user_project_wrapper.v, as it's now static
2. don't generate macros.cfg, as gen_macro_cfg.py does it (eventually, we'll want to integrate it into tt-support-tools)
3. don't generate PDN hooks config. Instead, we're using a wildcard to match all user macros.
4. remove the "layout" section from config.yaml, and scanchain related stuff from generate config.json
2023-05-25 20:59:15 +03:00
Uri Shaked fc3279a64d tiles support in --create-user-config 2023-05-25 20:59:12 +03:00
Uri Shaked 59358055c3 feat: def files for multiplexer user modules 2023-05-25 20:40:07 +03:00
Matt Venn bd524505bf fix problem with wokwi files not being fetched. Add the wokwi truthtable testing that got lost in merge 2023-05-25 14:57:16 +02:00
Matt Venn 02e5cc1ae2 lint 2023-05-25 13:55:54 +02:00
Matt Venn c8a0fcfe6b merge 2023-05-25 13:51:16 +02:00
matt venn d61bcbd17a Update reports.py
switch to HD cells, closes issue #10
2023-05-02 12:38:59 +02:00
Matt Venn e5a26cde94 fix bad message 2023-04-28 14:58:32 +02:00
Matt Venn 5fda2dbf3d compare time on uni orders 2023-04-28 13:55:48 +02:00
Matt Venn eb41dd0f94 handle missing extra_projects.yaml 2023-04-28 13:52:48 +02:00
Matt Venn 40060b69d2 fix wirelength 2023-04-26 17:40:22 +02:00
Matt Venn e1199f214f update INFO and README, fill in stats for tt03 index, switch to annotated index 2023-04-26 17:35:40 +02:00
Matt Venn 98c84535dc number tool from htamas 2023-04-25 10:22:18 +02:00
Matt Venn fb2ca2a1be tags 2023-04-25 01:11:36 +02:00
Matt Venn 5b631bd279 don't include refunded orders. check remote matches repo 2023-04-25 00:50:00 +02:00
Matt Venn 8e070aa645 too late now, but in future don't add refunded projects 2023-04-24 18:00:37 +02:00
Matt Venn 17598badbc just list the non fill projects 2023-04-24 18:00:13 +02:00
Matt Venn c65f25de99 golden harden 2023-04-24 14:11:32 +02:00
Matt Venn fe7ff9b460 fixed regex to ignore comments 2023-04-24 12:28:09 +02:00
Matt Venn 2b4acb3a69 fix order issue with stripe token 2023-04-21 19:05:43 +02:00
Matt Venn 983ee5c737 support adding extra orders 2023-04-21 17:27:41 +02:00
Matt Venn e6f0361d56 include STA 2023-04-21 16:55:50 +02:00
Matt Venn 13ed144504 add discord bot to the repo 2023-04-21 14:28:54 +02:00
Matt Venn 03360e3b18 add formal badge 2023-04-21 14:28:14 +02:00
Matt Venn 9b3adc4756 changes for scan order, GLB routing adj and allow congestion 2023-04-20 16:26:30 +02:00
Matt Venn 2f1783b8b0 lint 2023-04-20 16:25:28 +02:00
matt venn f25f3e5116 Update reports.py
remove unnecessary assert
2023-04-20 14:07:25 +02:00
Matt Venn c99cfc1612 fail if picture doesn't exist 2023-04-19 17:10:12 +02:00
Matt Venn 6249de0b0d Merge branch 'tt03' of github.com:TinyTapeout/tt-support-tools into tt03 2023-04-19 17:00:54 +02:00
Matt Venn 0756eb5399 fix #9 2023-04-19 17:00:47 +02:00
matt venn 9bef61a88d debug log 2023-04-14 20:09:42 +02:00
Matt Venn 4d011f2c24 lint 2023-04-11 19:07:47 +02:00
Matt Venn 5bee08714e if file is 0 bytes, return false 2023-04-11 19:02:56 +02:00
matt venn 7e2bb15658 Merge pull request #8 from psychogenic/tt03
test framework
2023-04-11 18:11:55 +02:00
Pat Deegan 8c9f6157f3 Update README.md
tables fix
2023-04-11 02:33:35 -04:00
psychogenic ddee08c805 test framework 2023-04-11 02:25:33 -04:00
Matt Venn bfbcaedd6c update datasheet to include STA 2023-04-04 19:14:37 +02:00