mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-26 15:39:35 +00:00
filterlib: prefer using precedence over unsynthesizable verilog
This commit is contained in:
parent
d5c1cd8fc0
commit
b3112bf025
5 changed files with 235 additions and 76 deletions
|
|
@ -5,8 +5,11 @@ module dff (D, CLK, Q);
|
|||
output Q;
|
||||
assign Q = IQ; // IQ
|
||||
always @(posedge CLK) begin
|
||||
// "(D)"
|
||||
// D
|
||||
IQ <= D;
|
||||
end
|
||||
always @(posedge CLK) begin
|
||||
// ~(D)
|
||||
IQN <= ~(D);
|
||||
end
|
||||
endmodule
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue