mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 11:20:27 +00:00
Revisions (#4)
* area should be 1 for all LUTs * clean up macros * add log_assert to fail noisily when encountering oddly configured DFF * clean help msg * flatten set to true by default * update * merge mult tests * remove redundant test * move all dsp tests to single file and remove redundant tests * update ram tests * add more dff tests * fix c++20 compile errors * add option to dump verilog * default to use abc9 * remove -abc9 option since its the default now --------- Co-authored-by: tony <minchunlin@gmail.com>
This commit is contained in:
parent
6fe0e00050
commit
d41688f7d7
44 changed files with 435 additions and 1118 deletions
|
@ -51,7 +51,7 @@ module CFG1 (
|
|||
endspecify
|
||||
endmodule
|
||||
|
||||
(* abc9_lut=2 *)
|
||||
(* abc9_lut=1 *)
|
||||
module CFG2 (
|
||||
output Y,
|
||||
input A,
|
||||
|
@ -65,7 +65,7 @@ module CFG2 (
|
|||
endspecify
|
||||
endmodule
|
||||
|
||||
(* abc9_lut=3 *)
|
||||
(* abc9_lut=1 *)
|
||||
module CFG3 (
|
||||
output Y,
|
||||
input A,
|
||||
|
@ -81,7 +81,7 @@ module CFG3 (
|
|||
endspecify
|
||||
endmodule
|
||||
|
||||
(* abc9_lut=3 *)
|
||||
(* abc9_lut=1 *)
|
||||
module CFG4 (
|
||||
output Y,
|
||||
input A,
|
||||
|
@ -291,13 +291,6 @@ module ARI1 (
|
|||
endspecify
|
||||
endmodule
|
||||
|
||||
// module FCEND_BUFF
|
||||
// module FCINIT_BUFF
|
||||
// module FLASH_FREEZE
|
||||
// module OSCILLATOR
|
||||
// module SYSCTRL_RESET_STATUS
|
||||
// module LIVE_PROBE_FB
|
||||
|
||||
(* blackbox *)
|
||||
module GCLKBUF (
|
||||
(* iopad_external_pin *)
|
||||
|
@ -320,28 +313,6 @@ module GCLKBUF_DIFF (
|
|||
);
|
||||
endmodule
|
||||
|
||||
(* blackbox *)
|
||||
module GCLKBIBUF (
|
||||
input D,
|
||||
input E,
|
||||
input EN,
|
||||
(* iopad_external_pin *)
|
||||
inout PAD,
|
||||
(* clkbuf_driver *)
|
||||
output Y
|
||||
);
|
||||
endmodule
|
||||
|
||||
// module DFN1
|
||||
// module DFN1C0
|
||||
// module DFN1E1
|
||||
// module DFN1E1C0
|
||||
// module DFN1E1P0
|
||||
// module DFN1P0
|
||||
// module DLN1
|
||||
// module DLN1C0
|
||||
// module DLN1P0
|
||||
|
||||
module INV (
|
||||
input A,
|
||||
output Y
|
||||
|
@ -588,121 +559,6 @@ module TRIBUFF_DIFF (
|
|||
parameter IOSTD = "";
|
||||
endmodule
|
||||
|
||||
// module DDR_IN
|
||||
// module DDR_OUT
|
||||
// module RAM1K18
|
||||
// module RAM64x18
|
||||
// module MACC
|
||||
|
||||
(* blackbox *)
|
||||
module SYSRESET (
|
||||
(* iopad_external_pin *)
|
||||
input DEVRST_N,
|
||||
output POWER_ON_RESET_N);
|
||||
endmodule
|
||||
|
||||
|
||||
(* blackbox *)
|
||||
module XTLOSC (
|
||||
(* iopad_external_pin *)
|
||||
input XTL,
|
||||
output CLKOUT);
|
||||
parameter [1:0] MODE = 2'h3;
|
||||
parameter real FREQUENCY = 20.0;
|
||||
endmodule
|
||||
|
||||
(* blackbox *)
|
||||
module RAM1K18 (
|
||||
input [13:0] A_ADDR,
|
||||
input [2:0] A_BLK,
|
||||
(* clkbuf_sink *)
|
||||
input A_CLK,
|
||||
input [17:0] A_DIN,
|
||||
output [17:0] A_DOUT,
|
||||
input [1:0] A_WEN,
|
||||
input [2:0] A_WIDTH,
|
||||
input A_WMODE,
|
||||
input A_ARST_N,
|
||||
input A_DOUT_LAT,
|
||||
input A_DOUT_ARST_N,
|
||||
(* clkbuf_sink *)
|
||||
input A_DOUT_CLK,
|
||||
input A_DOUT_EN,
|
||||
input A_DOUT_SRST_N,
|
||||
|
||||
input [13:0] B_ADDR,
|
||||
input [2:0] B_BLK,
|
||||
(* clkbuf_sink *)
|
||||
input B_CLK,
|
||||
input [17:0] B_DIN,
|
||||
output [17:0] B_DOUT,
|
||||
input [1:0] B_WEN,
|
||||
input [2:0] B_WIDTH,
|
||||
input B_WMODE,
|
||||
input B_ARST_N,
|
||||
input B_DOUT_LAT,
|
||||
input B_DOUT_ARST_N,
|
||||
(* clkbuf_sink *)
|
||||
input B_DOUT_CLK,
|
||||
input B_DOUT_EN,
|
||||
input B_DOUT_SRST_N,
|
||||
input A_EN,
|
||||
input B_EN,
|
||||
input SII_LOCK,
|
||||
output BUSY);
|
||||
endmodule
|
||||
|
||||
(* blackbox *)
|
||||
module RAM64x18 (
|
||||
input [9:0] A_ADDR,
|
||||
input [1:0] A_BLK,
|
||||
input [2:0] A_WIDTH,
|
||||
output [17:0] A_DOUT,
|
||||
input A_DOUT_ARST_N,
|
||||
(* clkbuf_sink *)
|
||||
input A_DOUT_CLK,
|
||||
input A_DOUT_EN,
|
||||
input A_DOUT_LAT,
|
||||
input A_DOUT_SRST_N,
|
||||
(* clkbuf_sink *)
|
||||
input A_ADDR_CLK,
|
||||
input A_ADDR_EN,
|
||||
input A_ADDR_LAT,
|
||||
input A_ADDR_SRST_N,
|
||||
input A_ADDR_ARST_N,
|
||||
|
||||
input [9:0] B_ADDR,
|
||||
input [1:0] B_BLK,
|
||||
input [2:0] B_WIDTH,
|
||||
output [17:0] B_DOUT,
|
||||
input B_DOUT_ARST_N,
|
||||
(* clkbuf_sink *)
|
||||
input B_DOUT_CLK,
|
||||
input B_DOUT_EN,
|
||||
input B_DOUT_LAT,
|
||||
input B_DOUT_SRST_N,
|
||||
(* clkbuf_sink *)
|
||||
input B_ADDR_CLK,
|
||||
input B_ADDR_EN,
|
||||
input B_ADDR_LAT,
|
||||
input B_ADDR_SRST_N,
|
||||
input B_ADDR_ARST_N,
|
||||
|
||||
input [9:0] C_ADDR,
|
||||
(* clkbuf_sink *)
|
||||
input C_CLK,
|
||||
input [17:0] C_DIN,
|
||||
input C_WEN,
|
||||
input [1:0] C_BLK,
|
||||
input [2:0] C_WIDTH,
|
||||
|
||||
input A_EN,
|
||||
input B_EN,
|
||||
input C_EN,
|
||||
input SII_LOCK,
|
||||
output BUSY);
|
||||
endmodule
|
||||
|
||||
(* blackbox *)
|
||||
module MACC_PA (
|
||||
input DOTP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue