Advanced Member level 2
Often tcl scripts are used to setup simulation environment. Is it possible to pass values for variables and constants in VHDL from within a tcl script?
set generic_val [get_property my_generic [get_cells test_inst]
It sounds like you're going about this the wrong way.
you should be passing generics down from the top level setup. You're implying you want to override values set up in the code? why?
vsim has a -G switch that allows you to set top level generics.