mii.sv

来自「VMM 文档加源码, synopsys公司很好的验证资料」· SV 代码 · 共 74 行

SV
74
字号
// // -------------------------------------------------------------//    Copyright 2004-2008 Synopsys, Inc.//    All Rights Reserved Worldwide// //    Licensed under the Apache License, Version 2.0 (the//    "License"); you may not use this file except in//    compliance with the License.  You may obtain a copy of//    the License at// //        http://www.apache.org/licenses/LICENSE-2.0// //    Unless required by applicable law or agreed to in//    writing, software distributed under the License is//    distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR//    CONDITIONS OF ANY KIND, either express or implied.  See//    the License for the specific language governing//    permissions and limitations under the License.// -------------------------------------------------------------// `ifndef MII_SV`define MII_SV`include "vmm.sv"// Example 4-1`include "mii_if.sv"// Example 4-32`include "ethernet.sv"// Example 4-50`ifdef VIP_IN_PACKAGEpackage mii;`endif// Example 4-49`ifdef VIP_IN_ANONYMOUS_PROGRAMprogram;`endif// Example 4-48// Example 4-53class mii_cfg;   rand bit is_10Mb;   rand bit full_duplex;endclass: mii_cfg`include "mii_mac.sv"// Example 4-32`include "mii_phy.sv"`include "mii_mon.sv"// mii / mac SVA checker and external error types`ifdef SVA_CHECKERS`include "mii_sva_types.sv"`include "mii_sva_checker.sv"`endif`ifdef VIP_IN_ANONYMOUS_PROGRAMendprogram`endif`ifdef VIP_IN_PACKAGEendpackage: mii`endif`include "mii_mac_bfm.sv"`endif

⌨️ 快捷键说明

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