Replace wire with logic
This commit is contained in:
parent
4bacded87a
commit
3539f67764
2 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ module clk_div #(
|
|||
input clk_in,
|
||||
output clk_out
|
||||
);
|
||||
wire [LOG_DIVISOR-1:0] q;
|
||||
logic [LOG_DIVISOR-1:0] q;
|
||||
|
||||
always_ff @(posedge clk_in)
|
||||
q <= q + 1;
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ module rv32_branch (
|
|||
/* control out */
|
||||
output taken_out
|
||||
);
|
||||
wire non_zero = |result_in;
|
||||
logic non_zero = |result_in;
|
||||
|
||||
always_comb begin
|
||||
case (op_in)
|
||||
|
|
|
|||
Loading…
Reference in a new issue