mirror of https://github.com/YosysHQ/yosys.git
Apply suggestions from code review
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
b70aeea35c
commit
8f5b20c423
|
|
@ -81,7 +81,7 @@ log -push
|
|||
read_verilog <<EOT
|
||||
module top(
|
||||
input signed [3:0] a,
|
||||
output signed [7:0] y,
|
||||
output signed [7:0] y
|
||||
);
|
||||
wire signed [7:0] add;
|
||||
assign add = a + 4'sd6;
|
||||
|
|
@ -100,7 +100,7 @@ log -push
|
|||
read_verilog <<EOT
|
||||
module top(
|
||||
input signed [3:0] a,
|
||||
output signed [7:0] y,
|
||||
output signed [7:0] y
|
||||
);
|
||||
wire signed [7:0] add;
|
||||
assign add = a + 4'sd6;
|
||||
|
|
@ -119,7 +119,7 @@ log -push
|
|||
read_verilog <<EOT
|
||||
module top(
|
||||
input signed [3:0] a,
|
||||
output signed [7:0] y,
|
||||
output signed [7:0] y
|
||||
);
|
||||
wire signed [7:0] sub;
|
||||
assign sub = a - 4'sd6;
|
||||
|
|
@ -138,7 +138,7 @@ log -push
|
|||
read_verilog <<EOT
|
||||
module top(
|
||||
input signed [3:0] a,
|
||||
output signed [7:0] y,
|
||||
output signed [7:0] y
|
||||
);
|
||||
wire signed [7:0] sub;
|
||||
assign sub = a - 4'sd6;
|
||||
|
|
@ -159,7 +159,7 @@ log -push
|
|||
read_verilog <<EOT
|
||||
module top(
|
||||
input signed [3:0] a,
|
||||
output signed [7:0] y,
|
||||
output signed [7:0] y
|
||||
);
|
||||
wire signed [7:0] add;
|
||||
assign add = 4'sd6 + a;
|
||||
|
|
|
|||
Loading…
Reference in New Issue