Skip to content

3.3 Streaming I/O code in the manual- iprintf and while (1) loop issues #245

@Rhrifateee

Description

@Rhrifateee

Streaming_issues.docx
I copied the stdout.adf and added stream_in_stream_in_status stream_out_stream_out_status. Both stream_in and stream_out are important to print out the mathematical operation without using iprintf so that an efficient processor with a smaller number of cycles can be made.

But I am getting unusual results in stream_out and TTA simulator when I am doing any mathematical operation (add, subtract, mult, division) inside the “while (1)” loop.

Also, when I am using ‘iprintf’ to print the results with a for loop, the processor behaves differently and prints unusual digits.

I don’t want to design a processor that can print. But without iprintf, tcecc optimizes the code.

I have added some screenshots in the doc file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions