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 an entity input.
y is an entity output.
I want y to be driven by x for some time and by a constant '1' afterwards.
This works correctly:
This doesn't:
I've seen something similar before with Modelsim and assumed it to be a local bug...but now I see the same behavior with Active HDL.
Any idea why it happens?
x is an entity input.
y is an entity output.
I want y to be driven by x for some time and by a constant '1' afterwards.
This works correctly:
Code:
signal aux : std_logic ;
aux <= '0', '1' after 100ns ;
y <= x when aux = '0' else '1' ;
This doesn't:
Code:
y <= x , '1' after 100 us ;
I've seen something similar before with Modelsim and assumed it to be a local bug...but now I see the same behavior with Active HDL.
Any idea why it happens?