{"id":50396864,"url":"https://github.com/firesim/vitis-shell","last_synced_at":"2026-05-30T21:30:22.993Z","repository":{"id":38183339,"uuid":"424973919","full_name":"firesim/vitis-shell","owner":"firesim","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-09T23:55:57.000Z","size":2608,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2023-03-02T03:46:26.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firesim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-05T14:19:52.000Z","updated_at":"2022-02-07T19:48:52.000Z","dependencies_parsed_at":"2022-08-31T08:21:07.304Z","dependency_job_id":null,"html_url":"https://github.com/firesim/vitis-shell","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/firesim/vitis-shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firesim%2Fvitis-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firesim%2Fvitis-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firesim%2Fvitis-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firesim%2Fvitis-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firesim","download_url":"https://codeload.github.com/firesim/vitis-shell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firesim%2Fvitis-shell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33711018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-30T21:30:21.878Z","updated_at":"2026-05-30T21:30:22.988Z","avatar_url":"https://github.com/firesim.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nRunning make replace-rtl PLATFORM=vitis from firesim will copy cl_firesim into a secondary directory\nand populate it with the necessary sources. We'll call this subdirectory, WORKDIR.\n\n# Bitstream Builds\n\n`make bitstream` to build an XCLBIN that can be deployed to a U250. Bitstream builds run under the $WORDIR/bitstream\n\n# FPGA-level Metasimulation\n\n`make sim` to build a XCLBIN that can be deployed as an FPGA\\_level metasimulator (hardware emulation in Vitis parlance). Most generated\nfiles are found under $WORKDIR/simulation.\n\n`make run-sim` to run metasimulation using rv64ui-p-simple. The simulator is launched under $WORKDIR/simulation/*.run/\n\n# Debugging Failing Vitis Builds\n\nThe vitis compiler (v++) can be fairly opaque due to multiple layers of TCL\nwrapping which abstract the underlying calls to Vivado.\n\nA typical v++ linking log may appear as follows:\n[12:50:32] Run vpl: Step create_bd: Started\n[12:51:15] Run vpl: Step create_bd: Completed\n[12:51:15] Run vpl: Step update_bd: Started\n[12:51:16] Run vpl: Step update_bd: Completed\n[12:51:16] Run vpl: Step generate_target: Started\n[12:54:58] Run vpl: Step generate_target: Completed\n[12:54:58] Run vpl: Step config_hw_runs: Started\n[12:56:01] Run vpl: Step config_hw_runs: Completed\n[12:56:01] Run vpl: Step synth: Started\n[12:56:32] Block-level synthesis in progress, 0 of 250 jobs complete, 1 job running.\n...\n[13:08:05] Top-level synthesis in progress.\n...\n[13:09:49] Run vpl: Step synth: Completed\n[13:09:49] Run vpl: Step impl: Started\n\nXilinx gives an overview of the generated directory structure\n[here](https://www.xilinx.com/html_docs/xilinx2021_1/vitis_doc/output_dir.html),\nbut does not describe the files themselves. Intermediate outputs are stored at\nlocation specified by v++'s --temp_dir command-line argument. We'll call this `$TEMP`.\n\n## Linking\nMost of the interesting work for Linking is done under $TEMP/link/vivado/vpl,\nwith a generated Vivado project found under `prj/`.  If you're familiar with a\nproject-based Vivado flow, you'll know roughly where to look for things.\nHere's an overview of this subdirectory:\n\nopen\\_prj.tcl -- Script to reopen the vivado project after an attempted lin\nprj/ -- root of generated vivado project\n   prj.xpr -- the project itself\n   prj.srcs/\n   prj.runs/ -- outputs from various vivado steps. See runme.log in each subdir output.\n        \u003cmany_block_level_synth_runs\u003e --  the outer project uses at ton of IP blocks\n        my_rm_synth_1/ -- Final block-level synthesis run?\n        ulp_firesim_1_0_synth_1 -- Synthesis of FireSim verilog contained here.\n        impl_\u003cN\u003e/ -- Output from link_design, opt_design, implementation contained here\n\n\n\nThis project can be re-opened interactively using\ncd $BUILD/vivado/vpl/\nvivado -source openprj.tcl\n\n# For Abe\n\n- I put one built bitstream under /scratch/biancolin/xclbins. You should be able to rebuild the default driver\n  by typing `make vitis` under sim/.\n- Scripts to reflash FPGAs second stage shells and reset can be found under scripts/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiresim%2Fvitis-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiresim%2Fvitis-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiresim%2Fvitis-shell/lists"}