Some articles say that if I want to achieve different functions / tasks, it's better to separate the sensitivity list into multiple blocks. So, I'm wondering if I can really do this?
For example, instead of writing
always_ff @(posedge clk) begin
b <= c;
a <= b;
end
Can I write the following one to achieve the same function?
always_ff @(posedge clk) begin
b <= c;
end
always_ff @(posedge clk) begin
a <= b;
end
I also found a similar question: In Verilog , if the always@ block is executed sequentially , how do non-blocking statements work since they are executed parallely?. But I don't know if it works for multiple always blocks.
