-
Notifications
You must be signed in to change notification settings - Fork 0
/
ROM.bsf
107 lines (107 loc) · 3.61 KB
/
ROM.bsf
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-2013 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 from 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.2"))
(symbol
(rect 0 0 216 128)
(text "ROM" (rect 89 0 124 16)(font "Arial" (font_size 10)))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "address[5..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
(text "address[5..0]" (rect 4 16 78 31)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 88 32)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 4 96 33 111)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 144 112))
)
(port
(pt 184 128)
(input)
(text "aclr" (rect 0 0 14 21)(font "Arial" (font_size 8))(vertical))
(text "aclr" (rect 168 104 183 124)(font "Arial" (font_size 8))(vertical))
)
(port
(pt 184 128)
(input)
(text "outaclr" (rect 0 0 14 38)(font "Arial" (font_size 8))(vertical))
(text "outaclr" (rect 168 86 183 124)(font "Arial" (font_size 8))(vertical))
)
(port
(pt 168 128)
(input)
(text "inaclr" (rect 0 0 14 30)(font "Arial" (font_size 8))(vertical))
(text "inaclr" (rect 152 94 167 124)(font "Arial" (font_size 8))(vertical))
)
(port
(pt 216 32)
(output)
(text "q[9..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[9..0]" (rect 176 16 211 31)(font "Arial" (font_size 8)))
(line (pt 216 32)(pt 160 32)(line_width 3))
)
(drawing
(text "10 bits" (rect 106 29 198 170)(font "Arial" )(vertical))
(text "64 words" (rect 120 15 219 184)(font "Arial" )(vertical))
(text "Block type: AUTO" (rect 48 111 186 236)(font "Arial" ))
(line (pt 104 24)(pt 136 24))
(line (pt 136 24)(pt 136 96))
(line (pt 136 96)(pt 104 96))
(line (pt 104 96)(pt 104 24))
(line (pt 118 58)(pt 123 63))
(line (pt 118 62)(pt 123 57))
(line (pt 152 27)(pt 160 27))
(line (pt 160 27)(pt 160 39))
(line (pt 160 39)(pt 152 39))
(line (pt 152 39)(pt 152 27))
(line (pt 152 34)(pt 154 36))
(line (pt 154 36)(pt 152 38))
(line (pt 144 36)(pt 152 36))
(line (pt 136 32)(pt 152 32)(line_width 3))
(line (pt 156 39)(pt 156 43))
(line (pt 88 27)(pt 96 27))
(line (pt 96 27)(pt 96 39))
(line (pt 96 39)(pt 88 39))
(line (pt 88 39)(pt 88 27))
(line (pt 88 34)(pt 90 36))
(line (pt 90 36)(pt 88 38))
(line (pt 80 36)(pt 88 36))
(line (pt 96 32)(pt 104 32)(line_width 3))
(line (pt 92 39)(pt 92 43))
(line (pt 80 112)(pt 80 36))
(line (pt 144 112)(pt 144 36))
(line (pt 0 0)(pt 217 0))
(line (pt 217 0)(pt 217 130))
(line (pt 0 130)(pt 217 130))
(line (pt 0 0)(pt 0 130))
(line (pt 184 129)(pt 184 89))
(line (pt 184 129)(pt 184 89))
(line (pt 168 129)(pt 168 89))
(line (pt 0 0)(pt 0 0))
(line (pt 0 0)(pt 0 0))
(line (pt 0 0)(pt 0 0))
(line (pt 0 0)(pt 0 0))
)
)