OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [altera_de0_nano_soc/] [doc/] [Terasic/] [DE0_NANO_SOC/] [Demonstrations/] [FPGA/] [DE0_NANO_SOC_ADC/] [DE0_NANO_SOC_QSYS/] [synthesis/] [submodules/] [DE0_NANO_SOC_QSYS_irq_mapper.sv] - Blame information for rev 221

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 221 olivier.gi
// (C) 2001-2014 Altera Corporation. All rights reserved.
2
// Your use of Altera Corporation's design tools, logic functions and other
3
// software and tools, and its AMPP partner logic functions, and any output
4
// files any of the foregoing (including device programming or simulation
5
// files), and any associated documentation or information are expressly subject
6
// to the terms and conditions of the Altera Program License Subscription
7
// Agreement, Altera MegaCore Function License Agreement, or other applicable
8
// license agreement, including, without limitation, that your use is for the
9
// sole purpose of programming logic devices manufactured by Altera and sold by
10
// Altera or its authorized distributors.  Please refer to the applicable
11
// agreement for further details.
12
 
13
 
14
// $Id: //acds/rel/14.0/ip/merlin/altera_irq_mapper/altera_irq_mapper.sv.terp#1 $
15
// $Revision: #1 $
16
// $Date: 2014/02/16 $
17
// $Author: swbranch $
18
 
19
// -------------------------------------------------------
20
// Altera IRQ Mapper
21
//
22
// Parameters
23
//   NUM_RCVRS        : 2
24
//   SENDER_IRW_WIDTH : 32
25
//   IRQ_MAP          : 0:0,1:1
26
//
27
// -------------------------------------------------------
28
 
29
`timescale 1 ns / 1 ns
30
 
31
module DE0_NANO_SOC_QSYS_irq_mapper
32
(
33
    // -------------------
34
    // Clock & Reset
35
    // -------------------
36
    input clk,
37
    input reset,
38
 
39
    // -------------------
40
    // IRQ Receivers
41
    // -------------------
42
    input                receiver0_irq,
43
    input                receiver1_irq,
44
 
45
    // -------------------
46
    // Command Source (Output)
47
    // -------------------
48
    output reg [31 : 0] sender_irq
49
);
50
 
51
 
52
    always @* begin
53
        sender_irq = 0;
54
 
55
        sender_irq[0] = receiver0_irq;
56
        sender_irq[1] = receiver1_irq;
57
    end
58
 
59
endmodule
60
 
61
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.