summaryrefslogtreecommitdiffstats
path: root/megacells/fifo_1kx16.bsf
blob: 2de80816f6967c3df20a55c7e88a0b3703bb63b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2006 Altera Corporation
Your use of Altera Corporation's design tools, logic functions 
and other software and tools, and its AMPP partner logic 
functions, and any output files any of the foregoing 
(including device programming or simulation files), and any 
associated documentation or information are expressly subject 
to the terms and conditions of the Altera Program License 
Subscription Agreement, Altera MegaCore Function License 
Agreement, or other applicable license agreement, including, 
without limitation, that your use is for the sole purpose of 
programming logic devices manufactured by Altera and sold by 
Altera or its authorized distributors.  Please refer to the 
applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
	(rect 0 0 160 160)
	(text "fifo_1kx16" (rect 51 1 119 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 144 25 156)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[15..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "data[15..0]" (rect 20 26 71 39)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 56)
		(input)
		(text "wrreq" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "wrreq" (rect 20 50 45 63)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "rdreq" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "rdreq" (rect 20 66 44 79)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 26 90 49 103)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "aclr" (rect 0 0 21 14)(font "Arial" (font_size 8)))
		(text "aclr" (rect 20 122 37 135)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128)(line_width 1))
	)
	(port
		(pt 160 32)
		(output)
		(text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "q[15..0]" (rect 105 26 141 39)(font "Arial" (font_size 8)))
		(line (pt 160 32)(pt 144 32)(line_width 3))
	)
	(port
		(pt 160 56)
		(output)
		(text "full" (rect 0 0 16 14)(font "Arial" (font_size 8)))
		(text "full" (rect 127 50 142 63)(font "Arial" (font_size 8)))
		(line (pt 160 56)(pt 144 56)(line_width 1))
	)
	(port
		(pt 160 72)
		(output)
		(text "empty" (rect 0 0 34 14)(font "Arial" (font_size 8)))
		(text "empty" (rect 112 66 141 79)(font "Arial" (font_size 8)))
		(line (pt 160 72)(pt 144 72)(line_width 1))
	)
	(port
		(pt 160 88)
		(output)
		(text "almost_empty" (rect 0 0 77 14)(font "Arial" (font_size 8)))
		(text "almost_empty" (rect 75 82 141 95)(font "Arial" (font_size 8)))
		(line (pt 160 88)(pt 144 88)(line_width 1))
	)
	(port
		(pt 160 104)
		(output)
		(text "usedw[9..0]" (rect 0 0 68 14)(font "Arial" (font_size 8)))
		(text "usedw[9..0]" (rect 83 98 136 111)(font "Arial" (font_size 8)))
		(line (pt 160 104)(pt 144 104)(line_width 3))
	)
	(drawing
		(text "16 bits x 1024 words" (rect 58 132 144 144)(font "Arial" ))
		(text "almost_empty < 504" (rect 58 122 144 134)(font "Arial" ))
		(line (pt 16 16)(pt 144 16)(line_width 1))
		(line (pt 144 16)(pt 144 144)(line_width 1))
		(line (pt 144 144)(pt 16 144)(line_width 1))
		(line (pt 16 144)(pt 16 16)(line_width 1))
		(line (pt 16 116)(pt 144 116)(line_width 1))
		(line (pt 16 90)(pt 22 96)(line_width 1))
		(line (pt 22 96)(pt 16 102)(line_width 1))
	)
)