altera/MainController/MainController.bdf

1884 lines
40 KiB
Plaintext
Raw Normal View History

/*
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 "graphic" (version "1.4"))
(pin
(input)
(rect 376 24 544 40)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "FPGA_CLK" (rect 5 0 61 12)(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 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 320 24 368 40))
)
(pin
(input)
(rect 376 264 544 280)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "nOE" (rect 5 0 26 12)(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 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 312 264 368 280))
)
(pin
(input)
(rect 376 280 544 296)
Откорректировал блок памяти RAM для возможной работы с двумя устройствами одновременно. Одно из них - внешний контроллер. Вторым будет блок сбора информации для обновления данных. Сейчас в блоке памяти нет взаимной блокировки для двух независимых процессов и, существует возможность записать в одну и ту же ячейку памяти в один и тот же момент времени разные значения. В нашем проекте поскольку дальше будет введено ограничение, которое обяжет писать служебные и критические (напрямую участвующие в алгоритмах работы преобразователем частоты) данные только в определенные заранее известные регистры, такое невозможно. Память на уровне использования программистом будет поделена две области. Ту, в которую можно писать и считать записанное значение и ту, из которой можно будет только считать значения. Со стороны устройства будут использованы для записи только те ячейки, которые процессор будет только читать. Со стороны процессора будут использованы для записи только те ячейки, которые блоки внутри устройства будут только читать.
2024-03-04 18:16:35 +03:00
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "nWE" (rect 5 0 28 12)(font "Arial" ))
Откорректировал блок памяти RAM для возможной работы с двумя устройствами одновременно. Одно из них - внешний контроллер. Вторым будет блок сбора информации для обновления данных. Сейчас в блоке памяти нет взаимной блокировки для двух независимых процессов и, существует возможность записать в одну и ту же ячейку памяти в один и тот же момент времени разные значения. В нашем проекте поскольку дальше будет введено ограничение, которое обяжет писать служебные и критические (напрямую участвующие в алгоритмах работы преобразователем частоты) данные только в определенные заранее известные регистры, такое невозможно. Память на уровне использования программистом будет поделена две области. Ту, в которую можно писать и считать записанное значение и ту, из которой можно будет только считать значения. Со стороны устройства будут использованы для записи только те ячейки, которые процессор будет только читать. Со стороны процессора будут использованы для записи только те ячейки, которые блоки внутри устройства будут только читать.
2024-03-04 18:16:35 +03:00
(pt 168 8)
(drawing
Откорректировал блок памяти RAM для возможной работы с двумя устройствами одновременно. Одно из них - внешний контроллер. Вторым будет блок сбора информации для обновления данных. Сейчас в блоке памяти нет взаимной блокировки для двух независимых процессов и, существует возможность записать в одну и ту же ячейку памяти в один и тот же момент времени разные значения. В нашем проекте поскольку дальше будет введено ограничение, которое обяжет писать служебные и критические (напрямую участвующие в алгоритмах работы преобразователем частоты) данные только в определенные заранее известные регистры, такое невозможно. Память на уровне использования программистом будет поделена две области. Ту, в которую можно писать и считать записанное значение и ту, из которой можно будет только считать значения. Со стороны устройства будут использованы для записи только те ячейки, которые процессор будет только читать. Со стороны процессора будут использованы для записи только те ячейки, которые блоки внутри устройства будут только читать.
2024-03-04 18:16:35 +03:00
(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))
)
Откорректировал блок памяти RAM для возможной работы с двумя устройствами одновременно. Одно из них - внешний контроллер. Вторым будет блок сбора информации для обновления данных. Сейчас в блоке памяти нет взаимной блокировки для двух независимых процессов и, существует возможность записать в одну и ту же ячейку памяти в один и тот же момент времени разные значения. В нашем проекте поскольку дальше будет введено ограничение, которое обяжет писать служебные и критические (напрямую участвующие в алгоритмах работы преобразователем частоты) данные только в определенные заранее известные регистры, такое невозможно. Память на уровне использования программистом будет поделена две области. Ту, в которую можно писать и считать записанное значение и ту, из которой можно будет только считать значения. Со стороны устройства будут использованы для записи только те ячейки, которые процессор будет только читать. Со стороны процессора будут использованы для записи только те ячейки, которые блоки внутри устройства будут только читать.
2024-03-04 18:16:35 +03:00
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 312 280 368 296))
)
(pin
(input)
(rect 376 248 544 264)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "nCE" (rect 5 0 26 12)(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 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 312 248 368 264))
)
(pin
(input)
(rect 376 584 544 600)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "nBL[1..0]" (rect 5 0 49 12)(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 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 312 584 368 616))
)
(pin
(input)
(rect 376 296 544 312)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "Address[8..0]" (rect 5 0 71 12)(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 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 312 312 368 440))
)
(pin
(input)
(rect 376 664 544 680)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "SBdatain" (rect 5 0 48 12)(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 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 320 664 368 680))
)
(pin
(input)
(rect 368 984 536 1000)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "PBack" (rect 5 0 36 12)(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 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 312 984 360 1000))
)
(pin
(input)
(rect 368 1520 536 1536)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "PWM[5..0]" (rect 5 0 57 12)(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 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 304 1520 360 1608))
)
(pin
(output)
(rect 1840 24 2016 40)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FPGA_LED_1" (rect 90 0 158 12)(font "Arial" ))
(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 2024 24 2080 40))
)
(pin
(output)
(rect 1840 112 2016 128)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FPGA_LED_2" (rect 90 0 158 12)(font "Arial" ))
(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 2024 112 2080 128))
)
(pin
(output)
(rect 1840 128 2016 144)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FPGA_LED_3" (rect 90 0 158 12)(font "Arial" ))
(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 2024 128 2080 144))
)
(pin
(output)
(rect 1848 936 2024 952)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "PBdir[1..0]" (rect 90 0 141 12)(font "Arial" ))
(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 2096 936 2144 968))
)
(pin
(output)
(rect 1848 904 2024 920)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "PBclk" (rect 90 0 118 12)(font "Arial" ))
(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 2032 904 2080 920))
)
(pin
(output)
(rect 1848 920 2024 936)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "PBce" (rect 90 0 115 12)(font "Arial" ))
(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 2032 920 2080 936))
)
(pin
(output)
(rect 1840 56 2016 72)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DIRen" (rect 90 0 121 12)(font "Arial" ))
(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 2024 56 2072 72))
)
(pin
(output)
(rect 1840 -24 2016 -8)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "TKdir[3..0]" (rect 90 0 140 12)(font "Arial" ))
(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 2024 -80 2080 -24))
)
(pin
(output)
(rect 1848 480 2024 496)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "nSBclk" (rect 90 0 124 12)(font "Arial" ))
(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 2032 480 2080 496))
)
(pin
(output)
(rect 1848 464 2024 480)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SBclk" (rect 90 0 118 12)(font "Arial" ))
(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 2032 464 2080 480))
)
(pin
(output)
(rect 1848 600 2024 616)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "nSBdataout" (rect 90 0 146 12)(font "Arial" ))
(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 2032 600 2080 616))
)
(pin
(output)
(rect 1848 584 2024 600)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "SBdataout" (rect 90 0 140 12)(font "Arial" ))
(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 2032 584 2080 600))
)
(pin
(output)
(rect 1840 -8 2016 8)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DIR7" (rect 90 0 115 12)(font "Arial" ))
(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 2024 -8 2072 8))
)
(pin
(output)
(rect 1840 40 2016 56)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DIR9" (rect 90 0 115 12)(font "Arial" ))
(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 2024 40 2072 56))
)
(pin
(output)
(rect 1840 8 2016 24)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DIR8" (rect 90 0 115 12)(font "Arial" ))
(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 2024 8 2072 24))
)
(pin
(output)
(rect 1848 1456 2024 1472)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Interrupt" (rect 90 0 131 12)(font "Arial" ))
(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 2032 1456 2088 1472))
)
(pin
(output)
(rect 1848 1440 2024 1456)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "TK[31..0]" (rect 90 0 134 12)(font "Arial" ))
(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 2096 984 2144 1440))
)
Откорректировал блок памяти RAM для возможной работы с двумя устройствами одновременно. Одно из них - внешний контроллер. Вторым будет блок сбора информации для обновления данных. Сейчас в блоке памяти нет взаимной блокировки для двух независимых процессов и, существует возможность записать в одну и ту же ячейку памяти в один и тот же момент времени разные значения. В нашем проекте поскольку дальше будет введено ограничение, которое обяжет писать служебные и критические (напрямую участвующие в алгоритмах работы преобразователем частоты) данные только в определенные заранее известные регистры, такое невозможно. Память на уровне использования программистом будет поделена две области. Ту, в которую можно писать и считать записанное значение и ту, из которой можно будет только считать значения. Со стороны устройства будут использованы для записи только те ячейки, которые процессор будет только читать. Со стороны процессора будут использованы для записи только те ячейки, которые блоки внутри устройства будут только читать.
2024-03-04 18:16:35 +03:00
(pin
(bidir)
(rect 1840 280 2016 296)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "Data[7..0]" (rect 122 0 171 12)(font "Arial" ))
(pt 0 8)
Откорректировал блок памяти RAM для возможной работы с двумя устройствами одновременно. Одно из них - внешний контроллер. Вторым будет блок сбора информации для обновления данных. Сейчас в блоке памяти нет взаимной блокировки для двух независимых процессов и, существует возможность записать в одну и ту же ячейку памяти в один и тот же момент времени разные значения. В нашем проекте поскольку дальше будет введено ограничение, которое обяжет писать служебные и критические (напрямую участвующие в алгоритмах работы преобразователем частоты) данные только в определенные заранее известные регистры, такое невозможно. Память на уровне использования программистом будет поделена две области. Ту, в которую можно писать и считать записанное значение и ту, из которой можно будет только считать значения. Со стороны устройства будут использованы для записи только те ячейки, которые процессор будет только читать. Со стороны процессора будут использованы для записи только те ячейки, которые блоки внутри устройства будут только читать.
2024-03-04 18:16:35 +03:00
(drawing
(line (pt 56 4)(pt 78 4))
(line (pt 0 8)(pt 52 8))
(line (pt 56 12)(pt 78 12))
(line (pt 78 4)(pt 82 8))
(line (pt 78 12)(pt 82 8))
(line (pt 56 4)(pt 52 8))
(line (pt 52 8)(pt 56 12))
)
(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 2024 168 2080 280))
)
(pin
(bidir)
(rect 1848 952 2024 968)
(text "BIDIR" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "PBdata[15..0]" (rect 90 0 157 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 56 4)(pt 78 4))
(line (pt 0 8)(pt 52 8))
(line (pt 56 12)(pt 78 12))
(line (pt 78 4)(pt 82 8))
(line (pt 78 12)(pt 82 8))
(line (pt 56 4)(pt 52 8))
(line (pt 52 8)(pt 56 12))
)
(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 2032 968 2080 1200))
Откорректировал блок памяти RAM для возможной работы с двумя устройствами одновременно. Одно из них - внешний контроллер. Вторым будет блок сбора информации для обновления данных. Сейчас в блоке памяти нет взаимной блокировки для двух независимых процессов и, существует возможность записать в одну и ту же ячейку памяти в один и тот же момент времени разные значения. В нашем проекте поскольку дальше будет введено ограничение, которое обяжет писать служебные и критические (напрямую участвующие в алгоритмах работы преобразователем частоты) данные только в определенные заранее известные регистры, такое невозможно. Память на уровне использования программистом будет поделена две области. Ту, в которую можно писать и считать записанное значение и ту, из которой можно будет только считать значения. Со стороны устройства будут использованы для записи только те ячейки, которые процессор будет только читать. Со стороны процессора будут использованы для записи только те ячейки, которые блоки внутри устройства будут только читать.
2024-03-04 18:16:35 +03:00
)
(symbol
(rect 704 88 856 200)
(text "AlteraPLL" (rect 5 0 52 12)(font "Arial" ))
(text "inst" (rect 8 96 25 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "areset" (rect 0 0 30 12)(font "Arial" ))
(text "areset" (rect 21 27 51 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "inclk0" (rect 0 0 28 12)(font "Arial" ))
(text "inclk0" (rect 21 43 49 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 152 32)
(output)
(text "c0" (rect 0 0 11 12)(font "Arial" ))
(text "c0" (rect 122 27 133 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32))
)
(port
(pt 152 48)
(output)
(text "c1" (rect 0 0 11 12)(font "Arial" ))
(text "c1" (rect 122 43 133 55)(font "Arial" ))
(line (pt 152 48)(pt 136 48))
)
(port
(pt 152 64)
(output)
(text "locked" (rect 0 0 31 12)(font "Arial" ))
(text "locked" (rect 105 59 136 71)(font "Arial" ))
(line (pt 152 64)(pt 136 64))
)
(drawing
(rectangle (rect 16 16 136 96))
)
)
(symbol
(rect 704 0 824 80)
(text "LedBlink" (rect 5 0 46 12)(font "Arial" ))
(text "inst2" (rect 8 64 31 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 120 32)
(output)
(text "led" (rect 0 0 14 12)(font "Arial" ))
(text "led" (rect 88 27 102 39)(font "Arial" ))
(line (pt 120 32)(pt 104 32))
)
(drawing
(rectangle (rect 16 16 104 64))
)
)
(symbol
(rect 472 136 504 168)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "inst8" (rect 3 21 26 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0))
)
(drawing
(line (pt 8 8)(pt 16 16))
(line (pt 16 16)(pt 24 8))
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1040 544 1368 688)
(text "RAM9X8_SerialBusMaster" (rect 5 0 131 12)(font "Arial" ))
(text "inst4" (rect 8 128 31 140)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "address[address_bus_width-1..0]" (rect 0 0 161 12)(font "Arial" ))
(text "address[address_bus_width-1..0]" (rect 21 43 182 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "we" (rect 0 0 12 12)(font "Arial" ))
(text "we" (rect 21 59 33 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "oe" (rect 0 0 11 12)(font "Arial" ))
(text "oe" (rect 21 75 32 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "ce" (rect 0 0 11 12)(font "Arial" ))
(text "ce" (rect 21 91 32 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "sbdatain" (rect 0 0 41 12)(font "Arial" ))
(text "sbdatain" (rect 21 107 62 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 328 48)
(output)
(text "sbclk" (rect 0 0 25 12)(font "Arial" ))
(text "sbclk" (rect 286 43 311 55)(font "Arial" ))
(line (pt 328 48)(pt 312 48))
)
(port
(pt 328 64)
(output)
(text "sbdataout" (rect 0 0 48 12)(font "Arial" ))
(text "sbdataout" (rect 267 59 315 71)(font "Arial" ))
(line (pt 328 64)(pt 312 64))
)
(port
(pt 328 32)
(bidir)
(text "data[data_bus_width-1..0]" (rect 0 0 126 12)(font "Arial" ))
(text "data[data_bus_width-1..0]" (rect 208 27 334 39)(font "Arial" ))
(line (pt 328 32)(pt 312 32)(line_width 3))
)
(parameter
"REG_ADDR_DATA_UPPER_BYTE"
"0"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_DATA_LOWER_BYTE"
"1"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CMD_UPPER_BYTE"
"2"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CMD_LOWER_BYTE"
"3"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CONTROL_UPPER_BYTE"
"4"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CONTROL_LOWER_BYTE"
"5"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"DATA_BUS_WIDTH"
"8"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"ADDRESS_BUS_WIDTH"
"9"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 312 128))
)
(annotation_block (parameter)(rect 1040 416 1360 544))
)
(symbol
(rect 1040 256 1368 368)
(text "RAM" (rect 5 0 28 12)(font "Arial" ))
(text "inst1" (rect 8 96 31 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "address[address_bus_width-1..0]" (rect 0 0 161 12)(font "Arial" ))
(text "address[address_bus_width-1..0]" (rect 21 27 182 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "we" (rect 0 0 12 12)(font "Arial" ))
(text "we" (rect 21 43 33 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "oe" (rect 0 0 11 12)(font "Arial" ))
(text "oe" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "ce" (rect 0 0 11 12)(font "Arial" ))
(text "ce" (rect 21 75 32 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 328 32)
(bidir)
(text "data[data_bus_width-1..0]" (rect 0 0 126 12)(font "Arial" ))
(text "data[data_bus_width-1..0]" (rect 208 27 334 39)(font "Arial" ))
(line (pt 328 32)(pt 312 32)(line_width 3))
)
(parameter
"DATA_BUS_WIDTH"
"8"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"ADDRESS_BUS_WIDTH"
"9"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 312 96))
)
(annotation_block (parameter)(rect 1040 208 1280 256))
)
(symbol
(rect 1040 864 1368 1008)
(text "RAM9X8_ParallelBusMaster" (rect 5 0 139 12)(font "Arial" ))
(text "inst7" (rect 8 128 31 140)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "address[address_bus_width-1..0]" (rect 0 0 161 12)(font "Arial" ))
(text "address[address_bus_width-1..0]" (rect 21 43 182 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "we" (rect 0 0 12 12)(font "Arial" ))
(text "we" (rect 21 59 33 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "oe" (rect 0 0 11 12)(font "Arial" ))
(text "oe" (rect 21 75 32 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "ce" (rect 0 0 11 12)(font "Arial" ))
(text "ce" (rect 21 91 32 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "pback" (rect 0 0 29 12)(font "Arial" ))
(text "pback" (rect 21 107 50 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 328 48)
(output)
(text "pbclk" (rect 0 0 25 12)(font "Arial" ))
(text "pbclk" (rect 286 43 311 55)(font "Arial" ))
(line (pt 328 48)(pt 312 48))
)
(port
(pt 328 64)
(output)
(text "pbce" (rect 0 0 23 12)(font "Arial" ))
(text "pbce" (rect 288 59 311 71)(font "Arial" ))
(line (pt 328 64)(pt 312 64))
)
(port
(pt 328 80)
(output)
(text "pbdir[1..0]" (rect 0 0 49 12)(font "Arial" ))
(text "pbdir[1..0]" (rect 266 75 315 87)(font "Arial" ))
(line (pt 328 80)(pt 312 80)(line_width 3))
)
(port
(pt 328 32)
(bidir)
(text "data[data_bus_width-1..0]" (rect 0 0 126 12)(font "Arial" ))
(text "data[data_bus_width-1..0]" (rect 208 27 334 39)(font "Arial" ))
(line (pt 328 32)(pt 312 32)(line_width 3))
)
(port
(pt 328 96)
(bidir)
(text "pbdata[15..0]" (rect 0 0 64 12)(font "Arial" ))
(text "pbdata[15..0]" (rect 258 91 322 103)(font "Arial" ))
(line (pt 328 96)(pt 312 96)(line_width 3))
)
(parameter
"REG_ADDR_FIRST_FREE_UPPER_BYTE"
"6"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_FIRST_FREE_LOWER_BYTE"
"7"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CMD_UPPER_BYTE"
"8"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CMD_LOWER_BYTE"
"9"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_FILL_ADDRESS_SPACE_UPPER_BYTE"
"10"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_FILL_ADDRESS_SPACE_LOWER_BYTE"
"11"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CONTROL_UPPER_BYTE"
"12"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CONTROL_LOWER_BYTE"
"13"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"ARRAY_LENGTH"
"128"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"DATA_BUS_WIDTH"
"8"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"ADDRESS_BUS_WIDTH"
"9"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 312 128))
)
(annotation_block (parameter)(rect 1024 696 1408 864))
)
(symbol
(rect 1696 80 1728 112)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "inst9" (rect 3 21 26 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0))
)
(drawing
(line (pt 8 8)(pt 16 16))
(line (pt 16 16)(pt 24 8))
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1728 -136 1760 -120)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst10" (rect 3 5 32 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1592 440 1736 552)
(text "DigitalInversion" (rect 5 0 81 12)(font "Arial" ))
(text "inst11" (rect 8 96 37 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "input" (rect 0 0 23 12)(font "Arial" ))
(text "input" (rect 21 43 44 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "ce" (rect 0 0 11 12)(font "Arial" ))
(text "ce" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 144 32)
(output)
(text "output" (rect 0 0 30 12)(font "Arial" ))
(text "output" (rect 98 27 128 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32))
)
(port
(pt 144 48)
(output)
(text "noutput" (rect 0 0 36 12)(font "Arial" ))
(text "noutput" (rect 93 43 129 55)(font "Arial" ))
(line (pt 144 48)(pt 128 48))
)
(drawing
(rectangle (rect 16 16 128 96))
)
)
(symbol
(rect 1592 560 1736 672)
(text "DigitalInversion" (rect 5 0 81 12)(font "Arial" ))
(text "inst12" (rect 8 96 37 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "input" (rect 0 0 23 12)(font "Arial" ))
(text "input" (rect 21 43 44 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "ce" (rect 0 0 11 12)(font "Arial" ))
(text "ce" (rect 21 59 32 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 144 32)
(output)
(text "output" (rect 0 0 30 12)(font "Arial" ))
(text "output" (rect 98 27 128 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32))
)
(port
(pt 144 48)
(output)
(text "noutput" (rect 0 0 36 12)(font "Arial" ))
(text "noutput" (rect 93 43 129 55)(font "Arial" ))
(line (pt 144 48)(pt 128 48))
)
(drawing
(rectangle (rect 16 16 128 96))
)
)
(symbol
(rect 1552 408 1584 424)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst13" (rect 3 5 32 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1696 -136 1728 -120)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst14" (rect 3 5 32 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 704 208 936 336)
(text "DigitalFilterBlock" (rect 5 0 95 14)(font "Arial" (font_size 8)))
(text "inst3" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "clk" (rect 21 27 36 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "cein" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "cein" (rect 21 43 44 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "oein" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "oein" (rect 21 59 44 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "wein" (rect 0 0 28 14)(font "Arial" (font_size 8)))
(text "wein" (rect 21 75 49 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "addressin[8..0]" (rect 0 0 84 14)(font "Arial" (font_size 8)))
(text "addressin[8..0]" (rect 21 91 105 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 232 32)
(output)
(text "ceout" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "ceout" (rect 180 27 211 41)(font "Arial" (font_size 8)))
(line (pt 232 32)(pt 216 32))
)
(port
(pt 232 48)
(output)
(text "oeout" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "oeout" (rect 180 43 211 57)(font "Arial" (font_size 8)))
(line (pt 232 48)(pt 216 48))
)
(port
(pt 232 64)
(output)
(text "weout" (rect 0 0 36 14)(font "Arial" (font_size 8)))
(text "weout" (rect 175 59 211 73)(font "Arial" (font_size 8)))
(line (pt 232 64)(pt 216 64))
)
(port
(pt 232 80)
(output)
(text "addressout[8..0]" (rect 0 0 93 14)(font "Arial" (font_size 8)))
(text "addressout[8..0]" (rect 118 75 211 89)(font "Arial" (font_size 8)))
(line (pt 232 80)(pt 216 80)(line_width 3))
)
(drawing
(rectangle (rect 16 16 216 112))
)
)
(symbol
(rect 712 624 808 720)
(text "DigitalFilterBlockSingle" (rect 5 0 130 14)(font "Arial" (font_size 8)))
(text "inst5" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "d" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "d" (rect 21 27 28 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "clk" (rect 21 43 36 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 96 32)
(output)
(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "q" (rect 68 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32))
)
(drawing
(rectangle (rect 16 16 80 80))
)
)
(symbol
(rect 712 944 808 1040)
(text "DigitalFilterBlockSingle" (rect 5 0 130 14)(font "Arial" (font_size 8)))
(text "inst6" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "d" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "d" (rect 21 27 28 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "clk" (rect 21 43 36 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 96 32)
(output)
(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "q" (rect 68 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32))
)
(drawing
(rectangle (rect 16 16 80 80))
)
)
(symbol
(rect 736 1480 864 1576)
(text "DigitalFilterBlock6" (rect 5 0 102 14)(font "Arial" (font_size 8)))
(text "inst17" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "clk" (rect 21 27 36 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "d[5..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "d[5..0]" (rect 21 43 56 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 128 32)
(output)
(text "q[5..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[5..0]" (rect 72 27 107 41)(font "Arial" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 112 80))
)
)
(symbol
(rect 896 1480 928 1496)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst18" (rect 3 5 32 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 1048 1400 1376 1576)
(text "RAM9X8_PWM" (rect 5 0 78 12)(font "Arial" ))
(text "inst15" (rect 8 160 37 172)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "address[address_bus_width-1..0]" (rect 0 0 161 12)(font "Arial" ))
(text "address[address_bus_width-1..0]" (rect 21 43 182 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "we" (rect 0 0 12 12)(font "Arial" ))
(text "we" (rect 21 59 33 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "oe" (rect 0 0 11 12)(font "Arial" ))
(text "oe" (rect 21 75 32 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "ce" (rect 0 0 11 12)(font "Arial" ))
(text "ce" (rect 21 91 32 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "pwm[5..0]" (rect 0 0 48 12)(font "Arial" ))
(text "pwm[5..0]" (rect 21 107 69 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "error" (rect 0 0 22 12)(font "Arial" ))
(text "error" (rect 21 123 43 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128))
)
(port
(pt 328 48)
(output)
(text "tk[31..0]" (rect 0 0 41 12)(font "Arial" ))
(text "tk[31..0]" (rect 273 43 307 55)(font "Arial" ))
(line (pt 328 48)(pt 312 48)(line_width 3))
)
(port
(pt 328 64)
(output)
(text "interrupt" (rect 0 0 40 12)(font "Arial" ))
(text "interrupt" (rect 274 59 307 71)(font "Arial" ))
(line (pt 328 64)(pt 312 64))
)
(port
(pt 328 32)
(bidir)
(text "data[data_bus_width-1..0]" (rect 0 0 126 12)(font "Arial" ))
(text "data[data_bus_width-1..0]" (rect 208 27 334 39)(font "Arial" ))
(line (pt 328 32)(pt 312 32)(line_width 3))
)
(parameter
"REG_ADDR_MODE_CONTROL_UPPER_BYTE"
"14"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_MODE_CONTROL_LOWER_BYTE"
"15"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_MASK_2_UPPER_BYTE"
"16"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_MASK_2_LOWER_BYTE"
"17"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_MASK_1_UPPER_BYTE"
"18"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_MASK_1_LOWER_BYTE"
"19"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_DIRECT_CONTROL_2_UPPER_BYTE"
"20"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_DIRECT_CONTROL_2_LOWER_BYTE"
"21"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_DIRECT_CONTROL_1_UPPER_BYTE"
"22"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_DIRECT_CONTROL_1_LOWER_BYTE"
"23"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_PERIOD_UPPER_BYTE"
"24"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_PERIOD_LOWER_BYTE"
"25"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_DIRECTION_2_UPPER_BYTE"
"26"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_DIRECTION_2_LOWER_BYTE"
"27"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_DIRECTION_1_UPPER_BYTE"
"28"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_DIRECTION_1_LOWER_BYTE"
"29"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CHANNEL_UPPER_BYTE"
"30"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CHANNEL_LOWER_BYTE"
"31"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_TIMING_UPPER_BYTE"
"32"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_TIMING_LOWER_BYTE"
"33"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CMD_UPPER_BYTE"
"34"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CMD_LOWER_BYTE"
"35"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CONTROL_UPPER_BYTE"
"36"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"REG_ADDR_CONTROL_LOWER_BYTE"
"37"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"DATA_BUS_WIDTH"
"8"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"ADDRESS_BUS_WIDTH"
"9"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 312 160))
)
(annotation_block (parameter)(rect 1024 1016 1400 1400))
)
(connector
(pt 488 136)
(pt 488 120)
)
(connector
(pt 488 120)
(pt 704 120)
)
(connector
(pt 608 136)
(pt 704 136)
)
(connector
(pt 544 272)
(pt 704 272)
)
(connector
(pt 544 288)
(pt 704 288)
)
(connector
(pt 704 304)
(pt 544 304)
(bus)
)
(connector
(pt 1040 336)
(pt 952 336)
)
(connector
(pt 936 240)
(pt 952 240)
)
(connector
(pt 936 256)
(pt 968 256)
)
(connector
(pt 1040 320)
(pt 968 320)
)
(connector
(pt 936 272)
(pt 984 272)
)
(connector
(pt 1040 304)
(pt 984 304)
)
(connector
(pt 936 288)
(pt 1000 288)
(bus)
)
(connector
(pt 1000 288)
(pt 1040 288)
(bus)
)
(connector
(pt 984 272)
(pt 984 304)
)
(connector
(pt 704 240)
(pt 680 240)
)
(connector
(pt 952 240)
(pt 952 336)
)
(connector
(pt 968 256)
(pt 968 320)
)
(connector
(pt 680 240)
(pt 680 -16)
)
(connector
(pt 680 -16)
(pt 936 -16)
)
(connector
(pt 608 32)
(pt 608 136)
)
(connector
(pt 1040 576)
(pt 608 576)
)
(connector
(pt 1000 592)
(pt 1040 592)
(bus)
)
(connector
(pt 1040 608)
(pt 984 608)
)
(connector
(pt 1040 624)
(pt 968 624)
)
(connector
(pt 1040 640)
(pt 952 640)
)
(connector
(pt 824 32)
(pt 1840 32)
)
(connector
(pt 1840 288)
(pt 1368 288)
(bus)
)
(connector
(pt 704 256)
(pt 544 256)
)
(connector
(pt 856 136)
(pt 936 136)
)
(connector
(pt 936 -16)
(pt 936 136)
)
(connector
(pt 1368 608)
(pt 1592 608)
)
(connector
(pt 1592 504)
(pt 1568 504)
)
(connector
(pt 1592 624)
(pt 1568 624)
)
(connector
(pt 1568 424)
(pt 1568 504)
)
(connector
(pt 1568 504)
(pt 1568 624)
)
(connector
(pt 1592 592)
(pt 1544 592)
)
(connector
(pt 1592 472)
(pt 1544 472)
)
(connector
(pt 1544 408)
(pt 1544 472)
)
(connector
(pt 1544 472)
(pt 1544 592)
)
(connector
(pt 608 408)
(pt 1544 408)
)
(connector
(pt 608 136)
(pt 608 408)
)
(connector
(pt 608 408)
(pt 608 576)
)
(connector
(pt 1592 488)
(pt 1520 488)
)
(connector
(pt 1368 592)
(pt 1520 592)
)
(connector
(pt 1520 592)
(pt 1520 488)
)
(connector
(pt 1736 592)
(pt 1848 592)
)
(connector
(pt 1736 608)
(pt 1848 608)
)
(connector
(pt 1736 472)
(pt 1848 472)
)
(connector
(pt 1736 488)
(pt 1848 488)
)
(connector
(pt 1744 -16)
(pt 1840 -16)
(bus)
)
(connector
(pt 1744 -120)
(pt 1744 -16)
(bus)
)
(connector
(pt 1712 0)
(pt 1840 0)
)
(connector
(pt 1840 16)
(pt 1712 16)
)
(connector
(pt 1712 -120)
(pt 1712 0)
)
(connector
(pt 1712 0)
(pt 1712 16)
)
(connector
(pt 1840 48)
(pt 1712 48)
)
(connector
(pt 1712 64)
(pt 1840 64)
)
(connector
(pt 1712 48)
(pt 1712 64)
)
(connector
(pt 1712 64)
(pt 1712 80)
)
(connector
(pt 1000 912)
(pt 1040 912)
(bus)
)
(connector
(pt 984 928)
(pt 1040 928)
)
(connector
(pt 968 944)
(pt 1040 944)
)
(connector
(pt 952 960)
(pt 1040 960)
)
(connector
(pt 608 896)
(pt 1040 896)
)
(connector
(pt 1848 912)
(pt 1368 912)
)
(connector
(pt 1848 928)
(pt 1368 928)
)
(connector
(pt 1848 944)
(pt 1368 944)
(bus)
)
(connector
(pt 1848 960)
(pt 1368 960)
(bus)
)
(connector
(pt 1000 288)
(pt 1000 592)
(bus)
)
(connector
(pt 984 304)
(pt 984 608)
)
(connector
(pt 968 320)
(pt 968 624)
)
(connector
(pt 952 336)
(pt 952 640)
)
(connector
(pt 608 656)
(pt 712 656)
)
(connector
(pt 1040 656)
(pt 808 656)
)
(connector
(pt 544 672)
(pt 712 672)
)
(connector
(pt 608 576)
(pt 608 656)
)
(connector
(pt 608 976)
(pt 712 976)
)
(connector
(pt 1040 976)
(pt 808 976)
)
(connector
(pt 536 992)
(pt 712 992)
)
(connector
(pt 608 656)
(pt 608 896)
)
(connector
(pt 608 32)
(pt 704 32)
)
(connector
(pt 544 32)
(pt 608 32)
)
(connector
(pt 608 896)
(pt 608 976)
)
(connector
(pt 736 1512)
(pt 608 1512)
)
(connector
(pt 736 1528)
(pt 536 1528)
(bus)
)
(connector
(pt 608 1432)
(pt 1048 1432)
)
(connector
(pt 1000 1448)
(pt 1048 1448)
(bus)
)
(connector
(pt 984 1464)
(pt 1048 1464)
)
(connector
(pt 968 1480)
(pt 1048 1480)
)
(connector
(pt 952 1496)
(pt 1048 1496)
)
(connector
(pt 1848 1448)
(pt 1376 1448)
(bus)
)
(connector
(pt 1848 1464)
(pt 1376 1464)
)
(connector
(pt 864 1512)
(pt 1048 1512)
(bus)
)
(connector
(pt 912 1528)
(pt 1048 1528)
)
(connector
(pt 912 1496)
(pt 912 1528)
)
(connector
(pt 608 976)
(pt 608 1432)
)
(connector
(pt 608 1432)
(pt 608 1512)
)
(connector
(pt 1000 592)
(pt 1000 912)
(bus)
)
(connector
(pt 1000 912)
(pt 1000 1448)
(bus)
)
(connector
(pt 984 608)
(pt 984 928)
)
(connector
(pt 984 928)
(pt 984 1464)
)
(connector
(pt 968 624)
(pt 968 944)
)
(connector
(pt 968 944)
(pt 968 1480)
)
(connector
(pt 952 640)
(pt 952 960)
)
(connector
(pt 952 960)
(pt 952 1496)
)
(junction (pt 608 32))
(junction (pt 1000 288))
(junction (pt 984 304))
(junction (pt 968 320))
(junction (pt 952 336))
(junction (pt 608 136))
(junction (pt 608 576))
(junction (pt 608 656))
(junction (pt 1000 592))
(junction (pt 984 608))
(junction (pt 968 624))
(junction (pt 952 640))
(junction (pt 608 896))
(junction (pt 1568 504))
(junction (pt 1544 472))
(junction (pt 608 408))
(junction (pt 1712 0))
(junction (pt 1712 64))
(junction (pt 608 976))
(junction (pt 1000 912))
(junction (pt 984 928))
(junction (pt 968 944))
(junction (pt 952 960))
(junction (pt 608 1432))