B
Bert Cuzeau
Guest
Hi Tony,
Thanks for the good words about the Coding Rules. It takes time to shape
up, publish, fix and keep up-to-date this kind of documents, but I think
it's worth it. (I should have done so earlier)
---
We use now Tcl a LOT.
Having to teach the language did help ;-) but the ground isn't very
difficult, just surprising at first. In the Doulos course, we teach a
lot in three days, including the basics of Tk, event programming etc...
There are lots of good books and free ressources available.
With ModelSim, you can tie VHDL events to Tcl events, which opens
virtually unlimited possibilities. (I think I put on my Website a small
example to read the date/time info from VHDL).
However, I'm NOT at all a fan of Tcl for writing testbenches !
(controlling the stimuli and checking the outputs)
Stimuli and output checking should be done in HDL !
Scripts are wonderful for task automation, like for synthesis and P&R.
With Quartus, it's a breeze.
With Modelsim, you can do also fancy things with Tcl to manage your
project, interact with the user, like for selecting a test scenario or
calling other utilities to prepare or exploit simulation files, or even
interact with actual peripherals...
Considering that Tcl is easy to learn and free, and seeing the
productivity improvement it does procure, I think it's a good investment.
Thanks,
Bert
dutchgoldtony wrote:
Thanks for the good words about the Coding Rules. It takes time to shape
up, publish, fix and keep up-to-date this kind of documents, but I think
it's worth it. (I should have done so earlier)
---
We use now Tcl a LOT.
Having to teach the language did help ;-) but the ground isn't very
difficult, just surprising at first. In the Doulos course, we teach a
lot in three days, including the basics of Tk, event programming etc...
There are lots of good books and free ressources available.
With ModelSim, you can tie VHDL events to Tcl events, which opens
virtually unlimited possibilities. (I think I put on my Website a small
example to read the date/time info from VHDL).
However, I'm NOT at all a fan of Tcl for writing testbenches !
(controlling the stimuli and checking the outputs)
Stimuli and output checking should be done in HDL !
Scripts are wonderful for task automation, like for synthesis and P&R.
With Quartus, it's a breeze.
With Modelsim, you can do also fancy things with Tcl to manage your
project, interact with the user, like for selecting a test scenario or
calling other utilities to prepare or exploit simulation files, or even
interact with actual peripherals...
Considering that Tcl is easy to learn and free, and seeing the
productivity improvement it does procure, I think it's a good investment.
Thanks,
Bert
dutchgoldtony wrote:
Hi Bert,
I found your coding rules really helpful and concise and will be making
a few cahnges in the future to the way I do things in the future.
Just one question, do you know of any resources / tutorials on using
scripts, tcl or otherwise for synthesis and simulation.
I've only recently started using macro .do files but only for
controlling the test outputs.
Cheers,
Tony