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

Subversion Repositories sparc64soc

[/] [sparc64soc/] [trunk/] [T1-CPU/] [exu/] [sparc_exu_rml.v] - Diff between revs 2 and 4

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

Rev 2 Rev 4
Line 59... Line 59...
   ecl_rml_cansave_wen_w, ecl_rml_canrestore_wen_w,
   ecl_rml_cansave_wen_w, ecl_rml_canrestore_wen_w,
   ecl_rml_otherwin_wen_w, ecl_rml_wstate_wen_w,
   ecl_rml_otherwin_wen_w, ecl_rml_wstate_wen_w,
   ecl_rml_cleanwin_wen_w, ecl_rml_xor_data_e, ecl_rml_kill_e,
   ecl_rml_cleanwin_wen_w, ecl_rml_xor_data_e, ecl_rml_kill_e,
   ecl_rml_kill_w, ecl_rml_early_flush_w, exu_tlu_wsr_data_w,
   ecl_rml_kill_w, ecl_rml_early_flush_w, exu_tlu_wsr_data_w,
   tlu_exu_agp, tlu_exu_agp_swap, tlu_exu_agp_tid, tlu_exu_cwp_m,
   tlu_exu_agp, tlu_exu_agp_swap, tlu_exu_agp_tid, tlu_exu_cwp_m,
   tlu_exu_cwpccr_update_m, ecl_rml_inst_vld_w
   tlu_exu_cwpccr_update_m, ecl_rml_inst_vld_w,current_cwp
   ) ;
   ) ;
   input rclk;
   input rclk;
   input se;
   input se;
   input si;
   input si;
   input grst_l;
   input grst_l;
Line 144... Line 144...
 
 
   output [1:0]  rml_irf_old_agp; // alternate global pointer
   output [1:0]  rml_irf_old_agp; // alternate global pointer
   output [1:0]  rml_irf_new_agp; // alternate global pointer
   output [1:0]  rml_irf_new_agp; // alternate global pointer
   output        rml_irf_swap_global;
   output        rml_irf_swap_global;
   output [1:0]  rml_irf_global_tid;
   output [1:0]  rml_irf_global_tid;
 
   output reg [11:0] current_cwp;
 
 
   wire          clk;
   wire          clk;
   wire [1:0]    tid_d;
   wire [1:0]    tid_d;
   wire [3:0]    thr_d;
   wire [3:0]    thr_d;
   wire [1:0]    tid_e;
   wire [1:0]    tid_e;
Line 443... Line 444...
   assign     oddwin_m[1] = (cwp_wen_m & ecl_rml_thr_m[1])? next_cwp_m[0]: oddwin_w[1];
   assign     oddwin_m[1] = (cwp_wen_m & ecl_rml_thr_m[1])? next_cwp_m[0]: oddwin_w[1];
   assign     oddwin_m[0] = (cwp_wen_m & ecl_rml_thr_m[0])? next_cwp_m[0]: oddwin_w[0];
   assign     oddwin_m[0] = (cwp_wen_m & ecl_rml_thr_m[0])? next_cwp_m[0]: oddwin_w[0];
   dff_s #(4) oddwin_dff(.din(oddwin_m[3:0]), .clk(clk), .q(exu_ifu_oddwin_s[3:0]),
   dff_s #(4) oddwin_dff(.din(oddwin_m[3:0]), .clk(clk), .q(exu_ifu_oddwin_s[3:0]),
                       .se(se), .si(), .so());
                       .se(se), .si(), .so());
 
 
 
   integer i;
 
   wire [11:0] next_cwp;
 
   always @(posedge clk)
 
      begin
 
         current_cwp[2:0]<=(cwp_wen_m & ecl_rml_thr_m[0])? next_cwp_m: next_cwp[2:0];
 
         current_cwp[5:3]<=(cwp_wen_m & ecl_rml_thr_m[1])? next_cwp_m: next_cwp[5:3];
 
         current_cwp[8:6]<=(cwp_wen_m & ecl_rml_thr_m[2])? next_cwp_m: next_cwp[8:6];
 
         current_cwp[11:9]<=(cwp_wen_m & ecl_rml_thr_m[3])? next_cwp_m: next_cwp[11:9];
 
      end
 
 
   sparc_exu_rml_cwp cwp(
   sparc_exu_rml_cwp cwp(
                         .swap_outs     (swap_outs),
                         .swap_outs     (swap_outs),
                         .swap_locals_ins(swap_locals_ins),
                         .swap_locals_ins(swap_locals_ins),
                         .rml_ecl_cwp_e (rml_ecl_cwp_e[2:0]),
                         .rml_ecl_cwp_e (rml_ecl_cwp_e[2:0]),
                         .old_cwp_e     (old_cwp_e[2:0]),
                         .old_cwp_e     (old_cwp_e[2:0]),
                         .new_cwp_e     (new_cwp_e[2:0]),
                         .new_cwp_e     (new_cwp_e[2:0]),
                         .oddwin_w     (oddwin_w[3:0]),
                         .oddwin_w     (oddwin_w[3:0]),
 
                         .next_cwp     (next_cwp),
                         /*AUTOINST*/
                         /*AUTOINST*/
                         // Outputs
                         // Outputs
                         .rml_ecl_cwp_d (rml_ecl_cwp_d[2:0]),
                         .rml_ecl_cwp_d (rml_ecl_cwp_d[2:0]),
                         .exu_tlu_cwp0_w(exu_tlu_cwp0_w[2:0]),
                         .exu_tlu_cwp0_w(exu_tlu_cwp0_w[2:0]),
                         .exu_tlu_cwp1_w(exu_tlu_cwp1_w[2:0]),
                         .exu_tlu_cwp1_w(exu_tlu_cwp1_w[2:0]),

powered by: WebSVN 2.1.0

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