Division in VHDL

Discussion in 'VHDL' started by vikramtheone, Jun 12, 2009.

  1. vikramtheone


    Jun 1, 2009
    Likes Received:
    Hi All,
    I'm new to VHDL.

    I have a C-code with me:

    for (i = 0; i < 256; i++)
    prob = (double) A / (double) n;

    What is the easiest way to implement this in VHDL? I dont care to optimize on the division.

    Thanks in advance.
    vikramtheone, Jun 12, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.