iMPACT学习记录

时间:2016-09-10 22:00:28   收藏:0   阅读:838

iMPACT 概述

主要用于器件编程和文件生成,使用赛灵思通信线(MutiPRO Desktop Tool, Parallel Cable IV,或者Platform Cable USB)直接对FPGA、CPLD或PROM进行多种模式的配置;边界扫描模式可进行所有元件配置,从串和SelectMAP模式则仅可配置FPGA,在Desktop配置模式CPLD和PROM可配置,在直接SPI模式可编程select SPI serial flash(STMicro: M25P, M25PE, M45PE 或 Atmel: AT45DB)。

可生成System ACE CF, PROM, SVF, STAPL, 和 XSVF等类型的文件。

其它任务:回读和验证设计配置数据;调试配置问题;执行SVF和XSVF文件。

功能实现相关资源

 技术分享

Key

Function

Key

Function

F1

Help

Ctrl+D

Add Xilinx® Device

Ctrl+N

New

Ctrl+I

Initialize Chain

Ctrl+G

Assign Configuration File

Ctrl+O

Open

Ctrl+H

Open Configuration Archive

ALT+F

File Menu

Ctrl+K

Add Non-Xilinx Device

ALT+E

Edit Menu

Ctrl+S

Save

ALT+V

View Menu

Ctrl+J

Save As

ALT+P

Operations Menu

Ctrl+X

Cut

ALT+T

Options Menu

Ctrl+C

Copy

ALT+O

Output Menu

Ctrl+V

Paste

ALT+G

Debug Menu

Ctrl+A

Select All

ALT+W

Window Menu

Ctrl+U

Unselect All

ALT+H

Help Menu

边界扫描配置(JTAG)

其它配置方法

技术分享

生成PROM文件

 技术分享

Number of Applications

Number of FPGA Devices to Configure

Number of Data Streams and BIT Files

Single Application

Single Device

One data stream with a single BIT file.

 

Daisy chain of devices

One data stream with multiple BIT files.

 

Multiple daisy chains of devices

Multiple data streams with multiple BIT files in each data stream. Each data stream includes configuration data for a different daisy chain of devices.

Multiple Applications (Reprogramming)

Single device

Multiple data streams with a single BIT file in each data stream.

 

Daisy chain of devices

Multiple data streams with multiple BIT files in each data stream. Each data stream programs the group of devices for a different application.

生成和使用配置文件

配置调试

DONE pin did not go low. Please check cable connection. Programming terminated due to error.(PROG/DONE引脚信号没有拉低)

DONE pin did not go high. Programming terminated due to error.(器件模式引脚未设成从串模式/DIN,INIT,CCLK引脚未连接上/噪声影响/硬件未调节好/配置文件有误)

DONE pin did not go high. Programming terminated due to error. Programming failed.(器件模式引脚未设置成SelectMAP模式/有引脚未连接恰当/CS引脚错误的连向了器件/噪声影响/硬件未调节好/配置文件有误)

配置下载线

Name

Platforms

Voltages

Modes

Default Cable Speeds

Parallel Cable IV (Model DLC7)

PC

1.5, 1.8, 2.5, 3.3, 5V

Boundary-Scan Slave Serial SPI Direct Configuration

5 MHz

Platform Cable USB

PC

1.5, 1.8, 2.5, 3.3, 5V

Boundary-Scan Slave Serial SPI Direct Configuration

6 MHz

MultiPRO 

PC

1.5 - 5V

Desktop Configuration Boundary-Scan Slave Serial SelectMAP SPI Direct Configuration

2.5 MHz

并行IV线是高速并行接口配置下载线,支持所有赛灵思器件。平台USB接口线利用USB串口实现配置,支持所有赛灵思器件。MultiPRO桌面工具自动识别和调整IO电压标准,同时进行并行的配置下载实现。

批处理模式

直接进行器件相关操作,GUI不会出现,可在开启iMPACT时指定使用该模式(命令行输入命令-> iMPACT -batch)。

按命令名称和功能都有分类,且有详细的命令格式和功能介绍,这里从略。。。。。。

命令行模式

器件操作不可以直接通过命令行进行,而是命令行调用GUI来实现。但如果-batch命令开启,则所有命令构成批处理,实现直接器件操作。

Switch

Parameters

Notes

-batch

<file>

If the -batch command line switch is used, then all other command line switches are ignored, and iMPACT goes into interactive batch mode (if a file is passed as part of -batch, then it runs the file).

-j or -jedec

jedec file name (.jed extension)

If a fully specified pathname is not provided then the specified file is assumed to be in the current working directory.

-b or -bitstream

bitstream file name (.bit extension)

If a fully specified pathname is not provided then the specified file is assumed to be in the current working directory.

-i or -isc

isc file name (.isc extension)

If a fully specified pathname is not provided then the specified file is assumed to be in the current working directory.

-c or -cdf

cdf file name (.cdf extension)

If a fully specified pathname is not provided then the specified file is assumed to be in the current working directory.

-p or -prom

mcs, exo or hex file name (.exo, .mcs, .hex extensions respectively)

If a fully specified pathname is not provided then the specified file is assumed to be in the current working directory.

-port

PC: auto,lpt1,lpt2,lpt3,com1, com2,com3,usb0,usb1, usb2 UNIX: auto,/dev/ttya,/dev/ttyb /dev/tty00 dev/tty01

auto means automatically detect cable available and connect to it. If the -port switch is not specified, the application does not attempt cable connection at start-up.

-mode

bscan,sserial,smap, cf, mpm, bsfile, dtconfig, pff, prom, file, config, file

Indicates the configuration mode in which to start the application. The default configuration mode is Boundary-Scan (bscan). Indicates the configuration files.

-baud

auto,9600,19200,38400,57600 {-pref <name:value>}

When the -port switch selects a serial port connection (com1,com2,com3,/dev/ttya,/dev/ttyb) this switch indicates the connection speed (baud rate). auto indicates that the speed selection should automatically choose the fastest possible. The default -baud value is auto. Sets the preferences and values of the preferences that are allowable in the Preferences dialog box. 

边界扫描简介

边界扫描也称为IEEE Standard 1149.1标准的通信协议、JTAG。其正常工作需要TAP控制器、指令寄存器和数据寄存器三个主要功能部件。TAP包括4个接口线,分别是TCK、TMS、TDI和TDO,实现数据和指令的发出和回读,具体功能有:

TAP控制器包含的16个状态:

边界扫描常用指令用于实现具体扫描功能:

推荐学习

       文档程序:Xilinx ISE Help/Software Help/iMPACT Help

原文:http://www.cnblogs.com/leyou2016/p/iMPACT.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!