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

Subversion Repositories aemb

[/] [aemb/] [trunk/] [rtl/] [verilog/] [aeMB2_iwbif.v] - Diff between revs 202 and 203

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

Rev 202 Rev 203
Line 31... Line 31...
module aeMB2_iwbif (/*AUTOARG*/
module aeMB2_iwbif (/*AUTOARG*/
   // Outputs
   // Outputs
   iwb_adr_o, iwb_stb_o, iwb_sel_o, iwb_wre_o, iwb_cyc_o, iwb_tag_o,
   iwb_adr_o, iwb_stb_o, iwb_sel_o, iwb_wre_o, iwb_cyc_o, iwb_tag_o,
   ich_adr, fet_fb, rpc_if, rpc_mx, exc_iwb,
   ich_adr, fet_fb, rpc_if, rpc_mx, exc_iwb,
   // Inputs
   // Inputs
   iwb_ack_i, iwb_dat_i, iwb_err_i, ich_hit, msr_ex, hzd_bpc, hzd_fwd,
   iwb_ack_i, iwb_dat_i, ich_hit, msr_ex, hzd_bpc, hzd_fwd,
   bra_ex, bpc_ex, gclk, grst, dena, iena, gpha
   bra_ex, bpc_ex, gclk, grst, dena, iena, gpha
   );
   );
   parameter AEMB_IWB = 32;
   parameter AEMB_IWB = 32;
   parameter AEMB_HTX = 1;
   parameter AEMB_HTX = 1;
 
 
Line 46... Line 46...
   output                iwb_wre_o;
   output                iwb_wre_o;
   output                iwb_cyc_o;
   output                iwb_cyc_o;
   output                iwb_tag_o;
   output                iwb_tag_o;
   input                 iwb_ack_i;
   input                 iwb_ack_i;
   input [31:0]   iwb_dat_i;
   input [31:0]   iwb_dat_i;
   input                 iwb_err_i; // bus error exception
   //input               iwb_err_i; // bus error exception
 
 
   // Cache
   // Cache
   output [AEMB_IWB-1:2] ich_adr;
   output [AEMB_IWB-1:2] ich_adr;
   input                 ich_hit;
   input                 ich_hit;
 
 
Line 154... Line 154...
   assign               iwb_cyc_o = iwb_stb_o;
   assign               iwb_cyc_o = iwb_stb_o;
   assign               iwb_tag_o = msr_ex[5];
   assign               iwb_tag_o = msr_ex[5];
 
 
   assign               fet_fb = iwb_stb_o ~^ iwb_ack_i; // no WB cycle      
   assign               fet_fb = iwb_stb_o ~^ iwb_ack_i; // no WB cycle      
 
 
   assign               exc_iwb = iwb_err_i; // exception pass-thru
   // TODO: enable iwb_err_i exception pass-thru
 
   assign               exc_iwb = 1'b0;
 
 
endmodule // aeMB2_iwbif
endmodule // aeMB2_iwbif
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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