-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing VUunit macros for ActiveHDL simulator when running in GUI mode #705
Comments
Here is the user manual excerpt for the scripterconf command. It has been taken from the user manual of the ActiveHDL 11.1 64x. |
Any updates on this issue? |
@curiousengineer @maleiter I made a start on this. See if it works with your Aldec version. |
…ommands to Active-HDL. Closes #705.
I have moved on to different roles now. If anyone knows how to do
compilation and restart a test from within ActiveHDL then kindly let me
know.
…On Fri, 14 Jun 2024 at 22:54, Lars Asplund ***@***.***> wrote:
@curiousengineer <https://github.com/curiousengineer> @maleiter
<https://github.com/maleiter> I made a start on this. See if it works
with your Aldec version.
—
Reply to this email directly, view it on GitHub
<#705 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEV27DOGIQZT3DMJPTYRSYLZHNQ73AVCNFSM6AAAAABJIDD26KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRYHAYTANRRG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
WebRep
Overall rating
WebRep
Overall rating
|
Perfect, I've tested it and it works as expected (Active-HDL 15.0 running on Windows 11). |
Thanks @maleiter! I will merge it. |
…, and vunit_user_init TCL commands to Active-HDL. Closes #705.
…, and vunit_user_init TCL commands to Active-HDL. Closes #705.
When a simulator runs in GUI mode, the following procedures are expected to be available from the GUI console window:
These are defined inside TCL files that are automatically generated by VUnit. These files are "sourced" into the simulator once it starts in GUI mode. The script files are called gui.tcl, common.tcl and batch.tcl.
The existing version of VUnit does not define all of these macros for ActiveHDL. They are all supposed to work in ModelSim and RivieraPro according to my current understanding. The reason for not defining all of them is that ActiveHDL console is not a true TCL console. This is partially true in that by default the console is not in TCL mode. This can be changed by executing scripterconf -tcl command. This shall change the console mode into a true TCL console.
At present vunit_run and vunit_load are defined inside the common.tcl. They can be run from the console window once it has been put into TCL mode by executing the scripterconf -tcl command. It should be possible to describe the rest of the commands vunit_user_init, vunit_compile and vunit_restart for ActiveHDL also.
The script generation happens inside activehdl.py for ActiveHDL. The details of scripterconf can be found inside user manual of ActiveHDL.
The text was updated successfully, but these errors were encountered: