Show pagesource Old revisions

This is an old revision of the document!


Data Types

Primitives

module CORAM1(CLK, RST_N, en, rnw, addr, din, dout);

  parameter THREAD = "thread_name";
  parameter THREAD_ID = 0; // corresponds to cpi_instance()
  parameter OBJECT_ID = 0; // object id
  parameter WIDTH = 32; // RAM data width
  parameter DEPTH = 512; // RAM depth
  parameter INDEXWIDTH = 9; // log of RAM depth

  // Additional optional parameters
  parameter SUB_ID = -1; // valid if not -1
  parameter SUBSUB_ID = -1;
   ...
  input CLK,RST_N, en, rnw;
  input [INDEXWIDTH-1:0] addr;
  input [WIDTH-1:0] din;
  output [WIDTH-1:0] dout;

endmodule
 
Back to top
docs.1322508736.txt.gz · Last modified: 2011/11/28 19:32 by echung
 
 
CC Attribution-Noncommercial-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0