现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2015年
3期
160-162
,共3页
Verilog%带符号数%补码%算术运算
Verilog%帶符號數%補碼%算術運算
Verilog%대부호수%보마%산술운산
Verilog%number with symbol%twos complement%arithmetic operation
介绍了Verilog带符号数的不同运算。因为Reg和Wire数据默认情况下是无符号的,而在数据处理的情况下, Verilog既要对带符号数据进行各种运算,也要对无符号数和带符号数进行运算,所以简单使用Verilog提供的运算符是不够的。因此研究不同类型数据运算的通用方法是必要的。
介紹瞭Verilog帶符號數的不同運算。因為Reg和Wire數據默認情況下是無符號的,而在數據處理的情況下, Verilog既要對帶符號數據進行各種運算,也要對無符號數和帶符號數進行運算,所以簡單使用Verilog提供的運算符是不夠的。因此研究不同類型數據運算的通用方法是必要的。
개소료Verilog대부호수적불동운산。인위Reg화Wire수거묵인정황하시무부호적,이재수거처리적정황하, Verilog기요대대부호수거진행각충운산,야요대무부호수화대부호수진행운산,소이간단사용Verilog제공적운산부시불구적。인차연구불동류형수거운산적통용방법시필요적。
Different operations of data with symbols by Verilog are introduced. Reg and Wire data in the case of default is unsigned,but in the case of data processing,a variety of operations of data with symbols are performed by Verilog,and the un?signed and signed with numbers need to be processed. However,it is not enough to use the operation symbols provided by Verilog. It is necessary to research the general method for various types of data operation.