Show page Old revisions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs [2011/11/28 19:32]
echung
docs [2012/01/23 20:24] (current)
echung
Line 1: Line 1:
-====== ​Data Types ======+====== ​Corflow Documentation and Examples ​======
  
-====== Primitives ====== +^ Date ^ Documentation ​ ^ Version ^ Download ^ 
- +| 23 Feb 2012 | Corflow Programming Guide | 1.0 | pdf | 
- +| 23 Feb 2012 | Simple Examples | 1.| zip |
-<​code>​ +
-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 +
-</​code>​+
 
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