R
rik
Guest
can you assign a register both from a sequential as well as a
combinational always block?
I mean something like,
always @(reset, posedge tclk)
.........
shiftreg_dr[31:0] <= {tdi_in, shiftreg_dr[31:1];
..........
always @(*)
..........
if (count_shiftin == 31)
shiftreg_dr[31:0] = error_value[31:0];
..........
end
as far as race consition is concerned I dont think it will not affect
this since this events taking place at different conditions.
Rik
combinational always block?
I mean something like,
always @(reset, posedge tclk)
.........
shiftreg_dr[31:0] <= {tdi_in, shiftreg_dr[31:1];
..........
always @(*)
..........
if (count_shiftin == 31)
shiftreg_dr[31:0] = error_value[31:0];
..........
end
as far as race consition is concerned I dont think it will not affect
this since this events taking place at different conditions.
Rik