uaveiro-leci/1ano/2semestre/lsd/projects/BreadMachine/src/BreadMachineBDF.bdf

617 lines
13 KiB
Plaintext

/*
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) 2020 Intel Corporation. All rights reserved.
Your use of Intel Corporation's design tools, logic functions
and other software and tools, and any 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 FPGA IP 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, at
https://fpgasoftware.intel.com/eula.
*/
(header "graphic" (version "1.4"))
(pin
(input)
(rect 312 336 480 352)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "SW[17..0]" (rect 5 0 53 11)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 72 336 136 352))
)
(pin
(input)
(rect 152 192 320 208)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "CLOCK_50" (rect 5 0 62 11)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 80 208 136 224))
)
(pin
(input)
(rect 152 264 320 280)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "KEY[3..0]" (rect 5 0 52 11)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 72 280 136 296))
)
(pin
(output)
(rect 864 232 1040 248)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDG[2..0]" (rect 90 0 144 13)(font "Intel Clear" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 1056 248 1112 264))
)
(pin
(output)
(rect 864 216 1040 232)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDR[0]" (rect 90 0 132 13)(font "Intel Clear" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 1056 232 1120 248))
)
(pin
(output)
(rect 864 408 1040 424)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "HEX3[6..0]" (rect 116 0 170 13)(font "Intel Clear" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 1144 424 1200 440))
)
(pin
(output)
(rect 864 424 1040 440)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "HEX4[6..0]" (rect 116 0 170 13)(font "Intel Clear" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 1144 440 1208 456))
)
(pin
(output)
(rect 864 392 1040 408)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "HEX2[6..0]" (rect 116 1 170 14)(font "Intel Clear" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 1144 408 1208 424))
)
(pin
(output)
(rect 864 440 1040 456)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "HEX6[6..0]" (rect 117 0 171 13)(font "Intel Clear" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 1144 456 1208 472))
)
(pin
(output)
(rect 864 456 1040 472)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "HEX7[6..0]" (rect 116 0 170 13)(font "Intel Clear" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 1144 472 1216 488))
)
(symbol
(rect 368 208 592 320)
(text "Debouncers" (rect 5 0 66 11)(font "Arial" ))
(text "keys_debouncer" (rect 8 96 90 107)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 27 11)(font "Arial" ))
(text "clock" (rect 21 27 48 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "reset_btn" (rect 0 0 47 11)(font "Arial" ))
(text "reset_btn" (rect 21 43 68 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "start_stop_btn" (rect 0 0 71 11)(font "Arial" ))
(text "start_stop_btn" (rect 21 59 92 70)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "time_adjust_btn" (rect 0 0 79 11)(font "Arial" ))
(text "time_adjust_btn" (rect 21 75 100 86)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 224 32)
(output)
(text "reset_out" (rect 0 0 47 11)(font "Arial" ))
(text "reset_out" (rect 164 27 211 38)(font "Arial" ))
(line (pt 224 32)(pt 208 32))
)
(port
(pt 224 48)
(output)
(text "start_stop_out" (rect 0 0 71 11)(font "Arial" ))
(text "start_stop_out" (rect 143 43 214 54)(font "Arial" ))
(line (pt 224 48)(pt 208 48))
)
(port
(pt 224 64)
(output)
(text "time_adjust_out" (rect 0 0 79 11)(font "Arial" ))
(text "time_adjust_out" (rect 137 59 216 70)(font "Arial" ))
(line (pt 224 64)(pt 208 64))
)
(drawing
(rectangle (rect 16 16 208 96))
)
)
(symbol
(rect 616 192 856 336)
(text "BreadMachineFSM" (rect 5 0 99 11)(font "Arial" ))
(text "fsm" (rect 8 128 28 141)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 27 11)(font "Arial" ))
(text "clock" (rect 21 27 48 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 25 11)(font "Arial" ))
(text "reset" (rect 21 43 46 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "start_stop_but" (rect 0 0 71 11)(font "Arial" ))
(text "start_stop_but" (rect 21 59 92 70)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "time_adj_but" (rect 0 0 64 11)(font "Arial" ))
(text "time_adj_but" (rect 21 75 85 86)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "delayer_sw[6..0]" (rect 0 0 80 11)(font "Arial" ))
(text "delayer_sw[6..0]" (rect 21 91 101 102)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "program_sw" (rect 0 0 62 11)(font "Arial" ))
(text "program_sw" (rect 21 107 83 118)(font "Arial" ))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 240 32)
(output)
(text "in_progress" (rect 0 0 59 11)(font "Arial" ))
(text "in_progress" (rect 170 27 229 38)(font "Arial" ))
(line (pt 240 32)(pt 224 32))
)
(port
(pt 240 48)
(output)
(text "leds_phase[2..0]" (rect 0 0 81 11)(font "Arial" ))
(text "leds_phase[2..0]" (rect 151 43 232 54)(font "Arial" ))
(line (pt 240 48)(pt 224 48)(line_width 3))
)
(port
(pt 240 64)
(output)
(text "current_delay[6..0]" (rect 0 0 92 11)(font "Arial" ))
(text "current_delay[6..0]" (rect 142 59 234 70)(font "Arial" ))
(line (pt 240 64)(pt 224 64)(line_width 3))
)
(port
(pt 240 80)
(output)
(text "current_time[6..0]" (rect 0 0 86 11)(font "Arial" ))
(text "current_time[6..0]" (rect 147 75 233 86)(font "Arial" ))
(line (pt 240 80)(pt 224 80)(line_width 3))
)
(port
(pt 240 96)
(output)
(text "extra_time[3..0]" (rect 0 0 76 11)(font "Arial" ))
(text "extra_time[3..0]" (rect 155 91 231 102)(font "Arial" ))
(line (pt 240 96)(pt 224 96)(line_width 3))
)
(drawing
(rectangle (rect 16 16 224 128))
)
)
(symbol
(rect 640 368 856 512)
(text "DisplaysManager" (rect 5 0 91 11)(font "Arial" ))
(text "displays" (rect 8 128 50 141)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "bin_delay[6..0]" (rect 0 0 71 11)(font "Arial" ))
(text "bin_delay[6..0]" (rect 21 27 92 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "bin_total[6..0]" (rect 0 0 66 11)(font "Arial" ))
(text "bin_total[6..0]" (rect 21 43 87 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "bin_extra[3..0]" (rect 0 0 70 11)(font "Arial" ))
(text "bin_extra[3..0]" (rect 21 59 91 70)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 216 32)
(output)
(text "D_HEX2[6..0]" (rect 0 0 67 11)(font "Arial" ))
(text "D_HEX2[6..0]" (rect 139 27 206 38)(font "Arial" ))
(line (pt 216 32)(pt 200 32)(line_width 3))
)
(port
(pt 216 48)
(output)
(text "D_HEX3[6..0]" (rect 0 0 67 11)(font "Arial" ))
(text "D_HEX3[6..0]" (rect 139 43 206 54)(font "Arial" ))
(line (pt 216 48)(pt 200 48)(line_width 3))
)
(port
(pt 216 64)
(output)
(text "D_HEX4[6..0]" (rect 0 0 67 11)(font "Arial" ))
(text "D_HEX4[6..0]" (rect 139 59 206 70)(font "Arial" ))
(line (pt 216 64)(pt 200 64)(line_width 3))
)
(port
(pt 216 80)
(output)
(text "D_HEX6[6..0]" (rect 0 0 67 11)(font "Arial" ))
(text "D_HEX6[6..0]" (rect 139 75 206 86)(font "Arial" ))
(line (pt 216 80)(pt 200 80)(line_width 3))
)
(port
(pt 216 96)
(output)
(text "D_HEX7[6..0]" (rect 0 0 67 11)(font "Arial" ))
(text "D_HEX7[6..0]" (rect 139 91 206 102)(font "Arial" ))
(line (pt 216 96)(pt 200 96)(line_width 3))
)
(drawing
(rectangle (rect 16 16 200 128))
)
)
(connector
(pt 592 240)
(pt 616 240)
)
(connector
(pt 592 256)
(pt 616 256)
)
(connector
(pt 592 272)
(pt 616 272)
)
(connector
(pt 616 224)
(pt 608 224)
)
(connector
(pt 608 224)
(pt 608 200)
)
(connector
(pt 368 240)
(pt 360 240)
)
(connector
(pt 360 240)
(pt 360 200)
)
(connector
(text "KEY[3]" (rect 333 256 368 269)(font "Intel Clear" ))
(pt 368 256)
(pt 328 256)
)
(connector
(text "KEY[1]" (rect 333 272 368 285)(font "Intel Clear" ))
(pt 368 272)
(pt 328 272)
)
(connector
(pt 320 272)
(pt 328 272)
(bus)
)
(connector
(pt 328 256)
(pt 328 272)
(bus)
)
(connector
(pt 328 272)
(pt 328 288)
(bus)
)
(connector
(text "KEY[0]" (rect 334 288 369 301)(font "Intel Clear" ))
(pt 368 288)
(pt 328 288)
)
(connector
(pt 856 224)
(pt 864 224)
)
(connector
(pt 856 240)
(pt 864 240)
(bus)
)
(connector
(pt 856 288)
(pt 864 288)
(bus)
)
(connector
(pt 616 288)
(pt 600 288)
(bus)
)
(connector
(pt 616 304)
(pt 608 304)
)
(connector
(pt 608 304)
(pt 608 344)
)
(connector
(text "SW[0]" (rect 543 344 576 357)(font "Intel Clear" ))
(pt 608 344)
(pt 536 344)
)
(connector
(pt 600 288)
(pt 600 336)
(bus)
)
(connector
(pt 536 344)
(pt 536 336)
(bus)
)
(connector
(text "SW[17..0]" (rect 488 328 538 341)(font "Intel Clear" ))
(pt 480 344)
(pt 536 344)
(bus)
)
(connector
(pt 360 200)
(pt 608 200)
)
(connector
(pt 320 200)
(pt 360 200)
)
(connector
(text "SW[17..11]" (rect 536 320 592 333)(font "Intel Clear" ))
(pt 600 336)
(pt 536 336)
(bus)
)
(connector
(pt 856 256)
(pt 880 256)
(bus)
)
(connector
(pt 856 272)
(pt 872 272)
(bus)
)
(connector
(pt 864 400)
(pt 856 400)
(bus)
)
(connector
(pt 864 416)
(pt 856 416)
(bus)
)
(connector
(pt 864 432)
(pt 856 432)
(bus)
)
(connector
(pt 864 448)
(pt 856 448)
(bus)
)
(connector
(pt 864 464)
(pt 856 464)
(bus)
)
(connector
(pt 880 256)
(pt 880 360)
(bus)
)
(connector
(pt 880 360)
(pt 632 360)
(bus)
)
(connector
(pt 872 352)
(pt 624 352)
(bus)
)
(connector
(pt 872 272)
(pt 872 352)
(bus)
)
(connector
(pt 864 288)
(pt 864 344)
(bus)
)
(connector
(pt 864 344)
(pt 616 344)
(bus)
)
(connector
(pt 632 360)
(pt 632 400)
(bus)
)
(connector
(pt 624 352)
(pt 624 416)
(bus)
)
(connector
(pt 616 344)
(pt 616 432)
(bus)
)
(connector
(pt 640 400)
(pt 632 400)
(bus)
)
(connector
(pt 640 416)
(pt 624 416)
(bus)
)
(connector
(pt 640 432)
(pt 616 432)
(bus)
)
(junction (pt 360 200))
(junction (pt 328 272))
(junction (pt 536 344))