shaiko
Advanced Member level 5
- Joined
- Aug 20, 2011
- Messages
- 2,644
- Helped
- 303
- Reputation
- 608
- Reaction score
- 297
- Trophy points
- 1,363
- Activity points
- 18,302
Hello,
x is defined as:
I want 'x' to be incremented by 1 with relation to the simulation time - for example:
"00000000" at time: 10 ns
"00000001" at time: 20 ns
"00000010" at time: 30 ns
The obvious will be:
But because the time interval is constant ( 10 ns ) I'm looking for a way to do the same in an iterative form.
Please post an example.
x is defined as:
Code:
signal x: std_logic_vector ( 7 downto 0 ) ;
"00000000" at time: 10 ns
"00000001" at time: 20 ns
"00000010" at time: 30 ns
The obvious will be:
Code:
x <=
"00000000" after 10 ns ,
"00000001" after 20 ns ,
"00000010" after 30 ns ;
But because the time interval is constant ( 10 ns ) I'm looking for a way to do the same in an iterative form.
Please post an example.