⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m3s080ct.v

📁 这是16位定点dsp源代码。已仿真和综合过了
💻 V
字号:
//*******************************************************************       ////IMPORTANT NOTICE                                                          ////================                                                          ////Copyright Mentor Graphics Corporation 1996 - 1998.  All rights reserved.  ////This file and associated deliverables are the trade secrets,              ////confidential information and copyrighted works of Mentor Graphics         ////Corporation and its licensors and are subject to your license agreement   ////with Mentor Graphics Corporation.                                         ////                                                                          ////These deliverables may be used for the purpose of making silicon for one  ////IC design only.  No further use of these deliverables for the purpose of  ////making silicon from an IC design is permitted without the payment of an   ////additional license fee.  See your license agreement with Mentor Graphics  ////for further details.  If you have further questions please contact        ////Mentor Graphics Customer Support.                                         ////                                                                          ////This Mentor Graphics core (m320c50eng v1999.010) was extracted on         ////workstation hostid 800059c1 Inventra                                      //// Port Address Incrementer// Copyright Mentor Graphics Corporation and Licensors 1998. // V1.000// m3s080ct.v// M320C50 16-bit look-ahead carry incrementer// for port address incrementer.module m3s080ct (DataIn, DataOut);//*******************************************************************       ////IMPORTANT NOTICE                                                          ////================                                                          ////Copyright Mentor Graphics Corporation 1996 - 1998.  All rights reserved.  ////This file and associated deliverables are the trade secrets,              ////confidential information and copyrighted works of Mentor Graphics         ////Corporation and its licensors and are subject to your license agreement   ////with Mentor Graphics Corporation.                                         ////                                                                          ////These deliverables may be used for the purpose of making silicon for one  ////IC design only.  No further use of these deliverables for the purpose of  ////making silicon from an IC design is permitted without the payment of an   ////additional license fee.  See your license agreement with Mentor Graphics  ////for further details.  If you have further questions please contact        ////Mentor Graphics Customer Support.                                         ////                                                                          ////This Mentor Graphics core (m320c50eng v1999.010) was extracted on         ////workstation hostid 800059c1 Inventra                                      //    input  [15:0] DataIn;    output [15:0] DataOut;    reg  NPropagate4, NPropagate8, NPropagate12;    reg  Carry4, Carry8, Carry12;    wire [15:0] DataOut;// First 4-bit incrementer stageassign DataOut[0] = ~DataIn[0];assign DataOut[1] = DataIn[1] ^ DataIn[0];assign DataOut[2] = DataIn[2] ^ (DataIn[1] & DataIn[0]); assign DataOut[3] = DataIn[3] ^ (DataIn[2] & DataIn[1] & DataIn[0]); // Other 4-bit incrementersm3s081ct U1 (DataIn[7:4], Carry4, DataOut[7:4]);m3s081ct U2 (DataIn[11:8], Carry8, DataOut[11:8]);m3s081ct U3 (DataIn[15:12], Carry12, DataOut[15:12]);// Generate not carry propagate signals for the lower 3 4-bit slicesalways @(DataIn)begin    NPropagate4 = ~(DataIn[0] & DataIn[1] & DataIn[2] & DataIn[3]);    NPropagate8 = ~(DataIn[4] & DataIn[5] & DataIn[6] & DataIn[7]);    NPropagate12 = ~(DataIn[8] & DataIn[9] & DataIn[10] & DataIn[11]);end// Look-ahead carry generationalways @(NPropagate4 or NPropagate8 or NPropagate12)begin    Carry4 = ~NPropagate4;    Carry8 = ~(NPropagate8 | NPropagate4);    Carry12 = ~(NPropagate12 | NPropagate8 | NPropagate4);endendmodule

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -