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

Subversion Repositories i650

[/] [i650/] [trunk/] [rtl/] [gen_store.v] - Diff between revs 12 and 20

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

Rev 12 Rev 20
Line 67... Line 67...
   assign no_write = 0;
   assign no_write = 0;
 
 
   //-----------------------------------------------------------------------------
   //-----------------------------------------------------------------------------
   // A : Read from RAM at on-time address.
   // A : Read from RAM at on-time address.
   //-----------------------------------------------------------------------------
   //-----------------------------------------------------------------------------
   always @(posedge ap) begin
   always @(posedge ap)
      if (rst) begin
      if (rst) begin
         gs_out <= `biq_blank;
         gs_out <= `biq_blank;
      end else begin
      end else begin
         gs_out <= gs_mem[gs_addr];
         gs_out <= gs_mem[gs_addr];
      end
 
   end;
   end;
 
 
   //-----------------------------------------------------------------------------
   //-----------------------------------------------------------------------------
   // D : Write to RAM at early address.
   // D : Write to RAM at early address.
   //-----------------------------------------------------------------------------
   //-----------------------------------------------------------------------------
   always @(posedge dp) begin
   always @(posedge dp)
      if (write_gate)
      if (write_gate)
         gs_mem[gs_addr_early] <= gs_in;
         gs_mem[gs_addr_early] <= gs_in;
   end;
 
 
 
endmodule
endmodule
 
 
 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.