)]}'
{
  "commit": "981c36b04b9fb63cb6a1d265598697f39edff5b2",
  "tree": "3942180bb81977e809cb6f919e0b415112e18c96",
  "parents": [
    "706620c6cb817337b9016bd4e040eadf25208475"
  ],
  "author": {
    "name": "Srikrishna Iyer",
    "email": "sriyer@google.com",
    "time": "Sat Dec 12 12:20:35 2020 -0800"
  },
  "committer": {
    "name": "Srikrishna Iyer",
    "email": "46467186+sriyerg@users.noreply.github.com",
    "time": "Wed Dec 16 14:10:04 2020 -0800"
  },
  "message": "[dvsim] Logic to copy repo to scratch area\n\nThis change adds logic to copy the repo to the scratch area using\n`rsync` command. The copy is triggered on the presence of two things -\n- DVSIM_REMOTE_DISPATCH env variable defined\n- `scratch_root` not being tool-default\n\nIf these conditions are met, it is assumed that a different scratch\narea is being used, which is accessible to the user\u0027s workspace /\nworkstation as well as to the remote dispatch system. It is also assumed\nthat the remote dispatch system cannot access the user\u0027s workspace,\nwhich is why the copying is needed. If the repo is copied to the scratch\narea, the `proj_root` is set to the destination location, so that in\nHJson files, everything is referenced from the destination as opposed\nto the actual project root.\n\nThe destination is chosen to be `{scratch_root}/{branch}/repo_top`. This\nis common to all toolflows run from the same branch.\n\nThe other change is removal of `tool_srcs_dir` and `tool_srcs`, and\naddition of `proj_root` as a mandatory variable set for the Makefile.\nAll sources that the EDA tools need to have access to can now be\nreferenced from `{proj_root}` in the HJson files.\n\nLastly, a `--local` switch is added to dvsim to prevent triggering the\nrepo copy. It is user\u0027s responsibility to ensure that with `--local`,\nDVSim is invoked such that the EDA tools are invoked from user\u0027s\nworkstation.\n\nIn the `common_project_cfg.hjson`, the changes reflect the above\nupdates.\n\nSigned-off-by: Srikrishna Iyer \u003csriyer@google.com\u003e\n\n[dvsim, dv] Removal of `tool_srcs*`\n\nThis changes removes `tool_srcs*` from HJson and other files and\nreferences all dependent sources from `{proj_root}` instead. Commit\nb7ed20676 is required to support this change.\n\nWherever applicable, `{dv_root}` is used in lieu of `{proj_root}` to\nstay opentitan-independent.\n\nSigned-off-by: Srikrishna Iyer \u003csriyer@google.com\u003e\n\n[dvsim, fpv] Removal of `tool_srcs*`\n\nThis changes removes `tool_srcs*` from HJson and other files and\nreferences all dependent sources from `{proj_root}` instead. Commit\nb7ed20676 is required to support this change.\n\nThe second change is addition of `fpv_root`, which is where things that\ncould be common across OT and other projects can be found. All\nreferences to `{proj_root}/hw/formal` are replaced with `{fpv_root}`.\n\nSigned-off-by: Srikrishna Iyer \u003csriyer@google.com\u003e\n\n[dvsim, lint] Removal of `tool_srcs*`\n\nThis changes removes `tool_srcs*` from HJson and other files and\nreferences all dependent sources from `{proj_root}` instead. Commit\nb7ed20676 is required to support this change.\n\nThe second change is addition of `{lint_root}`, which represents a\nlocation where all lint sources common across projects may reside. All\nreferences to `{proj_root}/hw/lint` are replaced with `{lint_root}`.\n\nSigned-off-by: Srikrishna Iyer \u003csriyer@google.com\u003e\n\n[dvsim, syn] Removal of `tool_srcs*`\n\nThis changes removes `tool_srcs*` from HJson and other files and\nreferences all dependent sources from `{proj_root}` instead. Commit\nb7ed20676 is required to support this change.\n\nThe second change is the addion of `{syn_root}` where all common\nsynthesis sources common across projects may reside. All isntances of\n`{proj_root}/hw/syn` are replaced with `{syn_root}` as applicable.\n\nSigned-off-by: Srikrishna Iyer \u003csriyer@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "29bfc2f57c48d3af6972a8abca7c8fb981a32390",
      "old_mode": 33188,
      "old_path": "hw/data/common_project_cfg.hjson",
      "new_id": "eb0fc8c19f5d2cd3fd51ef9d7025a964e80c2a05",
      "new_mode": 33188,
      "new_path": "hw/data/common_project_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "f01860f8f4507c719df65e8a50dd8d9924bf1fb7",
      "old_mode": 33188,
      "old_path": "hw/dv/tools/dvsim/common_sim_cfg.hjson",
      "new_id": "8c3b5519ffbc5aa3b552cdcf62903a54adbb339c",
      "new_mode": 33188,
      "new_path": "hw/dv/tools/dvsim/common_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "d16f1d09b73d83f3984a8e0e1506bb81a9215624",
      "old_mode": 33188,
      "old_path": "hw/dv/tools/dvsim/dsim.hjson",
      "new_id": "58344960878de29c8d1ce175e6ced4a1e120b886",
      "new_mode": 33188,
      "new_path": "hw/dv/tools/dvsim/dsim.hjson"
    },
    {
      "type": "modify",
      "old_id": "324bebbdc4ed82f47d4caae4135c3769b3b1d79b",
      "old_mode": 33188,
      "old_path": "hw/dv/tools/dvsim/riviera.hjson",
      "new_id": "fb39718353b1aad1dc2de3c00fdbbaa0f9aeea9d",
      "new_mode": 33188,
      "new_path": "hw/dv/tools/dvsim/riviera.hjson"
    },
    {
      "type": "modify",
      "old_id": "f64748f50c07e61773ede9daa6a4500c85f4e4d1",
      "old_mode": 33188,
      "old_path": "hw/dv/tools/dvsim/sim.mk",
      "new_id": "bc4e102c6d4dc8c5bf70653d62ba0bba4944a9e9",
      "new_mode": 33188,
      "new_path": "hw/dv/tools/dvsim/sim.mk"
    },
    {
      "type": "modify",
      "old_id": "699c48da4e45fcc1dffa369b5ca38fe89dd3fc32",
      "old_mode": 33188,
      "old_path": "hw/dv/tools/dvsim/vcs.hjson",
      "new_id": "784839e33e7309f661afb10928c478d7b0169094",
      "new_mode": 33188,
      "new_path": "hw/dv/tools/dvsim/vcs.hjson"
    },
    {
      "type": "modify",
      "old_id": "130643595ce3ab65e93affd5bb7b5d5201d50adb",
      "old_mode": 33188,
      "old_path": "hw/dv/tools/dvsim/verilator.hjson",
      "new_id": "76da9333159b4e769de03ddb61e93c2dd133ef21",
      "new_mode": 33188,
      "new_path": "hw/dv/tools/dvsim/verilator.hjson"
    },
    {
      "type": "modify",
      "old_id": "ede16fb492e79c69124f05db3b2a51892dbe01eb",
      "old_mode": 33188,
      "old_path": "hw/dv/tools/dvsim/xcelium.hjson",
      "new_id": "60a906c8206ed4a42e3b77a501a2e77164736fca",
      "new_mode": 33188,
      "new_path": "hw/dv/tools/dvsim/xcelium.hjson"
    },
    {
      "type": "modify",
      "old_id": "9bad74937c9d2247347050f5170ca7f95687fb01",
      "old_mode": 33188,
      "old_path": "hw/dv/tools/sim.tcl",
      "new_id": "edaecb0ba0c5035768b8077c9bd1bc31d3425ea8",
      "new_mode": 33188,
      "new_path": "hw/dv/tools/sim.tcl"
    },
    {
      "type": "modify",
      "old_id": "1a6711abadd3464067a714586863cc8c16950ede",
      "old_mode": 33188,
      "old_path": "hw/dv/tools/vcs/unr.cfg",
      "new_id": "1991b5ffbc78fa83b4643d07d85af37934965b22",
      "new_mode": 33188,
      "new_path": "hw/dv/tools/vcs/unr.cfg"
    },
    {
      "type": "modify",
      "old_id": "ddc7edde0c51f32838ed8ca8717ff9b6e4d4fd92",
      "old_mode": 33188,
      "old_path": "hw/formal/tools/dvsim/common_fpv_cfg.hjson",
      "new_id": "6cd6c1beec5265ccb64a7444251b95bddd2149da",
      "new_mode": 33188,
      "new_path": "hw/formal/tools/dvsim/common_fpv_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "63fbe5b33ff6b9ccb0c3a459303a9d6d7c27b1dd",
      "old_mode": 33188,
      "old_path": "hw/formal/tools/dvsim/fpv.mk",
      "new_id": "8da4636b9cc4cb78a937f837dd8f61c773891517",
      "new_mode": 33188,
      "new_path": "hw/formal/tools/dvsim/fpv.mk"
    },
    {
      "type": "modify",
      "old_id": "72fdab064687dbccf0b1cb89a01ed2b167ed5104",
      "old_mode": 33188,
      "old_path": "hw/ip/aes/syn/aes_syn_cfg.hjson",
      "new_id": "ce4e6324738130e3b47b229bf286ea254a4255f0",
      "new_mode": 33188,
      "new_path": "hw/ip/aes/syn/aes_syn_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "b2cb1ebed400c691de234d4c35dd4a3148c659ad",
      "old_mode": 33188,
      "old_path": "hw/ip/alert_handler/dv/alert_handler_generic_sim_cfg.hjson",
      "new_id": "b25cc239e84292ce151f28f8290c9b4533db14e2",
      "new_mode": 33188,
      "new_path": "hw/ip/alert_handler/dv/alert_handler_generic_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "ca90dc85cc3d6ebabf84cbbb3d8d6ad0078bd57d",
      "old_mode": 33188,
      "old_path": "hw/ip/gpio/dv/gpio_sim_cfg.hjson",
      "new_id": "bbfdec1def3b2ec22736340676894ab618bcecaf",
      "new_mode": 33188,
      "new_path": "hw/ip/gpio/dv/gpio_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "0d846d1073757a19682ff7118a34b00031896cb4",
      "old_mode": 33188,
      "old_path": "hw/ip/hmac/dv/hmac_sim_cfg.hjson",
      "new_id": "9d51f03d43c2471d727955c9bf227863cad80d14",
      "new_mode": 33188,
      "new_path": "hw/ip/hmac/dv/hmac_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "4f1ec4d7e30fed02aab08f831908747b1e9b1dc0",
      "old_mode": 33188,
      "old_path": "hw/ip/kmac/dv/kmac_base_sim_cfg.hjson",
      "new_id": "854d0b2b4df4140d64f4854b1bd939382eea566e",
      "new_mode": 33188,
      "new_path": "hw/ip/kmac/dv/kmac_base_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "4ce580bbe6a5c489b0b1b5dd0ec64ef9f031b5c6",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/dv/uvm/otbn_sim_cfg.hjson",
      "new_id": "b18721673705266c5994b2533688aac7b07e6a63",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/dv/uvm/otbn_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "c60522981398521cd96bf6ab924f4e77fcab93f2",
      "old_mode": 33188,
      "old_path": "hw/ip/otbn/syn/otbn_syn_cfg.hjson",
      "new_id": "6b8e3870862e915d3179cd2708c4f0c8e826c496",
      "new_mode": 33188,
      "new_path": "hw/ip/otbn/syn/otbn_syn_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "2ce01dd4619a01acf31a1aa2b532742e16dfa86b",
      "old_mode": 33188,
      "old_path": "hw/ip/prim/dv/prim_lfsr/prim_lfsr_sim_cfg.hjson",
      "new_id": "f47d26a6ec5806fbb28ea144c629b0f0620c4c2b",
      "new_mode": 33188,
      "new_path": "hw/ip/prim/dv/prim_lfsr/prim_lfsr_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "84745cf1e93086d7d0305a0c62f4c88234da4913",
      "old_mode": 33188,
      "old_path": "hw/ip/prim/dv/prim_present/prim_present_sim_cfg.hjson",
      "new_id": "2d5c95b609ee54298fad9d823136d97afe4b6ca9",
      "new_mode": 33188,
      "new_path": "hw/ip/prim/dv/prim_present/prim_present_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "9240a165130e90ea21fcf90aeef1b6e5b70af477",
      "old_mode": 33188,
      "old_path": "hw/ip/prim/dv/prim_prince/prim_prince_sim_cfg.hjson",
      "new_id": "755e52d2cb6711348f60dadb6472eaf4240392fe",
      "new_mode": 33188,
      "new_path": "hw/ip/prim/dv/prim_prince/prim_prince_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "37d6fd4de80da5a8119c16b4efbb6e716f207523",
      "old_mode": 33188,
      "old_path": "hw/ip/rv_core_ibex/syn/rv_core_ibex_syn_cfg.hjson",
      "new_id": "f962cf40f45436515eaf6f82d03a31941352580a",
      "new_mode": 33188,
      "new_path": "hw/ip/rv_core_ibex/syn/rv_core_ibex_syn_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "43a98ccfae09c4018aae6d34250b825f8f556783",
      "old_mode": 33188,
      "old_path": "hw/ip/tlul/generic_dv/xbar_sim_cfg.hjson",
      "new_id": "606cc51e716df6b28cc391e9a6936889c3936d64",
      "new_mode": 33188,
      "new_path": "hw/ip/tlul/generic_dv/xbar_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "abf395471bf671fa943a6330e10f5f6526b42b93",
      "old_mode": 33188,
      "old_path": "hw/ip/uart/dv/uart_sim_cfg.hjson",
      "new_id": "08324a5701c644d6da8ff05891beaf1f6987505a",
      "new_mode": 33188,
      "new_path": "hw/ip/uart/dv/uart_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "548b526da93f3497ed6e4b9f1726b1ffed5eb610",
      "old_mode": 33188,
      "old_path": "hw/lint/tools/dvsim/ascentlint.hjson",
      "new_id": "632b91db57832294f81b7913770cf5b59a62aefd",
      "new_mode": 33188,
      "new_path": "hw/lint/tools/dvsim/ascentlint.hjson"
    },
    {
      "type": "modify",
      "old_id": "a4e571c24ffcf49aa35386cb9da255732ba8386b",
      "old_mode": 33188,
      "old_path": "hw/lint/tools/dvsim/common_lint_cfg.hjson",
      "new_id": "b8639d819ecb8b74c95add69e9c8691a2b9c1baf",
      "new_mode": 33188,
      "new_path": "hw/lint/tools/dvsim/common_lint_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "ede5374dcbfbaa971b6d67570977797f4c094ecf",
      "old_mode": 33188,
      "old_path": "hw/lint/tools/dvsim/lint.mk",
      "new_id": "89cd2ebbeef8c14d454fd0cb6e10b48f36288179",
      "new_mode": 33188,
      "new_path": "hw/lint/tools/dvsim/lint.mk"
    },
    {
      "type": "modify",
      "old_id": "d7255d770130059f294e34d1833d58f734909269",
      "old_mode": 33188,
      "old_path": "hw/lint/tools/dvsim/veriblelint.hjson",
      "new_id": "26219be60ee947ede5a8e8e814a4b4e1cb911bf4",
      "new_mode": 33188,
      "new_path": "hw/lint/tools/dvsim/veriblelint.hjson"
    },
    {
      "type": "modify",
      "old_id": "6401d7f0eb4d725aea2e6bd0cc1bd1768889aa7e",
      "old_mode": 33188,
      "old_path": "hw/lint/tools/dvsim/verilator.hjson",
      "new_id": "698afba626c1ec1a0bff1de70ea920dae9cac558",
      "new_mode": 33188,
      "new_path": "hw/lint/tools/dvsim/verilator.hjson"
    },
    {
      "type": "modify",
      "old_id": "fcdf25c7af2f409c162c293f423cad15a9216e75",
      "old_mode": 33188,
      "old_path": "hw/syn/tools/dc/run-syn.tcl",
      "new_id": "b43d83dcff146a3a9236e7b10bc473a31b03aff1",
      "new_mode": 33188,
      "new_path": "hw/syn/tools/dc/run-syn.tcl"
    },
    {
      "type": "modify",
      "old_id": "413bad6f3b89c845b87ef34fb9f521192be7769a",
      "old_mode": 33188,
      "old_path": "hw/syn/tools/dvsim/common_syn_cfg.hjson",
      "new_id": "fb069b80abe0ea8a3d99db3267b3ceba1c480fc1",
      "new_mode": 33188,
      "new_path": "hw/syn/tools/dvsim/common_syn_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "053b3fc7fe764e295d6ff887a7211f2f678ff074",
      "old_mode": 33188,
      "old_path": "hw/syn/tools/dvsim/dc.hjson",
      "new_id": "908f5a84b650fa19826eaf242b054a69c0562fb9",
      "new_mode": 33188,
      "new_path": "hw/syn/tools/dvsim/dc.hjson"
    },
    {
      "type": "modify",
      "old_id": "532734033735abe58b0871cc29f0d9fd178d43f8",
      "old_mode": 33188,
      "old_path": "hw/syn/tools/dvsim/syn.mk",
      "new_id": "b51e6266f11129e5dda6ee60cd3a9ef3ddf30d8a",
      "new_mode": 33188,
      "new_path": "hw/syn/tools/dvsim/syn.mk"
    },
    {
      "type": "modify",
      "old_id": "ed886874d6a11eaa1873f020dc1359824afc03b3",
      "old_mode": 33188,
      "old_path": "hw/top_earlgrey/dv/chip_sim_cfg.hjson",
      "new_id": "ac0cad761bbf443a1c75a2a55d6dccca1aed0607",
      "new_mode": 33188,
      "new_path": "hw/top_earlgrey/dv/chip_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "c072255208e5d66f6f03e44fd82e1c4f61f77ac9",
      "old_mode": 33188,
      "old_path": "hw/top_earlgrey/ip/xbar_main/dv/autogen/xbar_main_sim_cfg.hjson",
      "new_id": "35b7b851beb568d84ee28d7cb18cb6df2e63a0ea",
      "new_mode": 33188,
      "new_path": "hw/top_earlgrey/ip/xbar_main/dv/autogen/xbar_main_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "d348015dfec857606f0003abce4c2f42c7c0b64c",
      "old_mode": 33188,
      "old_path": "hw/top_earlgrey/ip/xbar_peri/dv/autogen/xbar_peri_sim_cfg.hjson",
      "new_id": "90cc441be575e5ad95dc70f2d6519402f03b8c81",
      "new_mode": 33188,
      "new_path": "hw/top_earlgrey/ip/xbar_peri/dv/autogen/xbar_peri_sim_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "5523b9e0d1c6473f8e9b97f075c74952858cb850",
      "old_mode": 33188,
      "old_path": "hw/top_earlgrey/syn/top_earlgrey_syn_cfg.hjson",
      "new_id": "9ae03bbe2754f9abddf356713abcacee4f916084",
      "new_mode": 33188,
      "new_path": "hw/top_earlgrey/syn/top_earlgrey_syn_cfg.hjson"
    },
    {
      "type": "modify",
      "old_id": "199d5a8f0f3b6554f7ed82d61f9639aaeeefcc17",
      "old_mode": 33188,
      "old_path": "util/dvsim/Deploy.py",
      "new_id": "e43d854721d2be74da3da9709233913fe8b746e5",
      "new_mode": 33188,
      "new_path": "util/dvsim/Deploy.py"
    },
    {
      "type": "modify",
      "old_id": "801e427b2ad0c4678ce19ddc0a59456734cb17c2",
      "old_mode": 33261,
      "old_path": "util/dvsim/dvsim.py",
      "new_id": "99c72477adca11e48e199d6b7a4ec1f50e889d40",
      "new_mode": 33261,
      "new_path": "util/dvsim/dvsim.py"
    },
    {
      "type": "modify",
      "old_id": "9fdd34152f044ff0ff2f1c258c94118743fce401",
      "old_mode": 33188,
      "old_path": "util/tlgen/xbar.sim_cfg.hjson.tpl",
      "new_id": "68566adbd02e31898ec1de2d76d7f6827127a417",
      "new_mode": 33188,
      "new_path": "util/tlgen/xbar.sim_cfg.hjson.tpl"
    }
  ]
}
