All Questions

Tagged with
Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

Using string type in VHDL

To make it easier to read a waveform in the testbench, I want to use a signal/variable that is of string type. Basically e.g when I am reading address 0x03 from an SPI device, the string shall say ...
1
vote
1answer
868 views

How does to reverse items in an array type

I have a function that works with string passed to it. The string should be defined as "a to b" rather than "a downto b". I have the following questions: How to find out if the string passed is ...
3
votes
1answer
6k views

VHDL: Is it possible to have a “variable length” string in VHDL like in programming languages?

According to the package named Standard in VHDL, the string is actually declared as array of character type where the character type itself is also defined within the package. Provided that I am ...