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

Subversion Repositories xgate

[/] [xgate/] [trunk/] [rtl/] [verilog/] [xgate_irq_encode.v] - Diff between revs 2 and 28

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 28
Line 44... Line 44...
  output reg     [ 6:0] int_req,    // Encoded interrupt request
  output reg     [ 6:0] int_req,    // Encoded interrupt request
 
 
  input [MAX_CHANNEL:0] chan_req_i  // XGATE Interrupt request    
  input [MAX_CHANNEL:0] chan_req_i  // XGATE Interrupt request    
);
);
 
 
 
  // Set int_reg to the index of the index of the highest chen_req_i input that is active
  integer i = 0;
  integer i = 0;
  always @(chan_req_i)
  always @(chan_req_i)
    begin
    begin
      int_req = 0;
      int_req = 0;
        for (i = 0; i <= MAX_CHANNEL; i = i + 1)
        for (i = 0; i <= MAX_CHANNEL; i = i + 1)

powered by: WebSVN 2.1.0

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