文件名称:divider
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.96kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
function [a_width-1 : 0] DWF_div_uns
// Function to compute the unsigned quotient
// synopsys map_to_operator DIV_UNS_OP
// synopsys return_port_name QUOTIENT
input [a_width-1 : 0] A
input [b_width-1 : 0] B
reg [a_width-1 : 0] QUOTIENT_v
reg A_x, B_x
`define max_uns {a_width{1 b1}}
begin
// synopsys translate_off
A_x = ^A
B_x = ^B
if ((A_x === 1 bx) || (B_x === 1 bx)) begin
QUOTIENT_v = {a_width{1 bx}}
end
else begin
-function [a_width-1 : 0] DWF_div_uns
// Function to compute the unsigned quotient
// synopsys map_to_operator DIV_UNS_OP
// synopsys return_port_name QUOTIENT
input [a_width-1 : 0] A
input [b_width-1 : 0] B
reg [a_width-1 : 0] QUOTIENT_v
reg A_x, B_x
`define max_uns {a_width{1 b1}}
begin
// synopsys translate_off
A_x = ^A
B_x = ^B
if ((A_x === 1 bx) || (B_x === 1 bx)) begin
QUOTIENT_v = {a_width{1 bx}}
end
else begin
// Function to compute the unsigned quotient
// synopsys map_to_operator DIV_UNS_OP
// synopsys return_port_name QUOTIENT
input [a_width-1 : 0] A
input [b_width-1 : 0] B
reg [a_width-1 : 0] QUOTIENT_v
reg A_x, B_x
`define max_uns {a_width{1 b1}}
begin
// synopsys translate_off
A_x = ^A
B_x = ^B
if ((A_x === 1 bx) || (B_x === 1 bx)) begin
QUOTIENT_v = {a_width{1 bx}}
end
else begin
-function [a_width-1 : 0] DWF_div_uns
// Function to compute the unsigned quotient
// synopsys map_to_operator DIV_UNS_OP
// synopsys return_port_name QUOTIENT
input [a_width-1 : 0] A
input [b_width-1 : 0] B
reg [a_width-1 : 0] QUOTIENT_v
reg A_x, B_x
`define max_uns {a_width{1 b1}}
begin
// synopsys translate_off
A_x = ^A
B_x = ^B
if ((A_x === 1 bx) || (B_x === 1 bx)) begin
QUOTIENT_v = {a_width{1 bx}}
end
else begin
相关搜索: __libc_tsd_LOCALE_data
(系统自动生成,下载前可以参看下载内容)
下载文件列表
divider.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.