caravel_user_project icon indicating copy to clipboard operation
caravel_user_project copied to clipboard

MPW tapeout repos do not always contain the tapeout data

Open d-m-bailey opened this issue 1 year ago • 4 comments

NOTE: Probably not the correct repo to flag this issue.

I believe https://foss-eda-tools.googlesource.com/third_party/shuttle is intended to be a snapshot of the repo for each of the designs on a shuttle when the design was taped out. This allows others to reuse the design.

However, the actual data taped out is from the last successful precheck and not necessarily the data that is in the most recently updated repo.

For example, this design has the following manifest entry

A4,004, riscduino-dcore_d4_, '00081da2, , , , , , 78dfb71ad7efa8c76c2b3dced0d848be171b8c6d, ...

However, the precheck log shows the following commit ddec3fbfabd8cef36812a3f9e833e94adfc47f23

2022-12-03 15:29:55 - [INFO] - {{Project Git Info}} Repository: https://github.com/dineshannayya/riscduino_dcore.git \| Branch: main \| Commit: ddec3fbfabd8cef36812a3f9e833e94adfc47f23

When copying the design data to https://foss-eda-tools.googlesource.com/third_party/shuttle, is it possible to use the data from the precheck commit instead of the latest update?

d-m-bailey avatar Apr 20 '23 02:04 d-m-bailey

Ok, the manifest entry shasum is not the commit id, but rather the shasum of the caravel_xxxxxxxx.oas file.

For the above example (slot-004), precheck/tapeout commit ddec3fbfabd8cef36812a3f9e833e94adfc47f23 no longer appears in the user repo.

d-mitch-bailey avatar Apr 20 '23 04:04 d-mitch-bailey

After further research, these are slots for mpw-8 where the precheck commit id is not the most recent before tapeout. slot-004: precheck commit id is no longer in the repo at all. The user may have deleted it with a force push. slot-005: precheck commit id is no longer in the repo at all. The user may have deleted it with a force push.

slot-007: looks like there was a gds update after precheck. precheck gds.info does not match tapeout gds.info.

slot-029: no user data. just tapeout data. slot-038: no user data. just tapeout data.

d-m-bailey avatar Apr 20 '23 05:04 d-m-bailey

The SHA1SUMs are for the output OAS / GDS file which is downloaded using the command.

Take a look at https://github.com/mithro/mpw-tools

mithro avatar Apr 20 '23 20:04 mithro

See specifically https://github.com/mithro/mpw-tools/blob/be3862b72dde6068e3e865cf89c1ea5e265743df/get-mpw-files.py#L79-L105 and https://github.com/mithro/mpw-tools/blob/be3862b72dde6068e3e865cf89c1ea5e265743df/get-mpw-files.py#L108-L126

mithro avatar Apr 20 '23 20:04 mithro