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

📄 pmt32.v

📁 Master MemoryExamples for MT32 v1.0.0 Rtl core
💻 V
📖 第 1 页 / 共 2 页
字号:
// megafunction wizard: %PCI Compiler v3.2.0%

// ============================================================
// Megafunction Name(s):
// 			pci_mt32
// ============================================================
// Generated by PCI Compiler 3.2.0 [Altera, IP Toolbench v1.2.5 build28]
// ************************************************************
// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
// ************************************************************
// Copyright (C) 1991-2004 Altera Corporation
// Any megafunction design, and related net list (encrypted or decrypted),
// support information, device programming or simulation file, and any other
// associated documentation or information provided by Altera or a partner
// under Altera's Megafunction Partnership Program may be used only to
// program PLD devices (but not masked PLD devices) from Altera.  Any other
// use of such megafunction design, net list, support information, device
// programming or simulation file, or any other related documentation or
// information is prohibited for any other purpose, including, but not
// limited to modification, reverse engineering, de-compiling, or use with
// any other silicon devices, unless such use is explicitly licensed under
// a separate agreement with Altera or a megafunction partner.  Title to
// the intellectual property, including patents, copyrights, trademarks,
// trade secrets, or maskworks, embodied in any such megafunction design,
// net list, support information, device programming or simulation file, or
// any other related documentation or information provided by Altera or a
// megafunction partner, remains with Altera, the megafunction partner, or
// their respective licensors.  No other licenses, including any licenses
// needed under any third party's intellectual property, are provided herein.


module pmt32 (
	clk,
	rstn,
	gntn,
	idsel,
	l_adi,
	l_cbeni,
	lm_req32n,
	lm_lastn,
	lm_rdyn,
	lt_rdyn,
	lt_abortn,
	lt_discn,
	lirqn,
	framen,
	irdyn,
	devseln,
	trdyn,
	stopn,
	intan,
	reqn,
	serrn,
	l_adro,
	l_dato,
	l_beno,
	l_cmdo,
	lm_adr_ackn,
	lm_ackn,
	lm_dxfrn,
	lm_tsr,
	lt_framen,
	lt_ackn,
	lt_dxfrn,
	lt_tsr,
	cmd_reg,
	stat_reg,
	cache,
	ad,
	cben,
	par,
	perrn);


	input		clk;
	input		rstn;
	input		gntn;
	input		idsel;
	input	[31:0]	l_adi;
	input	[3:0]	l_cbeni;
	input		lm_req32n;
	input		lm_lastn;
	input		lm_rdyn;
	input		lt_rdyn;
	input		lt_abortn;
	input		lt_discn;
	input		lirqn;
	inout		framen;
	inout		irdyn;
	inout		devseln;
	inout		trdyn;
	inout		stopn;
	output		intan;
	output		reqn;
	output		serrn;
	output	[31:0]	l_adro;
	output	[31:0]	l_dato;
	output	[3:0]	l_beno;
	output	[3:0]	l_cmdo;
	output		lm_adr_ackn;
	output		lm_ackn;
	output		lm_dxfrn;
	output	[9:0]	lm_tsr;
	output		lt_framen;
	output		lt_ackn;
	output		lt_dxfrn;
	output	[11:0]	lt_tsr;
	output	[6:0]	cmd_reg;
	output	[6:0]	stat_reg;
	output	[7:0]	cache;
	inout	[31:0]	ad;
	inout	[3:0]	cben;
	inout		par;
	inout		perrn;


	pci_mt32	pci_mt32_inst(
		.clk(clk),
		.rstn(rstn),
		.gntn(gntn),
		.idsel(idsel),
		.l_adi(l_adi),
		.l_cbeni(l_cbeni),
		.lm_req32n(lm_req32n),
		.lm_lastn(lm_lastn),
		.lm_rdyn(lm_rdyn),
		.lt_rdyn(lt_rdyn),
		.lt_abortn(lt_abortn),
		.lt_discn(lt_discn),
		.lirqn(lirqn),
		.framen_in(framen),
		.irdyn_in(irdyn),
		.devseln_in(devseln),
		.trdyn_in(trdyn),
		.stopn_in(stopn),
		.intan(intan),
		.reqn(reqn),
		.serrn(serrn),
		.l_adro(l_adro),
		.l_dato(l_dato),
		.l_beno(l_beno),
		.l_cmdo(l_cmdo),
		.lm_adr_ackn(lm_adr_ackn),
		.lm_ackn(lm_ackn),
		.lm_dxfrn(lm_dxfrn),
		.lm_tsr(lm_tsr),
		.lt_framen(lt_framen),
		.lt_ackn(lt_ackn),
		.lt_dxfrn(lt_dxfrn),
		.lt_tsr(lt_tsr),
		.cmd_reg(cmd_reg),
		.stat_reg(stat_reg),
		.cache(cache),
		.framen_out(framen),
		.irdyn_out(irdyn),
		.devseln_out(devseln),
		.trdyn_out(trdyn),
		.stopn_out(stopn),
		.ad(ad),
		.cben(cben),
		.par(par),
		.perrn(perrn));

	defparam
		pci_mt32_inst.CLASS_CODE = 24'hFF0000,
		pci_mt32_inst.DEVICE_ID = 16'h0004,
		pci_mt32_inst.REVISION_ID = 8'h01,
		pci_mt32_inst.SUBSYSTEM_ID = 16'h0000,
		pci_mt32_inst.SUBSYSTEM_VENDOR_ID = 16'h0000,
		pci_mt32_inst.TARGET_DEVICE = "NEW",
		pci_mt32_inst.VENDOR_ID = 16'h1172,
		pci_mt32_inst.MIN_GRANT = 8'h00,
		pci_mt32_inst.MAX_LATENCY = 8'h00,
		pci_mt32_inst.CAP_PTR = 8'h40,
		pci_mt32_inst.CIS_PTR = 32'h00000000,
		pci_mt32_inst.BAR0 = 32'hFFF00000,
		pci_mt32_inst.BAR1 = 32'hFFF00000,
		pci_mt32_inst.BAR2 = 32'hFFF00000,
		pci_mt32_inst.BAR3 = 32'hFFF00000,
		pci_mt32_inst.BAR4 = 32'hFFF00000,
		pci_mt32_inst.BAR5 = 32'hFFF00000,
		pci_mt32_inst.NUMBER_OF_BARS = 32'h00000001,
		pci_mt32_inst.HARDWIRE_BAR0 = 32'h00000000,
		pci_mt32_inst.HARDWIRE_BAR1 = 32'h00000000,
		pci_mt32_inst.HARDWIRE_BAR2 = 32'h00000000,
		pci_mt32_inst.HARDWIRE_BAR3 = 32'h00000000,
		pci_mt32_inst.HARDWIRE_BAR4 = 32'h00000000,
		pci_mt32_inst.HARDWIRE_BAR5 = 32'h00000000,

⌨️ 快捷键说明

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