This shows you the differences between two versions of the page.
| 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 ^ |
| - | <code> | + | | 23 Feb 2012 | Corflow Programming Guide | 1.0 | pdf | |
| - | module CORAM1(CLK, RST_N, en, rnw, addr, din, dout); | + | | 23 Feb 2012 | Simple Examples | 1.0 | zip | |
| - | + | ||
| - | 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> | + | |