Activity
-
Alex became a registered member 1 year, 6 months ago
-
lionel became a registered member 1 year, 6 months ago
-
Jim became a registered member 1 year, 6 months ago
-
Stan became a registered member 1 year, 6 months ago
-
Nigel became a registered member 1 year, 6 months ago
-
Sebastian became a registered member 1 year, 6 months ago
-
Swati became a registered member 1 year, 6 months ago
-
Jim Lewis wrote a new post 1 year, 6 months ago
OSVVM 2023.09a Release
The 2023.09a release adds: Scripts: build/include now support Early detection of file or path not found and better error messages. […]
-
Marco became a registered member 1 year, 6 months ago
-
Luca became a registered member 1 year, 7 months ago
-
Terry became a registered member 1 year, 7 months ago
-
Brad Adam's profile was updated 1 year, 7 months ago
-
Jim Lewis replied to the topic Scripting dual-language testbench (VHDL / Verilog) in the forum OSVVM 1 year, 7 months ago
Hi Adam,
If C_PHY_GEN_TRUE is a top level generic, OSVVM will allow you to specify it for either simulate or RunTest. As long as your simulator supports that, it should work just fine. Generate is resolved at elaboration time – which is the first step of simulation.Have you tried something like this and it failed to work?
Jim
-
Brad Adam replied to the topic Scripting dual-language testbench (VHDL / Verilog) in the forum OSVVM 1 year, 7 months ago
Okay, this is very helpful information and from this I believe the answer to what I am trying to do is probably no.
Looking at TestStandAlone.vhd assume there is a generate statement that decides if xMiiPhy gets created or not.
phy_gen : if C_PHY_GEN_TRUE = 1 generatexMiiPhy_1 : xMiiPhy
generic map (
MII_INTERFACE =>…[Read more] -
Jim Lewis replied to the topic Scripting dual-language testbench (VHDL / Verilog) in the forum OSVVM 1 year, 7 months ago
In OsvvmLibraries/Ethernet/TestStandAlone/TestStandAlone.pro, I set the generics for the top level test by doing:
simulate Tb_xMii1 [generic MII_INTERFACE RGMII] [generic MII_BPS BPS_1G]
Here Tb_xMii1 is the name of the configuration for the testharness (named TbStandAlone).
So if you have not already, add top level generics to the…[Read more]
-
Brad Adam replied to the topic Scripting dual-language testbench (VHDL / Verilog) in the forum OSVVM 1 year, 7 months ago
Hey,
glbl is a verilog file referenced by an IP from a third party vendor.
Is it possible to set a generic for a file that is analyzed before simulation? Looking at the script users guide I would think that SetExtendedAnalyzeOptions is meant to accomplish this but I could be using the command incorrectly. Is it possible to use…[Read more]
-
Jim Lewis replied to the topic Scripting dual-language testbench (VHDL / Verilog) in the forum OSVVM 1 year, 7 months ago
Have you tried:
simulate DUT_test glbl -L unisim [generic C_EXAMPLE_PARAM 1]
What library is glbl in? If it were VHDL and glbl is in the unisim library, the glbl would be referenced as unisim.glbl.
If all of your simulations nee glbl and unisim library, you can do
SetExtendedSimulateOptions "-L unisim"
[Read more]
SetSecondSimulationTopLevel… -
Brad Adam started the topic Scripting dual-language testbench (VHDL / Verilog) in the forum OSVVM 1 year, 7 months ago
Hello,
I’m wondering if there has been any documentation made for using some script functions with a dual-language testbench. Looking through past articles I’ve found discussion of topics that come close to what I am trying to do but none of which speak to .pro (or since I’m simulating in Riviera .do) considerations.
The core of what I am…[Read more]
-
Joyce became a registered member 1 year, 7 months ago
-
Preston became a registered member 1 year, 7 months ago
- Load More