Commit 132c28bc by chengshuyao

README update

parent 88a486f7
...@@ -12,3 +12,12 @@ Your io generator function in the file need to start with the following head: ...@@ -12,3 +12,12 @@ Your io generator function in the file need to start with the following head:
extern const int PO_WIDTH = 25; extern const int PO_WIDTH = 25;
void io_generator_outer(bool* pi, bool* po) { void io_generator_outer(bool* pi, bool* po) {
} }
Run:
sh zstart.sh
Result:
The output Verilog files are stored in rtl/
See function_top.v
#include "head.h" #include "head.h"
#include "io_generator/c1908.h" //io_generator中需要包含对PI_WIDTH,PO_WIDTH的全局定义,如: extern const int PI_WIDTH = 36; #include "io_generator/c17.h" //io_generator中需要包含对PI_WIDTH,PO_WIDTH的全局定义,如: extern const int PI_WIDTH = 36;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment