This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
schedule_code_generator [2017/04/19 13:31] 127.0.0.1 external edit |
schedule_code_generator [2020/06/10 07:34] (current) lnarmour fix minor typos |
||
|---|---|---|---|
| Line 23: | Line 23: | ||
| The following commands will generate the scheduled code based on the given target mapping. | The following commands will generate the scheduled code based on the given target mapping. | ||
| - | <sxh cs; gutter: | + | <sxh cs; gutter:true> |
| # Load an alphabets program and store as ' | # Load an alphabets program and store as ' | ||
| program = ReadAlphabets(" | program = ReadAlphabets(" | ||
| Line 34: | Line 34: | ||
| setSpaceTimeMap(program, | setSpaceTimeMap(program, | ||
| setSpaceTimeMap(program, | setSpaceTimeMap(program, | ||
| - | # Ser first and second dimension to be parallel (or generate sequential code by no parallel specification) | + | # Set first and second dimension to be parallel (or generate sequential code by no parallel specification) |
| - | setParallel(prog, system, "", | + | setParallel(program, system, "", |
| Line 42: | Line 42: | ||
| # Set the memory map | # Set the memory map | ||
| - | setMemoryMap(program, | + | setMemoryMap(program, |
| - | </ | ||
| - | <sxh cs; gutter: | ||
| # Generate scheduled code according to the target mapping | # Generate scheduled code according to the target mapping | ||
| generateScheduledCode(program, | generateScheduledCode(program, | ||