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

Subversion Repositories aemb

[/] [aemb/] [trunk/] [rtl/] [verilog/] [aeMB2_gprf.v] - Diff between revs 118 and 120

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

Rev 118 Rev 120
Line 1... Line 1...
/* $Id: aeMB2_gprf.v,v 1.1 2008-04-18 00:21:52 sybreon Exp $
/* $Id: aeMB2_gprf.v,v 1.2 2008-04-20 16:34:32 sybreon Exp $
**
**
** AEMB2 EDK 6.2 COMPATIBLE CORE
** AEMB2 EDK 6.2 COMPATIBLE CORE
** Copyright (C) 2004-2008 Shawn Tan <shawn.tan@aeste.net>
** Copyright (C) 2004-2008 Shawn Tan <shawn.tan@aeste.net>
**
**
** This file is part of AEMB.
** This file is part of AEMB.
Line 93... Line 93...
        rd_mx <= #1 rd_ex;
        rd_mx <= #1 rd_ex;
        mux_mx <= #1 mux_ex;
        mux_mx <= #1 mux_ex;
     end
     end
 
 
   // LOAD SIZER   
   // LOAD SIZER   
   always @(/*AUTOSENSE*/dwb_mx or sel_mx or xwb_mx) begin
   always @(/*AUTOSENSE*/dwb_mx or sel_mx) begin
      case (sel_mx)
      case (sel_mx)
        // 8'bits
        // 8'bits
        4'h8: mem_mx <= #1 {24'd0, dwb_mx[31:24]};
        4'h8: mem_mx <= #1 {24'd0, dwb_mx[31:24]};
        4'h4: mem_mx <= #1 {24'd0, dwb_mx[23:16]};
        4'h4: mem_mx <= #1 {24'd0, dwb_mx[23:16]};
        4'h2: mem_mx <= #1 {24'd0, dwb_mx[15:8]};
        4'h2: mem_mx <= #1 {24'd0, dwb_mx[15:8]};
Line 105... Line 105...
        // 16'bits
        // 16'bits
        4'hC: mem_mx <= #1 {16'd0, dwb_mx[31:16]};
        4'hC: mem_mx <= #1 {16'd0, dwb_mx[31:16]};
        4'h3: mem_mx <= #1 {16'd0, dwb_mx[15:0]};
        4'h3: mem_mx <= #1 {16'd0, dwb_mx[15:0]};
        // 32'bits
        // 32'bits
        4'hF: mem_mx <= #1 dwb_mx;
        4'hF: mem_mx <= #1 dwb_mx;
        4'h0: mem_mx <= #1 xwb_mx;
        //4'h0: mem_mx <= #1 xwb_mx;
        default: mem_mx <= 32'hX;
        default: mem_mx <= 32'hX;
      endcase // case (sel_mx)
      endcase // case (sel_mx)
   end // always @ (...
   end // always @ (...
 
 
   // SELECT SOURCE
   // SELECT SOURCE
Line 166... Line 166...
   // synopsys translate_on
   // synopsys translate_on
 
 
endmodule // aeMB2_gprf
endmodule // aeMB2_gprf
 
 
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.1  2008/04/18 00:21:52  sybreon
 
// Initial import.
 
//
 
 
 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.