mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-22 15:15:51 +00:00
Small adjustments
This commit is contained in:
parent
8f5b20c423
commit
b1f4d0d8aa
2 changed files with 17 additions and 17 deletions
|
|
@ -178,7 +178,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;
|
||||
|
|
@ -197,7 +197,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 = 4'sd6 - a;
|
||||
|
|
@ -216,7 +216,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 = 4'sd6 - a;
|
||||
|
|
@ -237,7 +237,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;
|
||||
|
|
@ -256,7 +256,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;
|
||||
|
|
@ -275,7 +275,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;
|
||||
|
|
@ -294,7 +294,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;
|
||||
|
|
@ -315,7 +315,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);
|
||||
|
|
@ -334,7 +334,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);
|
||||
|
|
@ -353,7 +353,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);
|
||||
|
|
@ -372,7 +372,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);
|
||||
|
|
@ -393,7 +393,7 @@ log -push
|
|||
read_verilog <<EOT
|
||||
module top(
|
||||
input signed [3:0] a,
|
||||
output signed [7:0] y,
|
||||
output signed [7:0] y
|
||||
output signed [7:0] z,
|
||||
);
|
||||
wire signed [7:0] add;
|
||||
|
|
@ -414,7 +414,7 @@ log -push
|
|||
read_verilog <<EOT
|
||||
module top(
|
||||
input signed [3:0] a,
|
||||
output signed [7:0] y,
|
||||
output signed [7:0] y
|
||||
output signed [7:0] z,
|
||||
);
|
||||
wire signed [7:0] add;
|
||||
|
|
@ -435,7 +435,7 @@ log -push
|
|||
read_verilog <<EOT
|
||||
module top(
|
||||
input signed [3:0] a,
|
||||
output signed [7:0] y,
|
||||
output signed [7:0] y
|
||||
output signed [7:0] z,
|
||||
);
|
||||
wire signed [7:0] sub;
|
||||
|
|
@ -456,7 +456,7 @@ log -push
|
|||
read_verilog <<EOT
|
||||
module top(
|
||||
input signed [3:0] a,
|
||||
output signed [7:0] y,
|
||||
output signed [7:0] y
|
||||
output signed [7:0] z,
|
||||
);
|
||||
wire signed [7:0] sub;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue