mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 19:51:23 +00:00
efinix: Nuke efinix_gbuf in favor of clkbufmap.
This commit is contained in:
parent
c6765443fd
commit
6b0ac04698
5 changed files with 11 additions and 122 deletions
|
@ -36,6 +36,7 @@ module EFX_FF(
|
|||
output reg Q,
|
||||
input D,
|
||||
input CE,
|
||||
(* clkbuf_sink *)
|
||||
input CLK,
|
||||
input SR
|
||||
);
|
||||
|
@ -100,6 +101,7 @@ endmodule
|
|||
module EFX_GBUFCE(
|
||||
input CE,
|
||||
input I,
|
||||
(* clkbuf_driver *)
|
||||
output O
|
||||
);
|
||||
parameter CE_POLARITY = 1'b1;
|
||||
|
@ -115,11 +117,13 @@ module EFX_RAM_5K(
|
|||
input [WRITE_WIDTH-1:0] WDATA,
|
||||
input [WRITE_ADDR_WIDTH-1:0] WADDR,
|
||||
input WE,
|
||||
(* clkbuf_sink *)
|
||||
input WCLK,
|
||||
input WCLKE,
|
||||
output [READ_WIDTH-1:0] RDATA,
|
||||
input [READ_ADDR_WIDTH-1:0] RADDR,
|
||||
input RE,
|
||||
(* clkbuf_sink *)
|
||||
input RCLK
|
||||
);
|
||||
parameter READ_WIDTH = 20;
|
||||
|
@ -172,4 +176,4 @@ module EFX_RAM_5K(
|
|||
(WRITE_WIDTH == 10) ? 9 : // 512x10
|
||||
(WRITE_WIDTH == 5) ? 10 : -1; // 1024x5
|
||||
|
||||
endmodule
|
||||
endmodule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue