3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 00:55:32 +00:00

Merge branch 'master' of https://github.com/bogdanvuk/yosys into clifford/ext1046

This commit is contained in:
Clifford Wolf 2019-06-20 13:04:04 +02:00
commit 73bd1d59a7
5 changed files with 424 additions and 11 deletions

15
tests/opt/opt_ff_sat.v Normal file
View file

@ -0,0 +1,15 @@
module top(
input clk,
input a,
output b
);
reg b_reg;
initial begin
b_reg <= 0;
end
assign b = b_reg;
always @(posedge clk) begin
b_reg <= a && b_reg;
end
endmodule

4
tests/opt/opt_ff_sat.ys Normal file
View file

@ -0,0 +1,4 @@
read_verilog opt_ff_sat.v
prep -flatten
opt_rmdff -sat
synth