anusha vasanta
Member level 1
- Joined
- Sep 23, 2014
- Messages
- 34
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 251
Hi all,
is this a proper way of asserting and deasserting my valid signal.
is this a proper way of asserting and deasserting my valid signal.
Code:
for (i=0;i< No_Patterns;i=i+1) begin //apply inputs
@ (posedge clk)
#Clk2Q
data_valid_in = 1; //assert valid signals
cipherkey_valid_in = 1;
plain_text = data_input_vectors[i];
cipher_key = cipherkey_input_vectors[i];
end
@(posedge clk)
data_valid_in = 0; //deassert valid signals
cipherkey_valid_in = 0;