mirror of https://github.com/YosysHQ/yosys.git
Mark seq output ports with "abc_flop_q" attr
This commit is contained in:
parent
1eade06671
commit
58847df1b9
|
@ -132,18 +132,18 @@ endmodule
|
||||||
|
|
||||||
// Positive Edge SiliconBlue FF Cells
|
// Positive Edge SiliconBlue FF Cells
|
||||||
|
|
||||||
module SB_DFF (output `SB_DFF_REG, input C, D);
|
module SB_DFF ((* abc_flop_q *) output `SB_DFF_REG, input C, D);
|
||||||
always @(posedge C)
|
always @(posedge C)
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFE (output `SB_DFF_REG, input C, E, D);
|
module SB_DFFE ((* abc_flop_q *) output `SB_DFF_REG, input C, E, D);
|
||||||
always @(posedge C)
|
always @(posedge C)
|
||||||
if (E)
|
if (E)
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFSR (output `SB_DFF_REG, input C, R, D);
|
module SB_DFFSR ((* abc_flop_q *) output `SB_DFF_REG, input C, R, D);
|
||||||
always @(posedge C)
|
always @(posedge C)
|
||||||
if (R)
|
if (R)
|
||||||
Q <= 0;
|
Q <= 0;
|
||||||
|
@ -151,7 +151,7 @@ module SB_DFFSR (output `SB_DFF_REG, input C, R, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFR (output `SB_DFF_REG, input C, R, D);
|
module SB_DFFR ((* abc_flop_q *) output `SB_DFF_REG, input C, R, D);
|
||||||
always @(posedge C, posedge R)
|
always @(posedge C, posedge R)
|
||||||
if (R)
|
if (R)
|
||||||
Q <= 0;
|
Q <= 0;
|
||||||
|
@ -159,7 +159,7 @@ module SB_DFFR (output `SB_DFF_REG, input C, R, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFSS (output `SB_DFF_REG, input C, S, D);
|
module SB_DFFSS ((* abc_flop_q *) output `SB_DFF_REG, input C, S, D);
|
||||||
always @(posedge C)
|
always @(posedge C)
|
||||||
if (S)
|
if (S)
|
||||||
Q <= 1;
|
Q <= 1;
|
||||||
|
@ -167,7 +167,7 @@ module SB_DFFSS (output `SB_DFF_REG, input C, S, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFS (output `SB_DFF_REG, input C, S, D);
|
module SB_DFFS ((* abc_flop_q *) output `SB_DFF_REG, input C, S, D);
|
||||||
always @(posedge C, posedge S)
|
always @(posedge C, posedge S)
|
||||||
if (S)
|
if (S)
|
||||||
Q <= 1;
|
Q <= 1;
|
||||||
|
@ -175,7 +175,7 @@ module SB_DFFS (output `SB_DFF_REG, input C, S, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFESR (output `SB_DFF_REG, input C, E, R, D);
|
module SB_DFFESR ((* abc_flop_q *) output `SB_DFF_REG, input C, E, R, D);
|
||||||
always @(posedge C)
|
always @(posedge C)
|
||||||
if (E) begin
|
if (E) begin
|
||||||
if (R)
|
if (R)
|
||||||
|
@ -185,7 +185,7 @@ module SB_DFFESR (output `SB_DFF_REG, input C, E, R, D);
|
||||||
end
|
end
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFER (output `SB_DFF_REG, input C, E, R, D);
|
module SB_DFFER ((* abc_flop_q *) output `SB_DFF_REG, input C, E, R, D);
|
||||||
always @(posedge C, posedge R)
|
always @(posedge C, posedge R)
|
||||||
if (R)
|
if (R)
|
||||||
Q <= 0;
|
Q <= 0;
|
||||||
|
@ -193,7 +193,7 @@ module SB_DFFER (output `SB_DFF_REG, input C, E, R, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFESS (output `SB_DFF_REG, input C, E, S, D);
|
module SB_DFFESS ((* abc_flop_q *) output `SB_DFF_REG, input C, E, S, D);
|
||||||
always @(posedge C)
|
always @(posedge C)
|
||||||
if (E) begin
|
if (E) begin
|
||||||
if (S)
|
if (S)
|
||||||
|
@ -203,7 +203,7 @@ module SB_DFFESS (output `SB_DFF_REG, input C, E, S, D);
|
||||||
end
|
end
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFES (output `SB_DFF_REG, input C, E, S, D);
|
module SB_DFFES ((* abc_flop_q *) output `SB_DFF_REG, input C, E, S, D);
|
||||||
always @(posedge C, posedge S)
|
always @(posedge C, posedge S)
|
||||||
if (S)
|
if (S)
|
||||||
Q <= 1;
|
Q <= 1;
|
||||||
|
@ -213,18 +213,18 @@ endmodule
|
||||||
|
|
||||||
// Negative Edge SiliconBlue FF Cells
|
// Negative Edge SiliconBlue FF Cells
|
||||||
|
|
||||||
module SB_DFFN (output `SB_DFF_REG, input C, D);
|
module SB_DFFN ((* abc_flop_q *) output `SB_DFF_REG, input C, D);
|
||||||
always @(negedge C)
|
always @(negedge C)
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFNE (output `SB_DFF_REG, input C, E, D);
|
module SB_DFFNE ((* abc_flop_q *) output `SB_DFF_REG, input C, E, D);
|
||||||
always @(negedge C)
|
always @(negedge C)
|
||||||
if (E)
|
if (E)
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFNSR (output `SB_DFF_REG, input C, R, D);
|
module SB_DFFNSR ((* abc_flop_q *) output `SB_DFF_REG, input C, R, D);
|
||||||
always @(negedge C)
|
always @(negedge C)
|
||||||
if (R)
|
if (R)
|
||||||
Q <= 0;
|
Q <= 0;
|
||||||
|
@ -232,7 +232,7 @@ module SB_DFFNSR (output `SB_DFF_REG, input C, R, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFNR (output `SB_DFF_REG, input C, R, D);
|
module SB_DFFNR ((* abc_flop_q *) output `SB_DFF_REG, input C, R, D);
|
||||||
always @(negedge C, posedge R)
|
always @(negedge C, posedge R)
|
||||||
if (R)
|
if (R)
|
||||||
Q <= 0;
|
Q <= 0;
|
||||||
|
@ -240,7 +240,7 @@ module SB_DFFNR (output `SB_DFF_REG, input C, R, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFNSS (output `SB_DFF_REG, input C, S, D);
|
module SB_DFFNSS ((* abc_flop_q *) output `SB_DFF_REG, input C, S, D);
|
||||||
always @(negedge C)
|
always @(negedge C)
|
||||||
if (S)
|
if (S)
|
||||||
Q <= 1;
|
Q <= 1;
|
||||||
|
@ -248,7 +248,7 @@ module SB_DFFNSS (output `SB_DFF_REG, input C, S, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFNS (output `SB_DFF_REG, input C, S, D);
|
module SB_DFFNS ((* abc_flop_q *) output `SB_DFF_REG, input C, S, D);
|
||||||
always @(negedge C, posedge S)
|
always @(negedge C, posedge S)
|
||||||
if (S)
|
if (S)
|
||||||
Q <= 1;
|
Q <= 1;
|
||||||
|
@ -256,7 +256,7 @@ module SB_DFFNS (output `SB_DFF_REG, input C, S, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFNESR (output `SB_DFF_REG, input C, E, R, D);
|
module SB_DFFNESR ((* abc_flop_q *) output `SB_DFF_REG, input C, E, R, D);
|
||||||
always @(negedge C)
|
always @(negedge C)
|
||||||
if (E) begin
|
if (E) begin
|
||||||
if (R)
|
if (R)
|
||||||
|
@ -266,7 +266,7 @@ module SB_DFFNESR (output `SB_DFF_REG, input C, E, R, D);
|
||||||
end
|
end
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFNER (output `SB_DFF_REG, input C, E, R, D);
|
module SB_DFFNER ((* abc_flop_q *) output `SB_DFF_REG, input C, E, R, D);
|
||||||
always @(negedge C, posedge R)
|
always @(negedge C, posedge R)
|
||||||
if (R)
|
if (R)
|
||||||
Q <= 0;
|
Q <= 0;
|
||||||
|
@ -274,7 +274,7 @@ module SB_DFFNER (output `SB_DFF_REG, input C, E, R, D);
|
||||||
Q <= D;
|
Q <= D;
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFNESS (output `SB_DFF_REG, input C, E, S, D);
|
module SB_DFFNESS ((* abc_flop_q *) output `SB_DFF_REG, input C, E, S, D);
|
||||||
always @(negedge C)
|
always @(negedge C)
|
||||||
if (E) begin
|
if (E) begin
|
||||||
if (S)
|
if (S)
|
||||||
|
@ -284,7 +284,7 @@ module SB_DFFNESS (output `SB_DFF_REG, input C, E, S, D);
|
||||||
end
|
end
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_DFFNES (output `SB_DFF_REG, input C, E, S, D);
|
module SB_DFFNES ((* abc_flop_q *) output `SB_DFF_REG, input C, E, S, D);
|
||||||
always @(negedge C, posedge S)
|
always @(negedge C, posedge S)
|
||||||
if (S)
|
if (S)
|
||||||
Q <= 1;
|
Q <= 1;
|
||||||
|
@ -295,7 +295,7 @@ endmodule
|
||||||
// SiliconBlue RAM Cells
|
// SiliconBlue RAM Cells
|
||||||
|
|
||||||
module SB_RAM40_4K (
|
module SB_RAM40_4K (
|
||||||
output [15:0] RDATA,
|
(* abc_flop_q *) output [15:0] RDATA,
|
||||||
input RCLK, RCLKE, RE,
|
input RCLK, RCLKE, RE,
|
||||||
input [10:0] RADDR,
|
input [10:0] RADDR,
|
||||||
input WCLK, WCLKE, WE,
|
input WCLK, WCLKE, WE,
|
||||||
|
@ -463,7 +463,7 @@ module SB_RAM40_4K (
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_RAM40_4KNR (
|
module SB_RAM40_4KNR (
|
||||||
output [15:0] RDATA,
|
(* abc_flop_q *) output [15:0] RDATA,
|
||||||
input RCLKN, RCLKE, RE,
|
input RCLKN, RCLKE, RE,
|
||||||
input [10:0] RADDR,
|
input [10:0] RADDR,
|
||||||
input WCLK, WCLKE, WE,
|
input WCLK, WCLKE, WE,
|
||||||
|
@ -528,7 +528,7 @@ module SB_RAM40_4KNR (
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_RAM40_4KNW (
|
module SB_RAM40_4KNW (
|
||||||
output [15:0] RDATA,
|
(* abc_flop_q *) output [15:0] RDATA,
|
||||||
input RCLK, RCLKE, RE,
|
input RCLK, RCLKE, RE,
|
||||||
input [10:0] RADDR,
|
input [10:0] RADDR,
|
||||||
input WCLKN, WCLKE, WE,
|
input WCLKN, WCLKE, WE,
|
||||||
|
@ -593,7 +593,7 @@ module SB_RAM40_4KNW (
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
module SB_RAM40_4KNRNW (
|
module SB_RAM40_4KNRNW (
|
||||||
output [15:0] RDATA,
|
(* abc_flop_q *) output [15:0] RDATA,
|
||||||
input RCLKN, RCLKE, RE,
|
input RCLKN, RCLKE, RE,
|
||||||
input [10:0] RADDR,
|
input [10:0] RADDR,
|
||||||
input WCLKN, WCLKE, WE,
|
input WCLKN, WCLKE, WE,
|
||||||
|
|
Loading…
Reference in New Issue