EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

Verilog-A issue

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Cadence - Verilog-A issue

Samiran
Guest

Tue Sep 21, 2010 3:01 pm   



Dear all,

I am getting an error while compiling the following piece of code:

V(vout) <+ laplace_zp(gain*vin_val, {zero,0}, {-pole_1,0,-pole_2,0});

The error is:

Error found by spectre during AHDL compile.
ERROR (VACOMP-1166): "V(vout) <+ laplace_zp(gain*vin_val, {zero,
0},
{-pole_1,0,-pole_2,0})<<--? ;"
"/home/samiran/my_lib/test/veriloga/veriloga.va",
line 60: Argument #3 must be an array variable or a constant
array
expression. It cannot be an array expression containing non-
constant
expressions. If you need the argument to be variable, use an
array
variable instead.


Please help!

BR
Samiran

Andrew Beckett
Guest

Sun Sep 26, 2010 4:02 pm   



Samiran wrote, on 09/21/10 13:01:
Quote:
Dear all,

I am getting an error while compiling the following piece of code:

V(vout)<+ laplace_zp(gain*vin_val, {zero,0}, {-pole_1,0,-pole_2,0});

The error is:

Error found by spectre during AHDL compile.
ERROR (VACOMP-1166): "V(vout)<+ laplace_zp(gain*vin_val, {zero,
0},
{-pole_1,0,-pole_2,0})<<--? ;"
"/home/samiran/my_lib/test/veriloga/veriloga.va",
line 60: Argument #3 must be an array variable or a constant
array
expression. It cannot be an array expression containing non-
constant
expressions. If you need the argument to be variable, use an
array
variable instead.


Please help!

BR
Samiran

Samiran,

You have to do what it says. Create an array variable and populate that with the
coefficients you want, and then pass the array to the laplace_zp function.

If you want to see an example, look in rfLib, in BB_chebyshev_lp_laplace
veriloga view.

Regards,

Andrew.

elektroda.net NewsGroups Forum Index - Cadence - Verilog-A issue

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony