SYMBOL INDEX (142 symbols across 19 files) FILE: src/cmd/cmd.rs type Cmd (line 12) | pub enum Cmd { type Upgrade (line 98) | pub struct Upgrade {} type Include (line 101) | pub struct Include { type Update (line 113) | pub struct Update { type Remove (line 121) | pub struct Remove { type Dotf (line 127) | pub struct Dotf { type Docs (line 133) | pub struct Docs { type Install (line 143) | pub struct Install { type Sim (line 156) | pub struct Sim { type List (line 165) | pub struct List {} type Synth (line 168) | pub struct Synth { type Load (line 185) | pub struct Load { type Run (line 195) | pub struct Run { type Config (line 203) | pub struct Config { FILE: src/cmd/config.rs method execute (line 6) | async fn execute(&self) -> Result<()> { FILE: src/cmd/docs.rs method execute (line 13) | async fn execute(&self) -> Result<()> { function fetch_module_content (line 60) | async fn fetch_module_content(url: &str) -> Result { function format_text (line 81) | fn format_text(text: &str) -> String { function generate_docs (line 88) | async fn generate_docs(module_path: &str, content: &str, full_module_pat... function generate_docs_offline (line 130) | async fn generate_docs_offline(module_path: &str, content: &str, full_mo... FILE: src/cmd/dotf.rs method execute (line 9) | async fn execute(&self) -> Result<()> { function append_modules_to_filelist (line 24) | pub fn append_modules_to_filelist(top_module_path: &str, sub: bool) -> R... function append_module (line 73) | fn append_module( function find_module_instantiations (line 201) | fn find_module_instantiations( FILE: src/cmd/include.rs method execute (line 20) | async fn execute(&self) -> Result<()> { function get_head_commit_hash (line 38) | pub fn get_head_commit_hash(url: &str) -> Result { function include_entire_repo (line 65) | fn include_entire_repo(url: &str, tmp_path: &PathBuf, riscv: bool, commi... function include_single_module (line 83) | fn include_single_module(url: &str, riscv: bool, commit_hash: Option<&st... function get_files (line 95) | fn get_files(directory: &str) -> Vec { function get_relative_paths (line 110) | fn get_relative_paths(files: &[String], tmp_path: &PathBuf) -> Vec Result> { function process_selected_modules (line 157) | fn process_selected_modules(url: &str, tmp_path: &PathBuf, selected_item... function print_success_message (line 177) | fn print_success_message(url: &str, selected_items: &HashSet) { function name_from_url (line 189) | fn name_from_url(url: &str) -> &str { function get_component_path_from_github_url (line 193) | fn get_component_path_from_github_url(url: &str) -> Option { function get_github_repo_url (line 202) | fn get_github_repo_url(url: &str) -> Option { function is_full_filepath (line 211) | fn is_full_filepath(path: &str) -> bool { function filepath_to_dir_entry (line 215) | fn filepath_to_dir_entry(filepath: PathBuf) -> Result { function generate_top_v_content (line 225) | fn generate_top_v_content(module_path: &str) -> Result { function generate_xdc_content (line 289) | fn generate_xdc_content(module_path: &str) -> Result { function include_module_from_url (line 342) | pub fn include_module_from_url(module_path: &str, url: &str, riscv: bool... function process_module (line 366) | pub fn process_module(package_name: &str, module: &str, destination: Str... function process_non_full_filepath (line 403) | fn process_non_full_filepath(module_name: &str, tmp_path: &PathBuf, targ... function find_matching_entries (line 419) | fn find_matching_entries(module_name: &str, tmp_path: &PathBuf) -> Vec, target_path:... function process_file (line 452) | fn process_file(entry: &DirEntry, destination: &str, module_path: &str, ... function download_and_process_submodules (line 484) | fn download_and_process_submodules(package_name: &str, module_path: &str... function update_lockfile (line 570) | fn update_lockfile(full_path: &PathBuf, url: &str, contents: &str, visit... function update_submodules (line 619) | fn update_submodules(lockfile: &mut String, module_entry: &str, submodul... function generate_headers (line 627) | pub fn generate_headers(root_node: Node, contents: &str) -> Result Result> { function include_repo_from_url (line 717) | pub fn include_repo_from_url(url: &str, location: &str, commit_hash: Opt... function clone_repo (line 728) | pub fn clone_repo(url: &str, repo_path: &Path, commit_hash: Option<&str>... FILE: src/cmd/install.rs method execute (line 11) | async fn execute(&self) -> Result<()> { function has_sudo_access (line 58) | fn has_sudo_access() -> bool { function install_verilator (line 67) | fn install_verilator() -> Result<()> { function install_verilator_from_source (line 141) | fn install_verilator_from_source() -> Result<()> { function install_icarus_verilog (line 188) | fn install_icarus_verilog() -> Result<()> { function install_chipyard (line 308) | fn install_chipyard() -> Result<()> { function install_edalize (line 340) | fn install_edalize() -> Result<()> { function check_command (line 387) | fn check_command(cmd: &str) -> bool { function install_openroad (line 394) | fn install_openroad() -> Result<()> { function install_yosys (line 452) | fn install_yosys() -> Result<()> { function install_riscv (line 512) | fn install_riscv() -> Result<()> { function install_nextpnr (line 559) | fn install_nextpnr() -> Result<()> { function install_xray (line 578) | fn install_xray() -> Result<()> { function is_arch_distro (line 597) | fn is_arch_distro() -> bool { FILE: src/cmd/list.rs constant STD_LIB_URL (line 7) | const STD_LIB_URL: &str = "https://github.com/getinstachip/openchips"; method execute (line 10) | async fn execute(&self) -> Result<()> { function list_verilog_files (line 31) | fn list_verilog_files() -> Result> { FILE: src/cmd/load.rs method execute (line 8) | async fn execute(&self) -> Result<()> { function load_xilinx (line 20) | fn load_xilinx(edif_path: &Path, constraints_path: &Path) -> Result<()> { FILE: src/cmd/mod.rs type Execute (line 22) | pub trait Execute { method execute (line 23) | async fn execute(&self) -> Result<()>; method execute (line 28) | async fn execute(&self) -> Result<()> { FILE: src/cmd/remove.rs method execute (line 11) | async fn execute(&self) -> Result<()> { function remove_module (line 17) | fn remove_module(module_path: &str) -> Result<()> { FILE: src/cmd/run.rs method execute (line 6) | async fn execute(&self) -> Result<()> { FILE: src/cmd/sim.rs method execute (line 14) | async fn execute(&self) -> Result<()> { function testbench_exists (line 35) | fn testbench_exists(verilog_files: &[String]) -> bool { function generate_and_add_testbench (line 39) | fn generate_and_add_testbench(verilog_files: &mut Vec) -> Result... function compile_verilog_from_folder (line 58) | pub fn compile_verilog_from_folder(folder: &str) -> Result { function collect_verilog_files (line 80) | fn collect_verilog_files(folder: &str) -> Result> { function run_simulation_with_waveform (line 93) | fn run_simulation_with_waveform(output_path: &Path) -> Result<()> { function generate_testbench (line 133) | pub fn generate_testbench(module_path: &str, is_systemverilog: bool) -> ... function extract_module_info (line 155) | fn extract_module_info(module_path: &str) -> Result<(String, Vec<(String... function generate_testbench_header (line 218) | fn generate_testbench_header(module_name: &str) -> String { function declare_parameters (line 222) | fn declare_parameters(parameters: &[(String, String)]) -> String { function declare_wires_for_ports (line 236) | fn declare_wires_for_ports(ports: &[(String, Option, String)], i... function instantiate_module (line 250) | fn instantiate_module(module_name: &str, ports: &[(String, Option, String)]) -> String { function generate_initial_block (line 276) | fn generate_initial_block(ports: &[(String, Option, String)], is... function generate_check_outputs_task (line 297) | fn generate_check_outputs_task(ports: &[(String, Option, String)... function remove_comments_from_file (line 318) | fn remove_comments_from_file(file_path: &str) -> Result<()> { function compile_verilog (line 342) | pub fn compile_verilog(verilog_files: &Vec) -> Result { function generate_random_output_name (line 362) | fn generate_random_output_name() -> String { function run_iverilog_command (line 368) | fn run_iverilog_command(output_name: &str, verilog_files: &[String]) -> ... function run_simulation (line 378) | pub fn run_simulation(output_path: &PathBuf) -> Result<()> { FILE: src/cmd/synth.rs method execute (line 10) | async fn execute(&self) -> Result<()> { function synthesize_design (line 21) | fn synthesize_design( function extract_path_info (line 57) | fn extract_path_info(top_module_path: &PathBuf) -> (String, String, Stri... function generate_yosys_script_content (line 65) | fn generate_yosys_script_content(input_file: &str, top_module: &str, out... function generate_xilinx_script_content (line 86) | fn generate_xilinx_script_content(top_module_path_str: &str, riscv: bool... function write_script_to_file (line 134) | fn write_script_to_file(script_file: &PathBuf, script_content: &str) -> ... function run_yosys_with_script_content (line 140) | fn run_yosys_with_script_content(script_content: &str) -> Result<()> { FILE: src/cmd/update.rs method execute (line 10) | async fn execute(&self) -> Result<()> { function update_module (line 17) | fn update_module(module_path: &str, commit: Option<&str>) -> Result<()> { function display_diff (line 52) | fn display_diff(old_contents: &str, new_contents: &str) { FILE: src/cmd/upgrade.rs method execute (line 8) | async fn execute(&self) -> Result<()> { function upgrade_vpm (line 21) | fn upgrade_vpm() -> Result<()> { function get_latest_version (line 44) | fn get_latest_version() -> Result { FILE: src/config_man.rs constant POSTHOG_API_KEY (line 17) | const POSTHOG_API_KEY: Option<&str> = option_env!("POSTHOG_API_KEY"); constant DOCS_KEY (line 18) | const DOCS_KEY: Option<&str> = option_env!("DOCS_KEY"); function send_event (line 20) | pub async fn send_event(command: String) -> Result<()> { function get_config_path (line 49) | pub fn get_config_path() -> Option { function create_config (line 58) | pub fn create_config() -> Result<()> { function create_uuid (line 93) | fn create_uuid() -> Result { function get_uuid (line 118) | fn get_uuid() -> Result { function set_analytics (line 128) | pub fn set_analytics(value: bool) -> Result<()> { function get_analytics (line 140) | fn get_analytics() -> Result { function set_version (line 150) | pub fn set_version(version: &str) -> Result<()> { function decrypt_docs_count (line 162) | pub fn decrypt_docs_count() -> Result { function encrypt_docs_count (line 207) | pub fn encrypt_docs_count(docs_count: u8) -> Result<()> { FILE: src/error.rs type SilentExit (line 6) | pub struct SilentExit { method fmt (line 11) | fn fmt(&self, _: &mut Formatter<'_>) -> fmt::Result { FILE: src/main.rs function main (line 18) | pub async fn main() -> ExitCode { FILE: src/toml.rs type Package (line 11) | struct Package { type VpmToml (line 20) | struct VpmToml { method from (line 37) | pub fn from(filepath: &str) -> Self { method get_dependencies (line 64) | pub fn get_dependencies(&self) -> Option<&Table> { method add_dependency (line 68) | pub fn add_dependency(&mut self, git: &str) { method add_top_module (line 72) | pub fn add_top_module(&mut self, repo_link: &str, module_name: &str, c... method remove_dependency (line 85) | pub fn remove_dependency(&mut self, git: &str) { method remove_top_module (line 91) | pub fn remove_top_module(&mut self, repo_link: &str, module_name: &str) { method write_to_file (line 111) | pub fn write_to_file(&self, filepath: &str) -> Result<()> { method get_repo_links (line 134) | pub fn get_repo_links(&self, module_name: &str) -> HashSet { method default (line 25) | fn default() -> Self { function add_dependency (line 149) | pub fn add_dependency(git: &str) -> Result<()> { function add_top_module (line 158) | pub fn add_top_module(repo_link: &str, module_path: &str, commit: &str) ... function remove_dependency (line 165) | fn remove_dependency(git: &str) -> Result<()> { function remove_top_module (line 172) | pub fn remove_top_module(repo_link: &str, module_name: &str) -> Result<(... function get_repo_links (line 186) | pub fn get_repo_links(module_name: &str) -> HashSet {