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

Unsupported PLI call: $log #6

Open
kallisti5 opened this issue Oct 22, 2014 · 1 comment
Open

Unsupported PLI call: $log #6

kallisti5 opened this issue Oct 22, 2014 · 1 comment

Comments

@kallisti5
Copy link

I've seen quite a few complaints about the math $log call in the open source tools:

verilator -Mdir obj_release/math --cc -sv -Wno-fatal -I./include obj_release/math/flt2int.v obj_release/math/flt_add_sub.v obj_release/math/flt_det.v obj_release/math/flt_frac_test.v obj_release/math/flt_fx_23p9.v obj_release/math/flt_fx_mult.v obj_release/math/flt_fx_uv.v obj_release/math/flt_int.v obj_release/math/flt_mult.v obj_release/math/log2_table.v obj_release/math/sv_log2.v obj_release/math/flt_add_sub_comb.v obj_release/math/flt_alu.v obj_release/math/flt_div.v obj_release/math/flt_fx1616_mult.v obj_release/math/flt_fx_24p8.v obj_release/math/flt_fx_rnd.v obj_release/math/flt_fx.v obj_release/math/flt_mult_comb.v obj_release/math/flt_recip_fast.v generic/gen_pipe.v
%Error: obj_release/math/sv_log2.v:62: Unsupported or unknown PLI call: $log
%Warning-STMTDLY: obj_release/math/sv_log2.v:63: Unsupported: Ignoring delay on this delayed statement.
%Warning-STMTDLY: Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.

Not sure if this is something that could be made more generic?

@asicguy
Copy link
Owner

asicguy commented Oct 22, 2014

I think $log was some code to generate the log table. It’s not required to build.
-Frank

From: Alexander von Gluck IV <[email protected]mailto:[email protected]>
Reply-To: asicguy/gplgpu <[email protected]mailto:[email protected]>
Date: Wednesday, October 22, 2014 at 10:26 AM
To: asicguy/gplgpu <[email protected]mailto:[email protected]>
Subject: [gplgpu] Unsupported PLI call: $log (#6)

I've seen quite a few complaints about the math $log call in the open source tools:

verilator -Mdir obj_release/math --cc -sv -Wno-fatal -I./include obj_release/math/flt2int.v obj_release/math/flt_add_sub.v obj_release/math/flt_det.v obj_release/math/flt_frac_test.v obj_release/math/flt_fx_23p9.v obj_release/math/flt_fx_mult.v obj_release/math/flt_fx_uv.v obj_release/math/flt_int.v obj_release/math/flt_mult.v obj_release/math/log2_table.v obj_release/math/sv_log2.v obj_release/math/flt_add_sub_comb.v obj_release/math/flt_alu.v obj_release/math/flt_div.v obj_release/math/flt_fx1616_mult.v obj_release/math/flt_fx_24p8.v obj_release/math/flt_fx_rnd.v obj_release/math/flt_fx.v obj_release/math/flt_mult_comb.v obj_release/math/flt_recip_fast.v generic/gen_pipe.v
%Error: obj_release/math/sv_log2.v:62: Unsupported or unknown PLI call: $log
%Warning-STMTDLY: obj_release/math/sv_log2.v:63: Unsupported: Ignoring delay on this delayed statement.
%Warning-STMTDLY: Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.

Not sure if this is something that could be made more generic?


Reply to this email directly or view it on GitHubhttps://github.com//issues/6.

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

2 participants