Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Integer larger than 2147483648

Hello all,

As written in title, I want to know how to manipulate integers larger than 2147483648.

I am trying to realize 8th order IIR band pass filter whose transfer function has small coefficients in numerator compared to denominator and this causes calculation result to be larger than 2147483648.

So I want to know how to manipulate integers larger than 2147483648...

I heard verilog can cope with integers larger than 2147483648 but is it true?

Anyway, any helps are appreciated.

Sincerely,

Yukihiro

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hello all,

    As written in title, I want to know how to manipulate integers larger than 2147483648.

    I am trying to realize 8th order IIR band pass filter whose transfer function has small coefficients in numerator compared to denominator and this causes calculation result to be larger than 2147483648.

    So I want to know how to manipulate integers larger than 2147483648...

    I heard verilog can cope with integers larger than 2147483648 but is it true?

    Anyway, any helps are appreciated.

    Sincerely,

    Yukihiro

    --- Quote End ---

    use signed type as wide as you wish. I don't know of limitations to that apart from resource.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    use signed type as wide as you wish. I don't know of limitations to that apart from resource.

    --- Quote End ---

    Thank your for your quick reply, kaz!!

    I am pretty surprised that "signed" (and resize function, in my case) is very useful...