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

📄 m3s077ct.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                                      //// ALU Output Rotate/Shift and Scale// Copyright Mentor Graphics Corporation and Licensors 1998. // V1.002// m3s077ct.v// M320c50 ALU Output Rotate/Shift and Scale// RSCntrl://    0 : Straight through//    1 : Shift right//    2 : Shift left//    3 : Overflow//// RSSrc selects input source (0=ALU_Op, 1=RightShiftOp)module m3s077ct (ALU_Op, RightShiftOp, ACCB, ShiftRotateOp, RSCntrl, RSSrc, TopBit, BotBit);//*******************************************************************       ////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 [31:0] ALU_Op, RightShiftOp, ACCB;  input  [1:0] RSCntrl;  input  [2:0] RSSrc;  input        TopBit, BotBit;    output [31:0] ShiftRotateOp;  reg [31:0] ShiftRotateIp, ShiftRotateOp;always @(ALU_Op or RightShiftOp or ACCB or RSSrc)    ShiftRotateIp = (ALU_Op & {32{RSSrc[0]}}                   | RightShiftOp & {32{RSSrc[1]}}                   | ACCB & {32{RSSrc[2]}});always @(ShiftRotateIp or RSCntrl or TopBit or BotBit)case (RSCntrl)    0: ShiftRotateOp = ShiftRotateIp; // straight through    1: ShiftRotateOp = {TopBit, ShiftRotateIp[31:1]}; // shift right    2: ShiftRotateOp = {ShiftRotateIp[30:0], BotBit}; // shift left    3: ShiftRotateOp = {TopBit,BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,           BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,           BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,	   BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,BotBit,BotBit}; // overflowendcase	    endmodule

⌨️ 快捷键说明

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