Division in VHDL

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

  1. vikramtheone

    vikramtheone

    Joined:
    Jun 1, 2009
    Messages:
    3
    Likes Received:
    0
    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
    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.