Re: equivalent of defparam in vhdl.



Hi,

First of this is only for simulation and not for synthesis.
Secondly, i dont think i can use the -g option, as the problem is with
wrapper + smart models rather than actual vhdl files.

thanks....

Ajeetha wrote:
Hi KK,
If this is for Synthesis, it is a bad style - usually defparam is
unsupported in synth tools. If it is for pure simulation alone,
simulators provide a way to override generics from command line.
Typically the option is "-g".

Read your tool's doc for more.

HTH
Ajeetha, CVC
www.noveldv.com
www.systemverilog.us

kk wrote:
For one of my program, i use defparam in verilog to set a parameter
which is one level below the hierarchy. I've three modules A, B, C. The
C is instantiated in B, B in A. There is a parameter in C which is not
brought out to B. I dont have the permission to modify B and C by any
chance. In verilog i can set the parameter by using a defparam
statement in A.
Is there way i could do this in VHDL, if all the three are in VHDL.

thanks in adv.

.



Relevant Pages

  • Re: Now on 8.2.03i Re: Xilinx ISE ver 8.2.02i is optimizing away and removing "redundant" logic -
    ... line VHDL code and was trying to test it when the ModelSim ... Simulation successful. ... the original design file and it is '0' using the VHDL output from ISE. ...
    (comp.arch.fpga)
  • Re: A perspective on parallelism
    ... Or worse, they get simulation artifacts.... ... VHDL, and I use a lots of processes - I ... Sure there are bugs in the synthesis tools, ... lot is when you write asynchronous logic in processes and miss signals ...
    (comp.arch)
  • Re: Embedded languages based on early Ada (from "Re: Preferred OS, processor family for running embe
    ... between VHDL simulations and synthesized VHDL was intended for someone ... checked whether a simulation tool and a synthesis tool differ on this. ... needs to be added to a sensitivity list with a rule in the language standard ... of testbenches, I do not see what use the language is if it is not ...
    (comp.lang.vhdl)
  • Re: short integer equivalent
    ... VHDL language standard does not require implementations to ... than 32 bits is unlikely to work with integer subtypes. ... Faster simulation (even in simulators that have accelerated ...
    (comp.lang.vhdl)
  • Re: Integer in port declaration?
    ... it's possible to declare an integer in port statement? ... Reading a book (I'm a newbie in vhdl:) it seems to be legal, ... but the logic simulation ("Generate Expected Result" in Xilinx ISE ...
    (comp.lang.vhdl)

Loading