matrixofdynamism
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?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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.