Skip to content

Commit 59f59b1

Browse files
authored
[hec-assembler]: Linking multi *.mem programs with trace_file (#106)
* Adding TraceInfo * Add tracing to linker * Adding new unit tests for refactored he_link.py * Adding new unit tests for kern_trace * Refactoring linker for kernel recyling * Readme Update
1 parent cf865dd commit 59f59b1

29 files changed

+3949
-1134
lines changed

assembler_tools/hec-assembler-tools/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ python3 he_as.py filename.tw.csv --input_mem_file filename.mem
7878
```bash
7979
# link assembled output (input prefix: filename.tw)
8080
# outputs filename.minst, filename.cinst, filename.xinst
81-
python3 he_link.py filename.tw --input_mem_file filename.mem --output_prefix filename
81+
python3 he_link.py --input_prefixes filename.tw --input_mem_file filename.mem --output_prefix filename
8282
```
8383

8484
This will generate the main three output files in the same directory as the input file:
@@ -89,7 +89,7 @@ This will generate the main three output files in the same directory as the inpu
8989

9090
Intermediate files, if any, are kept as well.
9191

92-
The linker program is able to link several assembled kernels into a single HERACLES program, given a correct memory mapping for the resulting program.
92+
The linker program is able to link several assembled kernels into a single HERACLES program, given a correct memory mapping or trace file for the resulting program.
9393

9494
This version of executing is intended for the assembler to be usable as part of a compilation pipeline.
9595

0 commit comments

Comments
 (0)