forked from mdivjak/Icy_Tower
-
Notifications
You must be signed in to change notification settings - Fork 0
/
REGX.bsf
91 lines (91 loc) · 2.64 KB
/
REGX.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
/*
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) 2017 Intel Corporation. All rights reserved.
Your use of Intel 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 Intel Program License
Subscription Agreement, the Intel Quartus Prime License Agreement,
the Intel 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 Intel and sold by Intel or its
authorized distributors. Please refer to the applicable
agreement for further details.
*/
(header "symbol" (version "1.2"))
(symbol
(rect 64 64 296 144)
(text "REGX" (rect 5 0 34 12)(font "Arial" ))
(text "inst" (rect 8 64 25 76)(font "Arial" ))
(port
(pt 0 24)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 19 35 31)(font "Arial" ))
(line (pt 0 24)(pt 16 24))
)
(port
(pt 0 40)
(input)
(text "ld" (rect 0 0 8 12)(font "Arial" ))
(text "ld" (rect 21 35 29 47)(font "Arial" ))
(line (pt 0 40)(pt 16 40))
)
(port
(pt 0 56)
(input)
(text "cl" (rect 0 0 8 12)(font "Arial" ))
(text "cl" (rect 21 51 29 63)(font "Arial" ))
(line (pt 0 56)(pt 16 56))
)
(port
(pt 232 32)
(input)
(text "inc" (rect 0 0 14 12)(font "Arial" ))
(text "inc" (rect 193 24 207 36)(font "Arial" ))
(line (pt 216 32)(pt 232 32))
)
(port
(pt 232 48)
(input)
(text "dec" (rect 0 0 17 12)(font "Arial" ))
(text "dec" (rect 190 40 207 52)(font "Arial" ))
(line (pt 216 48)(pt 232 48))
)
(port
(pt 112 0)
(input)
(text "data_in[size-1..0]" (rect 0 0 83 12)(font "Arial" ))
(text "DIN" (rect 104 16 124 28)(font "Arial" ))
(line (pt 112 0)(pt 112 16)(line_width 3))
)
(port
(pt 112 80)
(output)
(text "data_out[size-1..0]" (rect 0 -64 90 -52)(font "Arial" ))
(text " DOUT" (rect 96 48 133 60)(font "Arial" ))
(line (pt 112 80)(pt 112 64)(line_width 3))
)
(parameter
"size"
"16"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"default_value"
"0"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(text "REGISTAR" (rect 88 32 150 46)(font "Arial" (color 0 0 0)(font_size 8)(bold)))
(rectangle (rect 16 16 216 64))
)
(annotation_block (parameter)(rect 296 24 488 64))
)