Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST

Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | how to use the design results of the vhdl code for a program in C code

There are 4 messages in this thread.

You are currently looking at messages 0 to 4.

how to use the design results of the vhdl code for a program in C code - lolita grenoble - 2010-03-15 05:51:00

hello,
i need help.
i work over an algo in C langage that verifies a design described in
VHDL
for it, i want take all informations from my vhdl code for use them in
my programme in C and i don't know how.



Re: how to use the design results of the vhdl code for a program in C code - Brian Drummond - 2010-03-15 08:07:00

On Mon, 15 Mar 2010 02:51:22 -0700 (PDT), lolita
grenoble
<l...@gmail.com> wrote:

>hello,
>i need help.
>i work over an algo in C langage that verifies a design described in
>VHDL
>for it, i want take all informations from my vhdl code for use them in
>my programme in C and i don't know how.

One way is to write a file in your VHDL code (running it in the simulator)
then read that file in your C code.

- Brian
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: how to use the design results of the vhdl code for a program in C code - Rob Gaddi - 2010-03-15 12:27:00

On Mon, 15 Mar 2010 12:07:24 +0000
Brian Drummond <b...@btconnect.com> wrote:

> On Mon, 15 Mar 2010 02:51:22 -0700 (PDT), lolita grenoble
> <l...@gmail.com> wrote:
> 
> >hello,
> >i need help.
> >i work over an algo in C langage that verifies a design described in
> >VHDL
> >for it, i want take all informations from my vhdl code for use them
> >in my programme in C and i don't know how.
> 
> One way is to write a file in your VHDL code (running it in the
> simulator) then read that file in your C code.
> 
> - Brian

Specifically, your search term is STD.TEXTIO

-- 
Rob Gaddi, Highland Technology
Email address is currently out of order

Re: how to use the design results of the vhdl code for a program in C code - Brian Drummond - 2010-03-15 21:16:00

On Mon, 15 Mar 2010 09:27:02 -0700, Rob Gaddi
<r...@technologyhighland.com>
wrote:

>On Mon, 15 Mar 2010 12:07:24 +0000
>Brian Drummond <b...@btconnect.com> wrote:
>
>> On Mon, 15 Mar 2010 02:51:22 -0700 (PDT), lolita grenoble
>> <l...@gmail.com> wrote:
>> 
>> >hello,
>> >i need help.
>> >i work over an algo in C langage that verifies a design described in
>> >VHDL
>> >for it, i want take all informations from my vhdl code for use them
>> >in my programme in C and i don't know how.
>> 
>> One way is to write a file in your VHDL code (running it in the
>> simulator) then read that file in your C code.
>> 
>> - Brian
>
>Specifically, your search term is STD.TEXTIO

Indeed. You can write binary files (e.g. .bmp images) from VHDL but the details
are not defined so the result is not necessarily portable. Modelsim is
straightforward but Xilinx ISE Simulator is not.

- Brian