📄 m3s040bo.v
字号:
//******************************************************************* ////IMPORTANT NOTICE ////================ ////Copyright Mentor Graphics Corporation 1996 - 1999. 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. //// ////Use of these deliverables for the purpose of making silicon from an IC ////design is limited to the terms and conditions of your license agreement ////with Mentor Graphics If you have further questions please contact Mentor ////Graphics Customer Support. //// ////This Mentor Graphics core (m8051 v1999.120) was extracted on ////workstation hostid _hostid_ Inventra ////4 Bit sum generate/propagate for m8051//Copyright Mentor Graphics Corporation and Licensors 1998. All rights reserved.//v1.002//////////////////////////////////////////////////////////////////////////////////// Verilog file generated by X-HDL - Revision 3.0_11 Beta C April 24, 1998// Thu Jul 9 22:06:21 1998//// Input file : m3s040bo.vhd// Design name : m3s040bo// Author : // Company : Mentor Graphics - Inventra//// Description : ////////////////////////////////////////////////////////////////////////////////////////*********************************************************************//%W% %G% SCCS Version Control//File : m3s040bo.vhd//Created on : 12th October 1995//Purpose : 4 Bit sum generate/propagate for m8051//Version : 1.002//Mod Date : 2nd April 1998//Mod History : 1.002 _e suffix removed from entity names.////////*********************************************************************//Hierarchy record ://Called by :m3s011bo.vhd//Calls to :None// :// :// ://-------------------------------------------------//*********************************************************************//Entity Definition//*********************************************************************module m3s040bo (NGC, NPC, NG, P);//******************************************************************* ////IMPORTANT NOTICE ////================ ////Copyright Mentor Graphics Corporation 1996 - 1999. 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. //// ////Use of these deliverables for the purpose of making silicon from an IC ////design is limited to the terms and conditions of your license agreement ////with Mentor Graphics If you have further questions please contact Mentor ////Graphics Customer Support. //// ////This Mentor Graphics core (m8051 v1999.120) was extracted on ////workstation hostid _hostid_ Inventra // output NGC; reg NGC; output NPC; reg NPC; input[3:0] NG; input[3:0] P; //********************************************************************* //********************************************************************* //Signal definitions //********************************************************************* reg AA; reg AB; reg AC; reg AD; always @(P or NG) begin : misc1 AA <= NG[0] & NG[1] & NG[2] & NG[3] ; AB <= (~P[1]) & NG[1] & NG[2] & NG[3] ; AC <= (~P[2]) & NG[2] & NG[3] ; AD <= (~P[3]) & NG[3] ; end always @(AA or AB or AC or AD or P) begin : sumout NPC <= ~(P[0] & P[1] & P[2] & P[3]) ; NGC <= AA | AB | AC | AD ; end //*********************************************************************endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -