A coding method and terminal for hls instruction optimization
A technology of instruction optimization and coding method, applied in the field of programming, can solve the problem of low efficiency of HLS optimization instruction combination, and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] This embodiment provides a coding method for HLS instruction optimization, including:
[0073] S1. Obtain the statement type and statement label of a statement in the source code; the statement type includes a function, an array, an interface array and a loop statement;
[0074] Among them, the statement type and statement label of each statement in the C / C++ source code are extracted through the data extraction tool; if the statement type is function, array, and interface array, the statement label is the function name, array name, and interface array name;
[0075] S2, preset depth variable; when the type is a function, set the value of the depth variable to the function level corresponding to the statement; when the type is an array, set the value of the depth variable to be the same as the The dimension corresponding to the statement; when the type is a loop statement, the value of the depth variable is set to the loop nesting depth corresponding to the statement; w...
Embodiment 2
[0098] This embodiment provides a coding terminal for HLS instruction optimization, including one or more processors and memory, the memory is stored with a program, and is configured to perform the following steps by the one or more processors 1:
[0099] S1. Obtain the statement type and statement label of a statement in the source code; the statement type includes a function, an array, an interface array and a loop statement;
[0100] S2, preset depth variable; when the type is a function, set the value of the depth variable to the function level corresponding to the statement; when the type is an array, set the value of the depth variable to be the same as the The dimension corresponding to the statement; when the type is a loop statement, the value of the depth variable is set to the loop nesting depth corresponding to the statement; when the type is an interface array, the depth variable is set The value is the dimension corresponding to the statement;
[0101] S3. Rand...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



