CoolRunner-II器件的Keeper(维持)功台旨
发布时间:2008/9/17 0:00:00 访问次数:632
coolrunner-ii的输入/输出模块不仅具有终端调整(keeper和pullup)功能,而且可以支持多种接口标准。这些功能需要通过属性的设置才能被启用,并仅影响指定的输入/输出引脚。通常情况下,coolrunner-ii器件并不启用这些功能。
keeper类似于一个保持器,通过弱的内部上拉/下拉电阻将i/o脚上的数据保持在最后一个数据的状态。需要注意的是,对于高阻或浮动的不能确定的输入/输出引脚,选择keeper功能后会产生额外的漏电流。keeper电路不需要外部电阻,该功能的属性设置如下。
(1)约束文件(ucf)
net <signal name> keeper;
例如:
net data_in keeper;
net clock keeper;
(2)vhdl语言
attribute keeper: string;
attribute keeper of (signal name): signal is "true";
例如:
attribute keeper: string;
attribute keeper of data_in: signal is "true";
attribute keeper of clock: signal is "true";
(3)verilog语言
//synthesis attribute keeper of (signal name);
例如:
//synthesis attribute keeper of dota_in;
//synthesis attribute keeper of clock;
欢迎转载,信息来自维库电子市场网(www.dzsc.com)
coolrunner-ii的输入/输出模块不仅具有终端调整(keeper和pullup)功能,而且可以支持多种接口标准。这些功能需要通过属性的设置才能被启用,并仅影响指定的输入/输出引脚。通常情况下,coolrunner-ii器件并不启用这些功能。
keeper类似于一个保持器,通过弱的内部上拉/下拉电阻将i/o脚上的数据保持在最后一个数据的状态。需要注意的是,对于高阻或浮动的不能确定的输入/输出引脚,选择keeper功能后会产生额外的漏电流。keeper电路不需要外部电阻,该功能的属性设置如下。
(1)约束文件(ucf)
net <signal name> keeper;
例如:
net data_in keeper;
net clock keeper;
(2)vhdl语言
attribute keeper: string;
attribute keeper of (signal name): signal is "true";
例如:
attribute keeper: string;
attribute keeper of data_in: signal is "true";
attribute keeper of clock: signal is "true";
(3)verilog语言
//synthesis attribute keeper of (signal name);
例如:
//synthesis attribute keeper of dota_in;
//synthesis attribute keeper of clock;
欢迎转载,信息来自维库电子市场网(www.dzsc.com)