Convert_vector, Usage, Options – Altera Quartus II Scripting User Manual

Page 480: Description, Example, Convert_vector –350

Advertising
background image

3–350

Chapter 3: Tcl Packages & Commands

simulator

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

convert_vector

Usage

convert_vector -file <file name> -format <VWF | TBL | CVWF | VCD>

Options

-file <file name>: File name of the vector file to be converted

-format <VWF | TBL | CVWF | VCD>: Format of the vector file to be converted to

Description

Convert vector file to another format (VWF, TBL, CVWF or VCD). The original vector file remains
unchanged. New vector file in <format> is generated and located in the same directory as the original
vector file.

Example

Example 1

---------
# Full vector file path is not given, assume it is located at
# current working directory
convert_vector -file tctin4s.vwf -format tbl

# Upon conversion, tctin4s.vwf remains unchanged, tctin4s.tbl
# will be generated at current working directory

Example 2

---------
# Full vector file path is given
convert_vector -file d:/quartus/designs/chiptrip/chiptrip.vwf -format tbl
# chiptrip.tbl will be generated at d:/quartus/designs/chiptrip

Example 3

---------
# Convert VWF into compressed version of CVWF
convert_vector -file d:/quartus/designs/chiptrip/chiptrip.vwf -format \
cvwf
# chiptrip.cvwf will be generated at d:/quartus/designs/chiptrip

Example 4

---------
# Convert CVWF into text version of VWF
convert_vector -file d:/quartus/designs/chiptrip/chiptrip.cvwf -format \
vwf
# chiptrip.vwf will be generated at d:/quartus/designs/chiptrip

Example 5

---------
# Convert CVWF into VCD
convert_vector -file d:/quartus/designs/chiptrip/chiptrip.cvwf -format \
vcd
# chiptrip.vcd will be generated at d:/quartus/designs/chiptrip

Advertising