收藏 分销(赏)

FPGA片上资源-FDR-FDRE-FDRS-FDRSE-说明.docx

上传人:仙人****88 文档编号:11798026 上传时间:2025-08-13 格式:DOCX 页数:6 大小:30.48KB 下载积分:10 金币
下载 相关 举报
FPGA片上资源-FDR-FDRE-FDRS-FDRSE-说明.docx_第1页
第1页 / 共6页
FPGA片上资源-FDR-FDRE-FDRS-FDRSE-说明.docx_第2页
第2页 / 共6页


点击查看更多>>
资源描述
FPGA片上资源-FDR/FDRE/FDRS/FDRSE 2010-11-23 17:47 FDR : D Flip-Flop with Synchronous Reset Spartan-II, Spartan-IIE Spartan-3 Virtex, Virtex-E Virtex-II, Virtex-II Pro, Virtex-II Pro X XC9500/XV/XL CoolRunner XPLA3 CoolRunner-II Primitive Primitive Primitive Primitive Macro Macro FDR is a single D-type flip-flop with data (D) and synchronous reset (R) inputs and data output (Q). The synchronous reset (R) input, when High, overrides all other inputs and resets the Q output Low on the Low-to-High clock (C) transition. The data on the D input is loaded into the flip-flop when R is Low during the Low-to-High clock transition. The flip-flop is asynchronously cleared, output Low, when power is applied. Macro FDR is a single D-type flip-flop with data (D) and synchronous reset (R) inputs and data output (Q). The synchronous reset (R) input, when High, overrides all other inputs and resets the Q output Low on the Low-to-High clock (C) transition. The data on the D input is loaded into the flip-flop when R is Low during the Low-to-High clock transition. The flip-flop is asynchronously cleared, output Low, when power is applied. VHDL Inference Code architecture Behavioral of fdr is begin process (C) begin if (C' event and C = '1') then if (R = '1') then Q <= '0'; else Q <= D; end if; end if; end process; end Behavioral; Verilog Inference Code always @ (posedge C) begin     if (R)        Q <= 0;     else        Q <= D; end FDRE : D Flip-Flop with Clock Enable and Synchronous Reset FDRE is a single D-type flip-flop with data (D), clock enable (CE), and synchronous reset (R) inputs and data output (Q). The synchronous reset (R) input, when High, overrides all other inputs and resets the Q output Low on the Low-to-High clock (C) transition. The data on the D input is loaded into the flip-flop when R is Low and CE is High during the Low-to-High clock transition. The flip-flop is asynchronously cleared, output Low, when power is applied. VHDL Inference Code architecture Behavioral of fdre is begin process (C) begin if (C’ event and C = ’1’) then if (R = ’1’) then Q <= ’0’; elsif (CE = ’1’) then Q <= D; end if; end if; end process; end Behavioral; Verilog Inference Code always @ (posedge C) begin     if (R)        Q <= 0;     else if (CE)        Q <= D; end FDRS : D Flip-Flop with Synchronous Reset and Set FDRS is a single D-type flip-flop with data (D), synchronous set (S), and synchronous reset (R) inputs and data output (Q). The synchronous reset (R) input, when High, overrides all other inputs and resets the Q output Low during the Low-to-High clock (C) transition. (Reset has precedence over Set.) When S is High and R is Low, the flip-flop is set, output High, during the Low-to-High clock transition. When R and S are Low, data on the (D) input is loaded into the flip-flop during the Low-to-High clock transition. The flip-flop is asynchronously cleared, output Low, when power is applied. VHDL Inference Code architecture Behavioral of fdrs is begin process (C) begin if (C' event and C = '1') then if (R = '1') then      Q <= '0'; elsif (S = '1') then Q <= '1'; else Q <= D; end if; end if; end process; end Behavioral; Verilog Inference Code always @ (posedge C) begin     if (R)        Q <= 0;     else if (S)        Q <= 1;     else        Q <= D; end FDRSE : D Flip-Flop with Synchronous Reset and Set and Clock Enable FDRSE is a single D-type flip-flop with synchronous reset (R), synchronous set (S), and clock enable (CE) inputs and data output (Q). The reset (R) input, when High, overrides all other inputs and resets the Q output Low during the Low-to-High clock transition. (Reset has precedence over Set.) When the set (S) input is High and R is Low, the flip-flop is set, output High, during the Low-to-High clock (C) transition. Data on the D input is loaded into the flip-flop when R and S are Low and CE is High during the Low-to-High clock transition. The flip-flop is asynchronously cleared, output Low, when power is applied. VHDL Inference Code architecture Behavioral of fdrse is begin process (C) begin if (C’ event and C = ’1’) then if (R = ’1’) then Q <= ’0’; elsif (S = ’1’) then Q <= ’1’; elsif (CE = ’1’) then Q <= D; end if; end if; end process; end Behavioral; Verilog Inference Code always @ (posedge C) begin     if (R)        Q <= 0;     else if (S)        Q <= 1;     else if (CE)        Q <= D; end
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服