diff options
author | Pacien TRAN-GIRARD | 2014-04-11 22:37:38 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-04-11 22:37:38 +0200 |
commit | 693a38c41f26c27e54a7e8b96c550eaf6008b56f (patch) | |
tree | bfaf35489c2d01664b2716495a0afa1e0fa316a8 /FPGA/display/seven_segment_decoder.bsf | |
parent | f13848cd9cd2aba2af4200ea497a10f946a44040 (diff) | |
download | fpga-home-automation-693a38c41f26c27e54a7e8b96c550eaf6008b56f.tar.gz |
Add display module
Diffstat (limited to 'FPGA/display/seven_segment_decoder.bsf')
-rw-r--r-- | FPGA/display/seven_segment_decoder.bsf | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/FPGA/display/seven_segment_decoder.bsf b/FPGA/display/seven_segment_decoder.bsf new file mode 100644 index 0000000..2b2db67 --- /dev/null +++ b/FPGA/display/seven_segment_decoder.bsf | |||
@@ -0,0 +1,49 @@ | |||
1 | /* | ||
2 | WARNING: Do NOT edit the input and output ports in this file in a text | ||
3 | editor if you plan to continue editing the block that represents it in | ||
4 | the Block Editor! File corruption is VERY likely to occur. | ||
5 | */ | ||
6 | /* | ||
7 | Copyright (C) 1991-2013 Altera Corporation | ||
8 | Your use of Altera Corporation's design tools, logic functions | ||
9 | and other software and tools, and its AMPP partner logic | ||
10 | functions, and any output files from any of the foregoing | ||
11 | (including device programming or simulation files), and any | ||
12 | associated documentation or information are expressly subject | ||
13 | to the terms and conditions of the Altera Program License | ||
14 | Subscription Agreement, Altera MegaCore Function License | ||
15 | Agreement, or other applicable license agreement, including, | ||
16 | without limitation, that your use is for the sole purpose of | ||
17 | programming logic devices manufactured by Altera and sold by | ||
18 | Altera or its authorized distributors. Please refer to the | ||
19 | applicable agreement for further details. | ||
20 | */ | ||
21 | (header "symbol" (version "1.1")) | ||
22 | (symbol | ||
23 | (rect 16 16 192 96) | ||
24 | (text "seven_segment_decoder" (rect 5 0 107 12)(font "Arial" )) | ||
25 | (text "inst" (rect 8 64 20 76)(font "Arial" )) | ||
26 | (port | ||
27 | (pt 0 32) | ||
28 | (input) | ||
29 | (text "hexa[3..0]" (rect 0 0 38 12)(font "Arial" )) | ||
30 | (text "hexa[3..0]" (rect 21 27 59 39)(font "Arial" )) | ||
31 | (line (pt 0 32)(pt 16 32)(line_width 3)) | ||
32 | ) | ||
33 | (port | ||
34 | (pt 176 32) | ||
35 | (output) | ||
36 | (text "hex[6..0]" (rect 0 0 34 12)(font "Arial" )) | ||
37 | (text "hex[6..0]" (rect 121 27 155 39)(font "Arial" )) | ||
38 | (line (pt 176 32)(pt 160 32)(line_width 3)) | ||
39 | ) | ||
40 | (parameter | ||
41 | "active_low" | ||
42 | "true" | ||
43 | "" | ||
44 | (type "PARAMETER_ENUM") ) | ||
45 | (drawing | ||
46 | (rectangle (rect 16 16 160 64)(line_width 1)) | ||
47 | ) | ||
48 | (annotation_block (parameter)(rect 192 -64 292 16)) | ||
49 | ) | ||