Example of an Excalibur Embedded Processor Stripe
The following sample shows the arm_processor.v file, which can be generated by the MegaWizard® Plug-In Manager (Tools menu) as described in Example of Creating an Excalibur Embedded Processor Stripe.
// megafunction wizard: %ARM-Based Excalibur%
// GENERATION: STANDARD
// VERSION: WM1.0
// MODULE: ARM-Based Excalibur
// PROJECT: arm_tutorial
// ============================================================
// File Name: arm_processor.v
// Megafunction Name(s): ARM-Based Excalibur
// ============================================================
module arm_processor
(
clk_ref,
npor,
nreset,
masterhready,
masterhgrant,
masterhclk,
masterhrdata,
masterhresp,
masterhwrite,
masterhlock,
masterhbusreq,
masterhaddr,
masterhburst,
masterhsize,
masterhtrans,
masterhwdata
);
/* synthesis black_box */
input clk_ref;
input npor;
inout nreset;
input masterhready;
input masterhgrant;
input masterhclk;
input [31:0] masterhrdata;
input [1:0] masterhresp;
output masterhwrite;
output masterhlock;
output masterhbusreq;
output [31:0] masterhaddr;
output [2:0] masterhburst;
output [1:0] masterhsize;
output [1:0] masterhtrans;
output [31:0] masterhwdata;
// pragma translate_off
alt_exc_stripe lpm_instance
(
.clk_ref(clk_ref),
.npor(npor),
.nreset(nreset),
.proc_ntrst(1'b1),
.proc_tck(1'b0),
.proc_tdi(1'b0),
.proc_tms(1'b0),
.proc_tdo( ),
.slavehwrite(1'b0),
.slavehreadyi(1'b0),
.slavehselreg(1'b0),
.slavehsel(1'b0),
.slavehmastlock(1'b0),
.slavehclk(1'b0),
.slavehaddr(32'b0),
.slavehburst(3'b0),
.slavehsize(2'b0),
.slavehtrans(2'b0),
.slavehwdata(32'b0),
.slavebuserrint( ),
.slavehreadyo( ),
.slavehrdata( ),
.slavehresp( ),
.masterhready(masterhready),
.masterhgrant(masterhgrant),
.masterhclk(masterhclk),
.masterhrdata(masterhrdata),
.masterhresp(masterhresp),
.masterhwrite(masterhwrite),
.masterhlock(masterhlock),
.masterhbusreq(masterhbusreq),
.masterhaddr(masterhaddr),
.masterhburst(masterhburst),
.masterhsize(masterhsize),
.masterhtrans(masterhtrans),
.masterhwdata(masterhwdata),
.intpld(6'b0),
.intuart( ),
.inttimer0( ),
.inttimer1( ),
.intproc0( ),
.intproc1( ),
.debugrq(1'b0),
.debugext0(1'b0),
.debugext1(1'b0),
.debugiebrkpt(1'b0),
.debugdewpt(1'b0),
.debugextin(4'b0),
.debugack( ),
.debugrng0( ),
.debugrng1( ),
.debugextout( ),
.lockreqdp0(1'b0),
.lockgrantdp0( ),
.lockreqdp1(1'b0),
.lockgrantdp1( )
);
defparam
lpm_instance.processor = "ARM®",
lpm_instance.device_size = 1000,
lpm_instance.boot_from_flash = "FALSE",
lpm_instance.debug_extensions = "FALSE",
lpm_instance.ebi0_width = 8,
lpm_instance.use_short_reset = "TRUE",
lpm_instance.use_initialisation_files = "TRUE",
lpm_instance.dp0_mode = "UNUSED",
lpm_instance.dp1_mode = "UNUSED",
lpm_instance.dp0_output_mode = "UNREG",
lpm_instance.dp1_output_mode = "UNREG";
// pragma translate_on
endmodule
Back to Top
Created by chm2web html help conversion utility. |