====== Automatic place and route with Cadence Encounter ====== [ __[[vlsi:home|Home]]__ ] [ __[[vlsi:workbook:digital#contents|Back to index]]__ ] == Contents == * Introduction * Tools overview * Reference documentation * ... * ... **Keywords:** Sample scripts!!! [[http://www.iis.ee.ethz.ch/~sha3/blake/encounter/scripts/]] :!: //**Note**// \\ Significant changes from **Encounter 10.x** to **Encounter 11.x** releases in the design import syntax!!! [[http://www.cadence.com/Community/blogs/di/archive/2012/03/19/getting-started-with-edi-11-be-aware-of-these-os-and-design-import-changes-so-your-migration-goes-smoothly.aspx]] [[http://www.cadence.com/Community/blogs/di/archive/2012/07/27/10-tips.aspx]] Fantastic complete tutorial!!!! \\ [[http://www2.cic.org.tw/~nschang/soc/]] \\ [[http://www2.cic.org.tw/~nschang/soc/edi_headout1407_r.pdf]] (300 slides!) ====== Introduction ====== **analog-on-top** (top level integration with Cadence IC, i.e. //Virtuoso//) vs **digital-on-top** (top level integration with Cadence //Encounter//) approaches RTL-to-GDSII design flow Encounter Digital Implementation System (EDI System) Requirements: UNIX and TCL/Tk scripting. ====== Web tutorials ====== [[http://www.seas.gwu.edu/~vlsi/ece128/SPRING/labs_tutorials/lab7_cadence_encounter_place-route.pdf]] [[http://ens.ewi.tudelft.nl/Education/courses/et4351/tutorial_asic_v12_1.pdf]] [[http://www.egrise.com/images/SocEncounter.pdf]] [[http://www.eit.lth.se/fileadmin/eit/courses/etin01/manual_etc/SEtraining2.pdf]] [[http://ens.ewi.tudelft.nl/Education/courses/et4351/SocEncounter-v2.pdf]] [[http://www.utdallas.edu/~mxl095420/EE6306/Final project/Encounter.pdf]] [[http://www.ee.ncu.edu.tw/~jfli/vlsidi/lecture/]] [[http://www.ece.virginia.edu/~mrs8n/cadence/Encounter_Tutorial/enc_tutorial.html]] [[http://www.ee.ncu.edu.tw/~jfli/vlsidi/lecture/soc.pdf‎]] \\ [[http://www.ee.ncu.edu.tw/~jfli/vlsidi/lecture/Lab3.pdf‎]] [[http://www.ee.ncu.edu.tw/~jfli/vlsidi/lecture/SOC_Encounter.pdf]] [[https://www.mics.ece.vt.edu/ICDesign/Tutorials/Cadence/bckend_pg1.html]] [[http://www.iis.ee.ethz.ch/~vlsi2/t1/aufgabenstellung/training1.pdf]] TouTube videos: [[http://www.youtube.com/watch?v=Z5WKIDbthdg]] ====== Reference documentation ====== * //Encounter Digital Implementation System User Guide// ''/doc/soceUG/soceUG.pdf'' * //Encounter Digital Implementation System Menu Reference// ''/doc/encounter/encounter.pdf'' * //Encounter Digital Implementation System Text Command Reference// ''/doc/fetxtcmdref/fetxtcmdref.pdf'' * //Encounter Digital Implementation System Foundation Flows Guide// ''/doc/flowSetup/flowSetup.pdf'' ====== EDI System 11.x complete tutorial (from support.cadence.com) ====== If you have a Cadence Online Support account you can access a **complete tutorial** for Cadence EDI 11.x at the url [[http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:DocumentViewer;src=wp;q=Training/Digital_IC_Design/EDI11_Tutorial.html]] All the necessary files (timing libraries, LEF files, captable files etc.) have been included in the ''tutorialDatabaseEDI11.tgz'' compressed archive. See also __[[vlsi:private:downloads|here]]__. ====== Getting started with Cadence Encounter ====== source /usr/local/config/cds_config/CdsEDI_912.rc To start Cadence Encounter type encounter [options] at the command prompt. NO & !!!! encounter> To quit the session use encounter> exit or go to **File => Exit** in the Cadence Encounter GUI. Help: encounter -help Version: encounter -version View the log file: encounter [-log /path/to/fileName] **Tools => Log Viewer...** or encounter> viewLog [-file /path/to/fileName] This command opens the log file in a separate window. It opens the most recently created log file unless you specify a different log file with the -file parameter. ====== Help and documentation ====== You can run the Cadence Help which comes with the EDI installation, /usr/cadence/EDI_9.12/tools/bin/cdnshelp & or go to **Help** encounter> help Example: encounter> help viewLog Usage: viewLog [-help] [-file ] -help # Prints out the command usage -file # Data path group name (string, optional) To see the complete set of information for an Encounter command, type the following command in the software console: encounter> man Example encounter> man viewLog ====== Requirements ====== To run Cadence Encounter you must first have **physical libraries** (cells and macros) defined in some **technology file**. A technology file provides the software with design rules for placement and routing, and interconnect resistance and capacitance data for generating RC values and wireload models for the design. The technology file also contains process information for the metal interconnect layers, including metal thickness, metal resistance, and line-to-line capacitance values of metal layers, for determining coupling capacitance. Requirements: * physical libraried definition file (e.g. ''.lef'') * I/O assignment file * Timing libraries To import LEF files in Encounter go to **File => Import Design** ====== Advanced topics ====== * technology file * LEF/DEF syntax references [[vlsi:workbook:digital:files|Review of files]] ====== Encounter Foundation Flow (FF) ====== Generate Foundation Flow template: encounter> writeFlowTemplate [-directory /path/to/template/directory] or fron the Encounter GUI go through **Flows => Generate Foundation Flow Template => Save** \\ The above command makes a local copy of the ''/share/FoundationFlows/'' directory. Documentation: //EDI System Foundation Flow User Guide// (''flowSetup.pdf'') ''/doc/flowSetup/flowSetup.pdf'' References: [[http://www.cadence.com/community/blogs/di/archive/2009/01/29/demo-and-interview-the-encounter-foundation-flow.aspx]] [[http://slideplayer.us/slide/257897/]] [[http://www.youtube.com/watch?v=j4TcGVGEmOU]] ====== Design import ====== New 11.x release design import statements encounter> set init_ [TAB] init_abstract_view init_io_file init_oa_search_lib init_assign_buffer init_layout_view init_oa_special_rule init_cpf_file init_lef_file init_portable_path_vars init_design_netlisttype init_mmmc_file init_pwr_net init_design_settop init_oa_default_rule init_top_cell init_design_uniquify init_oa_design_cell init_verilog init_gnd_net init_oa_design_lib init_ignore_pgpin_polarity_check init_oa_design_view init_import_mode init_oa_ref_lib encounter> init_design encounter> help init_design encounter> man init_design ====== MMMC view definition file ====== MMMC = Multi-Mode Multi-Corners **GUI => Import Design...** and left click to //Create Analysis Configuration File// ====== Physical verification (Calibre) ====== You need to load Calibre interface in to EDI System [[http://www.mentor.com/products/ic_nanometer_design/calibre-integration/cadence]] The procedure for installing this interface is contained in the //Cadence Encounter// section of //Appendix A: Interfacing with Layout and Schematic Viewers// of the //Calibre Interactive User’s Manual// (''calbr_inter_user.pdf'') All necessary information can be found in ''/shared/pkgs/icv/tools/queryenc/'' * ''calencREADME'' README file * ''cal_enc.tcl'' main script * ''encounter.tcl'' setenv CALIBRE_HOME /path/to/calibre/installation/directory encounter> source /path/to/cal_enc.tcl ''$CALIBRE_HOME/shared/pkgs/icv/tools/queryenc/'' ====== ====== \\ ---- Last update: ~~NOTOC~~