Skip to content

Commit

Permalink
modify tab into space line 40-43 and 45in project.v
Browse files Browse the repository at this point in the history
  • Loading branch information
Electom committed Sep 6, 2024
1 parent 34ea763 commit 213ea90
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/project.v
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ module tt_um_Electom_cla_4bits(
assign g = a & b;
assign p = a | b;

assign c[0] = g[0] | (p[0] & ci);
assign c[1] = g[1] | (p[1] & g[0]) | (p[1] & p[0] & ci);
assign c[2] = g[2] | (p[2] & g[1]) | (p[2] & p[1] & g[0]) | (p[2] & p[1] & p[0] & ci);
assign co_w = g[3] | (p[3] & g[2]) | (p[3] & p[2] & g[1]) | (p[3] & p[2] & p[1] & g[0]) | (p[3] & p[2] & p[1] & p[0] & ci);
assign c[0] = g[0] | (p[0] & ci);
assign c[1] = g[1] | (p[1] & g[0]) | (p[1] & p[0] & ci);
assign c[2] = g[2] | (p[2] & g[1]) | (p[2] & p[1] & g[0]) | (p[2] & p[1] & p[0] & ci);
assign co_w = g[3] | (p[3] & g[2]) | (p[3] & p[2] & g[1]) | (p[3] & p[2] & p[1] & g[0]) | (p[3] & p[2] & p[1] & p[0] & ci);

assign s_w = (p & ~g) ^ {c[2 : 0], ci};
assign s_w = (p & ~g) ^ {c[2 : 0], ci};

always @(posedge clk or negedge rst_n) begin
if(!rst_n) begin
Expand Down

0 comments on commit 213ea90

Please sign in to comment.