Skip to content

Commit 318e3fb

Browse files
committed
Add ::fifo:1.3
1 parent 48df504 commit 318e3fb

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

fifo/fifo-1.3.core

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
CAPI=2:
2+
3+
name : ::fifo:1.3
4+
description : Generic FIFO
5+
6+
filesets:
7+
rtl:
8+
files:
9+
- rtl/verilog/simple_dpram_sclk.v
10+
- rtl/verilog/fifo.v
11+
- rtl/verilog/fifo_fwft_adapter.v
12+
- rtl/verilog/fifo_fwft.v
13+
- rtl/verilog/dual_clock_fifo.v
14+
file_type : verilogSource
15+
16+
bfm:
17+
files:
18+
- bench/fifo_reader.v
19+
- bench/fifo_fwft_reader.v
20+
- bench/fifo_writer.v
21+
file_type : verilogSource
22+
23+
tb:
24+
files:
25+
- bench/fifo_tester.v
26+
- bench/dual_clock_fifo_tb.v
27+
- bench/fifo_fwft_tb.v
28+
- bench/fifo_tb.v
29+
file_type : verilogSource
30+
depend : [">=::vlog_tb_utils:1.1"]
31+
32+
constraints:
33+
files :
34+
"tool_quartus? (data/fifo.sdc)" : {file_type : SDC}
35+
36+
parameters:
37+
read_rate:
38+
datatype : str
39+
description : FIFO read rate
40+
paramtype : plusarg
41+
42+
write_rate:
43+
datatype : str
44+
description : FIFO write rate
45+
paramtype : plusarg
46+
47+
data_width:
48+
datatype : int
49+
description : FIFO data width
50+
paramtype : vlogparam
51+
52+
depth_width:
53+
datatype : int
54+
description : 2**(FIFO depth)
55+
paramtype : vlogparam
56+
57+
targets:
58+
default:
59+
filesets :
60+
- rtl
61+
- constraints
62+
- "tool_icarus? (bfm)"
63+
- "tool_isim? (bfm)"
64+
- "tool_modelsim? (bfm)"
65+
fifo_fwft_tb: &sim
66+
default_tool : icarus
67+
description : Testbench for First Word Fall Through FIFO
68+
filesets : [rtl, bfm, tb]
69+
parameters : [read_rate, write_rate, data_width, depth_width]
70+
toplevel : fifo_fwft_tb
71+
72+
dual_clock_fifo_tb:
73+
<< : *sim
74+
description : Testbench for dual clock FIFO
75+
toplevel : dual_clock_fifo_tb
76+
77+
fifo_tb:
78+
<< : *sim
79+
description : Testbench single clock FIFO
80+
toplevel : fifo_tb
81+
82+
provider:
83+
name : github
84+
user : olofk
85+
repo : fifo
86+
version : v1.3

0 commit comments

Comments
 (0)