Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan function to find multiple chars #35

Closed
Jae0504 opened this issue Mar 26, 2024 · 2 comments
Closed

Scan function to find multiple chars #35

Jae0504 opened this issue Mar 26, 2024 · 2 comments

Comments

@Jae0504
Copy link

Jae0504 commented Mar 26, 2024

Hello, I have a question about the scan function. Can we find multiple chars by using the scan function? For example, finding 'ab' or 'abc' from the input file?
I checked the code example from the QPL documentation and I think we can find a maximum of 4 chars with the scan function if we change src1_bit_width.

@mzhukova
Copy link
Contributor

Hi @Jae0504, I am not sure I understood the goal completely, is the idea to supply "ab" as input and find either "a" or "b", or would you like to search for exactly "ab" sequence?

I would try to see whether any of sub-operations of scan, see documentation here works for you.

@mzhukova
Copy link
Contributor

No reply in quite some time, so closing the issue. Please, feel free to re-open if still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants