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

Verilog Syntax error in jpegdec. #204

Open
MasLiang opened this issue Aug 3, 2024 · 0 comments
Open

Verilog Syntax error in jpegdec. #204

MasLiang opened this issue Aug 3, 2024 · 0 comments

Comments

@MasLiang
Copy link

MasLiang commented Aug 3, 2024

Hi,

I'm learning the HLS flow and tried on the case "jpegdec".

When I run the "run_hls.tcl", it can work successfully. However, when I tried to read the verilog code, I found a line confuse me:

in kernel_parser_decoder_udiv_13ns_8ns_13_17_seq_1.v line 67-68, the code is :

if (in0_WIDTH==1) assign comb_tmp = dividend_tmp_mux[0];
else              assign comb_tmp = {remd_tmp_mux[in0_WIDTH-2:0], dividend_tmp_mux[in0_WIDTH-1]};

These two lines are not in any blocks. Is that true? I think this two lines should be in a generate.

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

No branches or pull requests

1 participant