How to test the VHDL codec that implements a part function of C source code?

Discussion in 'VHDL' started by Lee, May 5, 2004.

  1. Lee

    Lee Guest

    I am going to write a codec to implement a part of one system and make
    a hardware accelerator. I have C source code for whole system. If the
    vhdl codec is ready, how to test it is a good idea?

    I plan to run simulation for combination of C code and VHDL code. When
    C source code run to the entry point of VHDL, write the intermediate
    results into file and call VHDL simulator and VHDL simulator read the
    file. After VHDL simulation, write the result into file and return to
    C code and C source code can read the results and run furthur. But I
    don't how to call VHDL simulation during C source code running.

    Generally, what is a good way for this cosimulation and to
    test?Thanks,
     
    Lee, May 5, 2004
    #1
    1. Advertising

  2. Probably you ought to look at an approach that has the VHDL simulator
    call the C code, instead of the other way around.
     
    Charles Bailey, May 9, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mobini
    Replies:
    2
    Views:
    1,061
    a_shenavandeh
    Jun 20, 2005
  2. afd
    Replies:
    1
    Views:
    8,363
    Colin Paul Gloster
    Mar 23, 2007
  3. Les Caudle
    Replies:
    3
    Views:
    2,322
    Steven Cheng[MSFT]
    Sep 3, 2007
  4. John Nagle
    Replies:
    3
    Views:
    644
    Waldemar Osuch
    Nov 10, 2007
  5. Replies:
    0
    Views:
    143
Loading...

Share This Page