avl_adxcfg: Consistently use non-blocking assignments

In this particular case the behaviour is the same with non-blocking and
blocking assignments, but that could change if the code is modified in the
future. To avoid any potentially issue due to this consistently use
non-blocking assignments.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2017-07-21 15:04:01 +02:00
parent bd8d676346
commit 63f280676a
1 changed files with 5 additions and 5 deletions

View File

@ -111,7 +111,7 @@ module avl_adxcfg (
rcfg_write_int <= 1'd0; rcfg_write_int <= 1'd0;
rcfg_address_int <= 10'd0; rcfg_address_int <= 10'd0;
rcfg_writedata_int <= 32'd0; rcfg_writedata_int <= 32'd0;
rcfg_readdata_int = 32'd0; rcfg_readdata_int <= 32'd0;
rcfg_waitrequest_int_0 <= 1'b1; rcfg_waitrequest_int_0 <= 1'b1;
rcfg_waitrequest_int_1 <= 1'b1; rcfg_waitrequest_int_1 <= 1'b1;
end else begin end else begin
@ -123,7 +123,7 @@ module avl_adxcfg (
rcfg_address_int <= 10'd0; rcfg_address_int <= 10'd0;
rcfg_writedata_int <= 32'd0; rcfg_writedata_int <= 32'd0;
end end
rcfg_readdata_int = rcfg_readdata_s; rcfg_readdata_int <= rcfg_readdata_s;
rcfg_waitrequest_int_0 <= rcfg_waitrequest_s | rcfg_select[0]; rcfg_waitrequest_int_0 <= rcfg_waitrequest_s | rcfg_select[0];
rcfg_waitrequest_int_1 <= rcfg_waitrequest_s | ~rcfg_select[0]; rcfg_waitrequest_int_1 <= rcfg_waitrequest_s | ~rcfg_select[0];
end else if ((rcfg_in_read_0 == 1'b1) || (rcfg_in_write_0 == 1'b1)) begin end else if ((rcfg_in_read_0 == 1'b1) || (rcfg_in_write_0 == 1'b1)) begin
@ -132,7 +132,7 @@ module avl_adxcfg (
rcfg_write_int <= rcfg_in_write_0; rcfg_write_int <= rcfg_in_write_0;
rcfg_address_int <= rcfg_in_address_0; rcfg_address_int <= rcfg_in_address_0;
rcfg_writedata_int <= rcfg_in_writedata_0; rcfg_writedata_int <= rcfg_in_writedata_0;
rcfg_readdata_int = 32'd0; rcfg_readdata_int <= 32'd0;
rcfg_waitrequest_int_0 <= 1'b1; rcfg_waitrequest_int_0 <= 1'b1;
rcfg_waitrequest_int_1 <= 1'b1; rcfg_waitrequest_int_1 <= 1'b1;
end else if ((rcfg_in_read_1 == 1'b1) || (rcfg_in_write_1 == 1'b1)) begin end else if ((rcfg_in_read_1 == 1'b1) || (rcfg_in_write_1 == 1'b1)) begin
@ -141,7 +141,7 @@ module avl_adxcfg (
rcfg_write_int <= rcfg_in_write_1; rcfg_write_int <= rcfg_in_write_1;
rcfg_address_int <= rcfg_in_address_1; rcfg_address_int <= rcfg_in_address_1;
rcfg_writedata_int <= rcfg_in_writedata_1; rcfg_writedata_int <= rcfg_in_writedata_1;
rcfg_readdata_int = 32'd0; rcfg_readdata_int <= 32'd0;
rcfg_waitrequest_int_0 <= 1'b1; rcfg_waitrequest_int_0 <= 1'b1;
rcfg_waitrequest_int_1 <= 1'b1; rcfg_waitrequest_int_1 <= 1'b1;
end else begin end else begin
@ -150,7 +150,7 @@ module avl_adxcfg (
rcfg_write_int <= 1'd0; rcfg_write_int <= 1'd0;
rcfg_address_int <= 10'd0; rcfg_address_int <= 10'd0;
rcfg_writedata_int <= 32'd0; rcfg_writedata_int <= 32'd0;
rcfg_readdata_int = 32'd0; rcfg_readdata_int <= 32'd0;
rcfg_waitrequest_int_0 <= 1'b1; rcfg_waitrequest_int_0 <= 1'b1;
rcfg_waitrequest_int_1 <= 1'b1; rcfg_waitrequest_int_1 <= 1'b1;
end end