nettek
Newbie level 3
Hi,
I have a large design in HDL designer that includes a graphical state machine block and many other blocks. In the design are also lots of internal signals. There are two things I want to do:
1. Use attributes to preserve the current_state and next_state (or just one of them) signals so I can later view them with SignalTap.
2. Be able to use those internal signals in my testbench for the purpose of simulation. For example, if current_state = X then... I also need to use the other signals in my design, not just state machine signals.
I've seen a potential solution here:
https://stackoverflow.com/questions...rnal-signals-to-testbench-in-vhdl-97-and-isim
But while I did succeed in creating a package, I did not succeed in doing step 2. This is because I don't know how to take a signal that exists in a graphical interface and assign it to a global signal in a package.
So, do you have any ideas? Or, can you help me implement the above solution in HDL designer?
Thank you!
I have a large design in HDL designer that includes a graphical state machine block and many other blocks. In the design are also lots of internal signals. There are two things I want to do:
1. Use attributes to preserve the current_state and next_state (or just one of them) signals so I can later view them with SignalTap.
2. Be able to use those internal signals in my testbench for the purpose of simulation. For example, if current_state = X then... I also need to use the other signals in my design, not just state machine signals.
I've seen a potential solution here:
https://stackoverflow.com/questions...rnal-signals-to-testbench-in-vhdl-97-and-isim
But while I did succeed in creating a package, I did not succeed in doing step 2. This is because I don't know how to take a signal that exists in a graphical interface and assign it to a global signal in a package.
So, do you have any ideas? Or, can you help me implement the above solution in HDL designer?
Thank you!