Skip to content

yuravg/eda-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eda-scripts

Collection of scripts for EDA tools

Contents

Intel Quartus Prime

FileDescription
qp_aspProgramming with Quartus Prime Programmer via ASP
qp_asp_verifyVerifying with Quartus Prime Programmer via ASP
qp_buildBuild Quartus Prime project in the current directory
qp_infoShow information about Quartus Prime project
qp_jtagProgramming with Quartus Prime Programmer via JTAG
qp_jtag_verifyVerifying with Quartus Prime Programmer via JTAG
qp_make_qipMake Quartus Prime QIP-file
qp_nios_stack_rptShow Intel Nios II stack report
qp_openOpen Intel Quartus project
qp_reportShow Quartus Prime compilation report
qp_report_latchesReport about project latches from Quartus report files
qp_report_pinSimplification of the Quartus Prime report file
qp_set_pathSet Intel Quartus path variable
qp_show_prg_filesShow list of Quartus Prime program files
qp_stpOpen Quartus Prime SignalTap GUI
qp_summaryShow Quartus Prime compilation summary
qp_system_consoleOpen Quartus Prime System Console
qp_versionShow current Intel Quartus Prime version

Aliases

aliases_eda:

  • qp_eclipse - NIOSII Eclipce GUI
  • qp_jtag_info - JTAG Server Configuration
  • qp_megawizard - Quartus Prime MegaWizard GUI
  • qp_prgw - Quartus Prime Programmer GUI

Mentor QuestaSim

FileDescription
Makefile.questaMake-file to run Mentor Graphics QuestaSim/ModelSim targets
mg_makeRun Makefile.questa to run Mentor Graphics QuestaSim/ModelSim targets
mg_questasim_templatesScript to prepare templates for simulation using Mentor QuestaSim/ModelSim
rmcRun Mentor Graphics QuestaSim/ModelSim Commands
vsimlogParser ModelSim/QuestaSim simulation log files (with or without UVM)

Aliases

aliases_eda:

  • rvsim - Open QuestaSim
  • vsim_run - Run simulation

Unsorted commands

FileDescription
aliases_edaAliases for ‘EDA-scripts’
del_eda_tempDeleting temporary EDA files from the current directory
wish_cmdShow a command return code using GUI(wish_msg script)
wish_msgMake windows by wish(Tcl/Tk Simple windowing shell)
wopenOpen GTKWave for custom dump-file and configuration gtkwave_cfg.tcl

Aliases

aliases_eda:

  • wish_msg_err - TCL/TK ‘Error’ message
  • wish_msg_ok - TCL/TK ‘Ok’ message

Installation

  • Download eda-scripts: git clone https://github.com/yuravg/eda-scripts or zip-file
  • add path to eda-scripts to your environment (or just copy to some bin directory)
  • add alias for the script that set path to Quartus Prime
  • load aliases file (aliases_eda) with your shell

Installation example for bash:

Add to ~/.bashrc

# Add path to scripts
PATH2EDA_SCRIPTS="$HOME/projects/eda-scripts"
if [ -d "$PATH2EDA_SCRIPTS" ]; then
    export PATH="$PATH2EDA_SCRIPTS/bin:$PATH"
    # add alias for the script that set path to Quartus Prime
    # (to export variables to the environment)
    alias qp_set_path=". $PATH2EDA_SCRIPTS/bin/qp_set_path"
fi

# load alias file
if [ -f "$PATH2EDA_SCRIPTS"/aliases_eda ]; then
    . "$PATH2EDA_SCRIPTS"/aliases_eda
fi

Commands

Go to commands page for basic usage and examples.