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

📄 m3s053ct.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                                      //// Rotate/Shift Input Control// Copyright Mentor Graphics Corporation and Licensors 1998.// V1.000// m3s053ct// M320C50 Control signals for input mux to CALU rotate/shift function.// These control signals are put in a separate block to prevent the// synthesiser from mixing them with the surrounding logic.// ALUCntrlBits[3:0] are ALUCntrl[10:7]// SRCntrlBits[3:0] are SRCntrl[6:4,0]// RSSrc[2:0] selects the input source as follows://    0: ALU_Op//    1: RightShiftOp//    2: ACCBmodule m3s053ct (ALUCntrlBits, SRCntrlBits, ACC_MSB, CarryOut,//*******************************************************************       ////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                                      //  ALUOp_MSB, ALU_OV, RSSrc);    input  [3:0] ALUCntrlBits, SRCntrlBits;    input        ACC_MSB, CarryOut, ALUOp_MSB, ALU_OV;    output [2:0] RSSrc;    reg [2:0] RSSrc;    reg       CmprACCs;always @(ALUCntrlBits or ALUOp_MSB or ALU_OV)    CmprACCs = ((ALU_OV ~^ ALUOp_MSB) & ALUCntrlBits[2])             | (~(ALU_OV ~^ ALUOp_MSB) & ALUCntrlBits[3]);always @(ALUCntrlBits or ACC_MSB or CarryOut or SRCntrlBits or CmprACCs)begin    RSSrc[0] = ~((ALUCntrlBits[0] & ~ACC_MSB) | (ALUCntrlBits[1] & ~CarryOut)            | ALUCntrlBits[2] | ALUCntrlBits[3]            | SRCntrlBits[0] | SRCntrlBits[1] | SRCntrlBits[2] | SRCntrlBits[3]);    RSSrc[1] = (ALUCntrlBits[0] & ~ACC_MSB) | (ALUCntrlBits[1] & ~CarryOut)            | ((ALUCntrlBits[2] | ALUCntrlBits[3]) & CmprACCs)            | SRCntrlBits[0] | SRCntrlBits[1] | SRCntrlBits[2] | SRCntrlBits[3];    RSSrc[2] = ~CmprACCs & (ALUCntrlBits[2] | ALUCntrlBits[3]);endendmodule

⌨️ 快捷键说明

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