📄 m3s034ct.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 //// Clock Generator// Copyright Mentor Graphics Corporation and Licensors 1998.// V1.000// m3s034ct// M320C50 TDM Serial Port Clock Generator.// Provides TX and Rx clocks for the TDM transmitter and receiver.// NTxClock and NRxClock are the inverted TxClock and RxClock respectively.module m3s034ct (Clock, TCLKXI, TCLKR, NTCLKXE, TSPC1, RxClockDis,//******************************************************************* ////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 // TCLKX, TxClock, NTxClock, RxClock, NRxClock); input Clock, TCLKXI, TCLKR, NTCLKXE, TSPC1, RxClockDis; output TCLKX, TxClock, NTxClock, RxClock, NRxClock; reg TCLKX, TxClock, NTxClock, RxClock, NRxClock; reg Clock2, Clock4;// CPU clock divide by 4always @(negedge Clock)begin Clock2 <= ~Clock2 | NTCLKXE; Clock4 <= Clock4^Clock2 | NTCLKXE;end// Transmit clockalways @(TCLKXI or Clock4)begin TCLKX = Clock4; TxClock = TCLKXI; NTxClock = ~TCLKXI;end// Receive clock.always @(TSPC1 or TCLKR or TxClock or RxClockDis)begin if (TSPC1) RxClock = TxClock | RxClockDis; else RxClock = TCLKR | RxClockDis; NRxClock = ~RxClock;endendmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -