Re: newbe: how to print integer and real numbers?



Schüle Daniel wrote:


I am simulating some simple VHDL code and need to
print integer and real variables.
Can someone give me examples or introduction pages to
basic IO in VHDL?


Have a look into the package std.textio and see the available functions. See, which parameters can be given to the available functions.

If you want to have ANSI C like text-I/O, have a look at http://bear.ces.cwru.edu/vhdl/ Note that there is also a paper describing the files.

Ralf
.



Relevant Pages

  • Re: FIR filter generic
    ... I am trying to write generic VHDL code for FIR filter. ... into a VHDL package containing the coefficient constants. ... You can also pass the coefficients into the entity through a generic by ... the generics like this: ...
    (comp.arch.fpga)
  • Re: FIR filter generic
    ... I am trying to write generic VHDL code for FIR filter. ... into a VHDL package containing the coefficient constants. ... You can also pass the coefficients into the entity through a generic by ... the generics like this: ...
    (comp.arch.fpga)
  • Re: package, component, entity ......
    ... >i'm just beginning to learn vhdl and im a little bit confused now. ... >whats the difference between a libary and a package, ... other design units by means of a USE CLAUSE. ... the compiler can look at the entity (which already ...
    (comp.lang.vhdl)
  • Re: FIR filter generic
    ... I am trying to write generic VHDL code for FIR filter. ... into a VHDL package containing the coefficient constants. ... You can also pass the coefficients into the entity through a generic by ... the generics like this: ...
    (comp.arch.fpga)
  • Re: FIR filter generic
    ... I am trying to write generic VHDL code for FIR filter. ... into a VHDL package containing the coefficient constants. ... You can also pass the coefficients into the entity through a generic by ... the generics like this: ...
    (comp.arch.fpga)